httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lalit Kapoor" <lalitp...@gmail.com>
Subject [users@httpd] ReWrite Rule help required
Date Wed, 20 Jun 2007 19:56:06 GMT
Hi,

We have written Rewrite Rule to direct HTTP traffic to HTTPS page.

It works as : http://sitename.com -----------> https://sitename.com + CA
siteminder login --------->http://sitename.com ( after authentication )

Here is the rule:

**# URL rewrite to redirect access to /entrycheck/login.html from HTTP to
HTTPS.
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} ^/entrycheck/login(.*)$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


But when i am trying to directly access the "https://sitename.com"  it says
" requested page not found on port 443 "
This is what my requirement is:

https://sitename.com -----------> https://sitename.com + CA siteminder login
--------->http://sitename.com ( after authentication )

Please suggest what change/addition are required in above said rewrite rule
to achieve this.

Thanks,
Lalit

Mime
View raw message