hi,

How can i implement this in my site.


i wanna to redirect the different url when  port 443(https) is is occur in
the url through htaccess.


We have recently switched to Drupal from a proprietary content management
system for a lot of client projects. Shared SSL support is a big cost saver
for clients, and our old system dealt with it fairly elegantly. The tricky
part from a mod_rewrite perspective is the fact that you can't have more
than one RewriteBase. However I was able to get around this by stripping the
base if the port is 80. This should help, but true, robust secure pages
support in Drupal may require core changes...
# ALL EXCEPT SOME FILE EXTENSIONS TO "index.php" FILE.
RewriteBase /shared_ssl_subdir
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule .* index.php

# STRIP THE REWRITEBASE RULE FROM NON-SSL CONNECTIONS.
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} ^/shared_ssl_subdir
RewriteRule .* /index.php




-- 
Lalit Kumar
Software Engg.
Netsolutions
Chandigarh
09888711687

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to