httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] RewriteRule/Cond Assistance
Date Tue, 17 Jul 2007 02:14:31 GMT
On 7/16/07, Mike @ Levrah <sid_apache@levrah.net> wrote:

> ##################################################
> RewriteRule ^/index.mv [L]      #       Don't affect main index
> RewriteRule ^/admin [L]         #       Don't affect /admin directory
> RewriteRule ^/gallery [L]       #       Don't affect /gallery directory
> RewriteRule ^/support [L]       #       Don't affect /support directory
> RewriteRule ^/(.+) /index.mv?$1         #       Send all other
> requests to index with directory_name as arg of index
>
> Here's the relevant part of the error_log:
>
> [Mon Jul 16 20:46:16 2007] [alert] [client <IP>]
> /home/httpd/vhosts/blah.com/httpdocs/.htaccess: RewriteRule: bad flag
> delimiters, referer: http://www.blah.com/webfinds/index.mv

You're still missing the dash in place of the substitution string that
tells mod_rewrite not to do any rewriting for that URL. Plus, you
can't use end-of-line comments in apache config files.

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


Mime
View raw message