httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <s...@onastick.net>
Subject Re: [users@httpd] Clarification on RewriteRule
Date Sat, 12 Mar 2005 20:15:42 GMT
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@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