I hate to ask this because I scoured the mail list archives and it is all over
the place, yet none of those solutions seem to work.

Situation:
standard - need to forward request to http --> https

Problem: My config for rewrite tests OK but the directives seem to be ignored.

mod_rewrite is loaded, no errors on restart.

Here is the relevent portion of the httpd.conf.

Tried directory first.

<Directory "/home/httpd/cgi-bin/opensrs">
    Options SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    RewriteEngine on
    RewriteRule ^/(.*) https://www.secure.tconline.net/cgi-bin/opensrs$1 [R]
#    RewriteRule ^/$ https://www.secure.tconline.net/cgi-bin/opensrs/ [R]
</Directory>

I tried it like this when I couldn't get the directory to work

<VirtualHost 207.205.74.251>
    RewriteEngine on
    RewriteRule ^/(.*) https://www.secure.tconline.net/cgi-bin/opensrs$1 [R]
#   RewriteRule ^/$ https://www.secure.tconline.net/$1 [R]
</VirtualHost>

Again, sorry if this is stupid but I have been at this for about three days,
trying things from the archives without succes. Any help is appreciated.
--
Lewis Bergman
Texas Communications
4309 Maple St.
Abilene, TX 79602
915-695-6962
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to