Hello Waitman, Does this work in the per directory .htaccess?
If so I'm wondering does this allow for secure connections with script files, if directed with the proper rewrite matches, to an address like: http://boysenberrys.com/section/Portfolio where the .htaccess files rewrites it as thus: RewriteEngine on RewriteRule ^(.*)section/(.*)$ https://www.boysenberrys.com/index.php?data=$2 What I'm tring to accomplish is readable URL translation for Search Engines, etc. with OpenSSL allowing for secure transaction and the like. My understanding was mod_rewrite didn't work with https: addresses. At least that was the impression I got from my Host when I asked them why mod_rewrite wasn't working with a third party certificate I was trying to on a previous client's site. Sunday, July 20, 2003, 1:03:03 AM, you wrote: WCGI> Hello WCGI> I use rewrite (apache) on sites without any C hack. Perhaps I am WCGI> mis-understanding your question. WCGI> Here is an example config that I have had previously in production: WCGI> # secure.alleratin.com WCGI> <VirtualHost 68.165.182.43:443> WCGI> ServerAdmin [EMAIL PROTECTED] WCGI> DocumentRoot /www/web/a/alleratin/html WCGI> ServerName secure.alleratin.com WCGI> ErrorLog /var/log/www/ssl-alleratin-error_log WCGI> CustomLog /var/log/www/ssl-alleratin-access_log combined WCGI> RewriteEngine on WCGI> RewriteCond %{REQUEST_URI} ^/(.+)\.html$ WCGI> RewriteRule ^/(.+)\.html$ /index.php?page=$1 WCGI> SSLEngine on WCGI> SSLCipherSuite WCGI> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL WCGI> SSLCertificateFile WCGI> /home/certificates/secure.alleratin/secure.alleratin.com.crt WCGI> SSLCertificateKeyFile WCGI> /home/certificates/secure.alleratin/free.key WCGI> <Files ~ "\.(cgi|shtml|phtml|php)$"> WCGI> SSLOptions +StdEnvVars WCGI> </Files> WCGI> <Directory "/www/web/a/alleratin/html"> WCGI> Options none WCGI> AllowOverride none WCGI> Order allow,deny WCGI> Allow from all WCGI> DirectoryIndex index.php WCGI> ErrorDocument 404 WCGI> https://secure.alleratin.com/index.php?page=404 WCGI> </Directory> WCGI> SetEnvIf User-Agent ".*MSIE.*" \ WCGI> nokeepalive ssl-unclean-shutdown \ WCGI> downgrade-1.0 force-response-1.0 WCGI> CustomLog /var/logs/www/ssl2_request_log \ WCGI> "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" WCGI> </VirtualHost> WCGI> </IfDefine> WCGI> Waitman Gobble WCGI> EMK Design WCGI> Telephone (714) 522-2528 WCGI> Toll Free (877) 290-2768 WCGI> http://emkdesign.com WCGI> ....................................... -- Best regards, Boysenberry mailto:[EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]