httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <supp...@gej-it.com>
Subject RE: [users@httpd] Configuring Apache (RewriteRule and ScriptAliasMatch)
Date Tue, 22 Jul 2003 00:48:35 GMT
Also to make sure there's no .htaccess file denying you from ExecCGI do:

*note the AllowOverride None in the directory directive.

<VirtualHost 216.93.187.217>
ServerName jonlim.no-ip.com
ScriptAlias /blog/movable/ /home/nidelven/apache/jonagustine_lim/movable/
RewriteEngine On
  RewriteRule ^/albums(.*) /home/nidelven/apache/jonagustine_lim/albums/$1
[L]
  RewriteRule ^/gallery(.*) /home/nidelven/apache/jonagustine_lim/gallery/$1
[L]
  RewriteRule ^/blog(.*) /home/nidelven/apache/jonagustine_lim$1 [L]
  RewriteRule ^/(.*)
http://216.93.187.217:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P]
</VirtualHost>
<Directory "/home/nidelven/apache/jonagustine_lim/movable">
Options +ExecCgi -Indexes
AllowOverride None
AddHandler cgi-script .cgi .pl
Allow from all
</Directory>

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: Joshua Slive [mailto:joshua@slive.ca]
> Sent: Monday, July 21, 2003 8:30 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Configuring Apache (RewriteRule and
> ScriptAliasMatch)
> 
> 
> On Tue, 22 Jul 2003, Morten W. Petersen wrote:
> > The error log says:
> >
> > [Mon Jul 21 16:46:06 2003] [error] [client 80.202.17.36] Options ExecCGI
> > is off in this directory:
> > /home/nidelven/apache/jonagustine_lim/movable/mt.cgi
> 
> > <Directory "/home/nidelven/apache/jonagustine_lim/movable">
> > Options +ExecCgi -Indexes
> 
> > </Directory>
> 
> Apache doesn't lie here.  If it says ExecCGI is off, then it probably is.
> So here are some things to try:
> 
> 1. Look through your config file for other Options directives that may be
> applying to this directory, and make sure they include ExecCGI.
> 
> 2. Make sure you are modifying the correct config file and restarting the
> server after making config changes.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message