Re: [users@httpd] Require SSL only for an individual file

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

 



On 2/4/06, Marc Serra <nandelbosc@xxxxxxxx> wrote:
> Thanks for a reply joshua.
>
> Really? And can you give me an example of this?
>
> For a directory that requires SSL:
>
> <Directory "/var/www/localhost/htdocs/ssl">
>        SSLRequireSSL
>        AllowOverride AuthConfig
> </Directory>
>
>
> But for a file? Does would you mean?:
> <File> "/var/www/localhost/htdocs/ssl/file.under.ssl.html">
>        SSLRequireSSL
>        AllowOverride AuthConfig
> </File>

I hate to be snide, but why are you guessing when you could simply
read the documentation:
http://httpd.apache.org/docs/2.2/mod/core.html#files
http://httpd.apache.org/docs/2.2/sections.html#file-and-web

Joshua.

---------------------------------------------------------------------
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



[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