Re: ReWrite Rule help required

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

 



Hi,

If your https host is not accessible directly, then do you have a
virtualhost seted up listening on 443?

Gabriel


                                                                           
             "Lalit Kapoor"                                                
             <lalitp111@gmail.                                             
             com>                                                       To 
                                       users@xxxxxxxxxxxxxxxx              
             20/06/2007 03:56                                           cc 
             PM                                                            
                                                                   Subject 
                                        ReWrite Rule help     
             Please respond to         required                            
             users@xxxxxxxxxxx                                             
                   e.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           




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

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