httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajkumar s <rajkumars...@gmail.com>
Subject [users@httpd] Clarification on RewriteRule
Date Sat, 12 Mar 2005 20:03:44 GMT
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>

When i enter "rosaonline.org" in the browser ,it's getting rewritten

My Task is that when i enter the url www.whatsonchennai.com in the
browser , the url should be rewritten by displaying the contents of
www.whatsonchennai.com:8080/ , but it should inturn return the display
the url as www.whatsonchennai.com.

Kindly help me out , i can't understand the examples from url rewriting guide.

Will this above rule can be modified to achieve this task. It's very Urgent.

Thanks in Advance,

Sincerely,
S.Rajkumar

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