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
}
http://192.168.17.165:7777/cs/idcplg?IdcService=GET_DOC_PAGE&Action="">
[R,L]
That should do it.
^/cs/?$ means "starts with /cs, with optionally a slash after that,
and then ends ($ indicates the end of a string match)
--Rich
--
Rich Bowen - rbowen@xxxxxxxxxxx - @rbowen
http://apachecon.com/ - @apachecon