Paul Cocker wrote:
> Such a setup already exists (though it's Linux to Linux) so I thought
> this would be relatively easy to do, just copy the existing setup.
> People currently connect to http://www.domain.co.uk/folder/login.html
> and all is well. Searching the httpd.conf file I can find only one
> reference to folder, which is:
> 
> <VirtualHost *:80>
>      ServerAdmin [EMAIL PROTECTED]
>      ServerName www.domain.co.uk
>      DocumentRoot /var/www/html/domain
>      RewriteEngine on
>      RewriteRule ^/folder(.+)    https://www.domain.co.uk/folder$1 [R,L]
>      RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
>      RewriteRule .* - [F]
> </VirtualHost>

This is not what you are looking for, I think, the rewrite rule merely
redirect you to an https:// server, so you should have anothere
VirtualHost responding on port 443 (https) that actually does the job.

Davide

-- 
It's ten o'clock. Do you know where your source code is?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to