Perrin Harkins wrote:
On Tue, 2006-11-14 at 12:34 -0700, Iván Chavero wrote:
I even changed the PerlAuthenHandler value to a non existent module
(which i think it should give a startup error) and it gets ignored.
That sounds like a config problem to me. I bet you have another
Location block that is applying to the same URL and the merge is
eliminating your Auth settings here. Try removing other Location,
Directory, and Files blocks from your conf file until it starts to run
your handler.
- Perrin
I'm doing tests on a fresh install with one virtual host, here's my
virtualhost config file:
Listen 9443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/usr/local/apache-2.2.3/logs/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLMutex file:/usr/local/apache-2.2.3/logs/ssl_mutex
<VirtualHost 192.168.1.1:9443>
DocumentRoot "/www/imcsk8.example.com/docs"
ServerName imcsk8.example.com:9443
ServerAdmin [EMAIL PROTECTED]
ErrorLog /www/imcsk8.example.com/logs/error_log
TransferLog /www/imcsk8.example.com/logs/access_log
PerlRequire /www/imcsk8.ti.uach.mx/conf/startup.conf
<Directory "/www/imcsk8.example.com/docs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
#I use this Location to check if mod_perl is working
Alias /perl /www/imcsk8.example.com/perl
<Location /perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Location>
Alias /auth /www/imcsk8.example.com/auth
<Location /auth>
AuthName Omni
AuthType Basic
PerlAuthenHandler Omni::Handler::Web
ErrorDocument 403 /login.html
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders +GlobalRequest
Options +ExecCGI
DirectoryIndex index.cgi
require valid-user
</Location>
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile
/usr/local/apache-2.2.3/conf/ssl/imcsk8.example.com-server.crt
SSLCertificateKeyFile
/usr/local/apache-2.2.3/conf/ssl/imcsk8.example.com-server.key
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/usr/local/apache-2.2.3/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /usr/local/apache-2.2.3/logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
--
Iván Chavero
Administrador de Sistemas UNIX
CGTI/DSE
Universidad Autónoma de Chihuahua
[EMAIL PROTECTED]
http://cgti.uach.mx
Tel. 614 439 18 35 ext 1728