[users@httpd] Clarification on RewriteRule

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

 



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