You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tushar Chavan <tu...@hotmail.com> on 2010/10/19 07:48:27 UTC
[users@httpd] mod_rewrite is not working
Hi Experts,
In my case mod_rewrite is not working. Below is the case.
Url https://srmdevarp02.domain/sap(bD1lbiZjPTExNiZwPTMyODMxJnY9NyUyZTAxMDYmaT0xJnM9U0lEJTNhQU5PTiUzYXNybWRldl9TRURfMDAlM2FGc3U4REN3TDVnckM1LWpGWXBfSlUyTWlQV3hENmM4VnRhbkdsU0xWLUFUVA==)/bc/bsp/sap/ros_prescreen/main.do
Should be re-directed to http://srmdev.domain/sap(bD1lbiZjPTExNiZwPTMyODMxJnY9NyUyZTAxMDYmaT0xJnM9U0lEJTNhQU5PTiUzYXNybWRldl9TRURfMDAlM2FGc3U4REN3TDVnckM1LWpGWXBfSlUyTWlQV3hENmM4VnRhbkdsU0xWLUFUVA
Below are the entried in httpd.conf file.
RewriteEngine on
RewriteCond %{HTTPS} =on
RewriteRule ^/(sap\(.*) http://srmdev.kjo.com.sa:8000/sap($1 [P,L]
RewriteRule ^/sap http://srmdev.kjo.com.sa:8000/sap/$1 [P,L]
am I missing something ?
Best Regards,
Tushar.
Re: [users@httpd] mod_rewrite is not working
Posted by Joost de Heer <jo...@sanguis.xs4all.nl>.
On Tue, October 19, 2010 07:48, Tushar Chavan wrote:
> RewriteRule ^/(sap\(.*) http://srmdev.kjo.com.sa:8000/sap($1 [P,L]
You have a missing (
RewriteRule ^/sap\((.*) http://srmdev.kjo.com.sa:8000/sap($1 [P,L]
Hint: RewriteLog and RewriteLogLevel
Joost
---------------------------------------------------------------------
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