Hello I use rewrite (apache) on sites without any C hack. Perhaps I am mis-understanding your question.
Here is an example config that I have had previously in production: # secure.alleratin.com <VirtualHost 68.165.182.43:443> ServerAdmin [EMAIL PROTECTED] DocumentRoot /www/web/a/alleratin/html ServerName secure.alleratin.com ErrorLog /var/log/www/ssl-alleratin-error_log CustomLog /var/log/www/ssl-alleratin-access_log combined RewriteEngine on RewriteCond %{REQUEST_URI} ^/(.+)\.html$ RewriteRule ^/(.+)\.html$ /index.php?page=$1 SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /home/certificates/secure.alleratin/secure.alleratin.com.crt SSLCertificateKeyFile /home/certificates/secure.alleratin/free.key <Files ~ "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </Files> <Directory "/www/web/a/alleratin/html"> Options none AllowOverride none Order allow,deny Allow from all DirectoryIndex index.php ErrorDocument 404 https://secure.alleratin.com/index.php?page=404 </Directory> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog /var/logs/www/ssl2_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> </IfDefine> Waitman Gobble EMK Design Telephone (714) 522-2528 Toll Free (877) 290-2768 http://emkdesign.com ....................................... > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Boysenberry > Sent: Saturday, July 19, 2003 10:32 PM > To: [EMAIL PROTECTED] > Subject: Hoping for instruction for using OpenSSL with > Apache's mod_rewrite > > > Hello openssl-users, > > I'm using mod_rewrite on a managed server offering OpenSSL. > I would like to use them together but remember once before > while trying to use it with Secure Sockets only to be > discouraged by my Web Provider who said it would require a > custom C hack to use them together. At the time I opted for > sticking with the ugly variable in URL approach to > maintaining states through variables on non-cookie enabled > browsers. Now I'm in a situation where I must find a way if > possible to get the two to love each other dearly. I would > like to know where OpenSSL begins to take over in the request > cycle and how I would get URL rewriting/matching to work > using an https: request. > > If I need to modify the request cycle at an earlier place > than .htaccess would it be possible to use Perl to do it > instead of C? If I need to alter or make a file other than a > per directory .htaccess file what would it be? Does anyone > know of good reference material that explains how to do what > I'm wanting to do? > > > > -- > Best regards, > Boysenberry > mailto:[EMAIL PROTECTED] > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]