Re: ssl - force ssl per directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You are specifying a file in your redirect. My documentation states:

Syntax: Redirect [status] URL-path URL
The old URL-path is a (%-decoded) path beginning with a slash. A relative path is not allowed.

On 12/12/06, Nathan Kellogg <apache@xxxxxxxxxxxxxx> wrote:
We have open ssl running fine on Apache 2.2.3.

A separate virtual host is defined for both the :80 port and for :443

In order that the .../secure/... directory be handled exclusively by the
SSL host, we have :

in the :80 vhost :

Redirect permanent c:/orcourt/htdocs/secure
https://www.orcourtsonline.com/htdocs/secure

and in the :443 vhost :

<Directory c:/orcourt/htdocs/secure/>

SSLRequireSSL

</Directory>


~~~~~~~~~~~~~~~~~~~~~

The problem is that requests for
http://www.orcourtsonline.com/secure/*   still get handled by the :80 host.

What am I doing wrong here?


btw - this cant be tested form outside.


---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Steve Swift
http://www.swiftys.org.uk
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux