Dear sir, I had set the RewriteLogLevel to '9' , But the previous rule haven't worked ,so i modified the rule as <VirtualHost 203.199.200.129> #DocumentRoot /home/domains/whatsonchennai.com/Webdir ServerName www.whatsonchennai.com RewriteEngine on RewriteLog "/var/log/apache/rewrite.log" RewriteLogLevel 9 RewriteRule ^/(.*) http://www.whatsonchennai.com:8080/ </VirtualHost> On applying this rule the thing is getting redirected , ie when i enter the url "www.whatsonchennai.com" it's getting redirected to "www.whatsonchennai.com:8080". But again i find that the url in browsers address bar appears as "www.whatsonchennai.com:8080" but it should instead show up only "www.whatsonchennai.com". Rewrite logs are provided below: 210.214.6.141 - - [13/Mar/2005:14:03:30 +051800] [www.whatsonchennai.com/sid#80e0080][rid#8170fe8/initial] (2) init rewrite engine with requested uri / 210.214.6.141 - - [13/Mar/2005:14:03:30 +051800] [www.whatsonchennai.com/sid#80e0080][rid#8170fe8/initial] (3) applying pattern '^/(.*)' to uri '/' 210.214.6.141 - - [13/Mar/2005:14:03:30 +051800] [www.whatsonchennai.com/sid#80e0080][rid#8170fe8/initial] (2) rewrite / -> http://www.whatsonchennai.com:8080/ 210.214.6.141 - - [13/Mar/2005:14:03:30 +051800] [www.whatsonchennai.com/sid#80e0080][rid#8170fe8/initial] (2) implicitly forcing redirect (rc=302) with http://www.whatsonchennai.com:8080/ 210.214.6.141 - - [13/Mar/2005:14:03:30 +051800] [www.whatsonchennai.com/sid#80e0080][rid#8170fe8/initial] (1) escaping http://www.whatsonchennai.com:8080/ for redirect 210.214.6.141 - - [13/Mar/2005:14:03:30 +051800] [www.whatsonchennai.com/sid#80e0080][rid#8170fe8/initial] (1) redirect to http://www.whatsonchennai.com:8080/ [REDIRECT/302] Sincerely, S.Rajkumar On Sat, 12 Mar 2005 15:15:42 -0500, Noah <sitz@xxxxxxxxxxxx> wrote: > 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