Re: [users@httpd] Clarification on RewriteRule

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

 



On Sun, Mar 13, 2005 at 01:33:44AM +0530, Rajkumar s wrote:
> Dear sir,
>             I need to rewrite an url, From one of our server i got
> this VirtualHost information , can anyone explain me what this
> RewriteRule implies.
> 
> <VirtualHost 203.199.69.181>
> ServerName rosaonline.org
> RewriteEngine On
> RewriteLog "/usr/local/apache/logs/rewrite.log"
> RewriteLogLevel 0
> ProxyPass  rotaryindia.net  http://203.199.69.181:8080/
> RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/rosaonline.org:80/
> ROSA/VirtualHostRoot/$1 [P,L]
> </VirtualHost>

Your RewriteLogLevel is currently set to zero; if you set it to, say,
'9', you'll get copious amounts of debugging data in your RewriteLog.
Of course, you'll get this for every request that hits this VirtualHost,
so if it's a high-traffic VirtualHost, this may not be a good idea. In
that case, I'd suggest setting up another Apache instance running on
another port that you can use to play with these configurations and get
better debugging data.

--n

-- 
<huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
<huey> ^^^ Making Flippy Floppy


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