Hello

 

I have a problem with a rewrite. In my httpd.conf I use the following
lines:

 

ScriptAlias /test/ /var/test/cgi-bin/

Alias /pipermail/ /var/test/archives/public/

<Directory /var/test/archives>

        Options +FollowSymlinks

</Directory>

 

RewriteEngine On

RewriteCond %{SERVER_PORT}       ^80$

RewriteRule ^(.+)$ https://server.domain.ch$1 [R]

 

RewriteCond %{REMOTE_HOST} \.domain\.ch$

RewriteRule ^/testtinfo/fea http://another.url.ch/

 

The first RewriteCond maps all request on port 80 to the port 443 an
works fine. But the second RewriteCond has no effect Any idea?

 

Thanks' for any help

 

Pedro

 

Reply via email to