Re: [users@httpd] Re-Post: rewrite backslash to forward slash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



joshua hough <josh@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux