Issue on Redirection in Apache

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

 



Hi,

My apache is successfully configured with invoking http://192.168.17.165:7777/cs website

 

My redirection case :

1) Whenever the URL:  http://192.168.17.165:7777/cs/ is invoked (After '/cs/' there would be nothing) it would be changed to http://192.168.17.165:7777/cs/idcplg?IdcService=GET_DOC_PAGE&Action="">

 

i.e. http://192.168.17.165:7777/cs changes to http://192.168.17.165:7777/cs/idcplg?IdcService=GET_DOC_PAGE&Action="">

 

 

2) But whetever the same URL is invoked with something after '/cs/' it would remain same.

i.e. http://192.168.17.165:7777/cs/index.html changes to http://192.168.17.165:7777/cs/index.html 

 

For this i have done the follwoing configuration in httpd.conf but it does not work.Please help.

{

RewriteEngine On
 
RewriteRule http://192.168.17.165:7777/cs/ http://192.168.17.165:7777/cs/idcplg?IdcService=GET_DOC_PAGE&Action="" [R]
 
RewriteRule http://192.168.17.165:7777/cs http://192.168.17.165:7777/cs/idcplg?IdcService=GET_DOC_PAGE&Action="" [R]
}
 
Regards
Ayaskant
Wipro Infotech Ltd.
 
 

 

 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


[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