httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gifford <sgiff...@suspectclass.com>
Subject Re: [users@httpd] Re-Post: rewrite backslash to forward slash
Date Sun, 17 Apr 2005 18:03:17 GMT
joshua hough <josh@openc.k12.or.us> writes:

> On Saturday, April 16, 2005 10:30 PM -0400 Scott Gifford wrote:
>> This works for me:
>>     RewriteRule ^(.*)\\(.*)$ $1/$2 [R]
>
>
> Thanks.  Seems like it should work, but maybe I'm not doing it right.
> When I turn it on, all requests yield "Internal Server Error."  Should
> this be preceded by a RewriteCond statement?  

Only if you want it to apply to just some requests.

> This is what I have now:
>
> RewriteEngine On
> RewriteRule ^(.*)\\(.*)$ $1/$2 [R]
> RewriteEngine Off

Don't turn the RewriteEngine off.  If you still have problems, check
your error logs, and use RewriteLog and RewriteLogLevel to have
mod_rewrite give better debugging information.

----ScottG.

---------------------------------------------------------------------
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