Re: SSLVerifyClient applies to parent directory

Cuesta Gilles <[email protected]> Thu, 26 Jun 2008 18:02:04 +0200
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
Florian Hackenberger a écrit :
> Hi!
>
> First of all: Thanks for your great software, I've used it on several 
> server and it proved to be very useful.
>
> I have a little problem with the SSLVerifyClient directive on apache 
> 2.2.9 with mod_ssl compiled from source on debian etch. I have the 
> following directory layout:
>
> /usr/local/htdocs/directory/subdirectory
>
> and the following configuration options (besides the defaults) in 
> httpd.conf:
>
> Listen 443
> <VirtualHost *:443>
>         SSLEngine On
>         SSLCertificateFile /etc/apache2/ssl/acoveo.com.pem
>         DocumentRoot "/usr/local/htdocs"
> </VirtualHost>
>
> <Directory /usr/local/htdocs/directory/subdirectory>
>         SSLVerifyClient require
>         SSLVerifyDepth 1
> </Directory>
>
>   

Maybe try this:

Listen 443
<VirtualHost *:443>
        SSLEngine On
        SSLCertificateFile /etc/apache2/ssl/acoveo.com.pem
        DocumentRoot "/usr/local/htdocs"

	<Location /directory/subdirectory>
        	SSLVerifyClient require
	        SSLVerifyDepth 1
	</Location>
</VirtualHost>

-- 
Chuck Norris était champion de CounterStrike avant que l'on n'invente Internet.
Gilles CUESTA - Logiciels Libres
69139920
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIY718545quQSHen8RArftAJ0SrDbOGVTG2yilwczEgGZXrbfg4wCfekuA
iJPnjUVjiBlJKxR617zySpA=
=Davj
-----END PGP SIGNATURE-----