| Lee Jackson 2005-12-23, 5:59 pm |
| Ive set AllowOveride All 
Ive recently upgraded a new server to SuSE 10 and Apache 2.0.54. In
the process I thought Id get some scripts working under mod_perl
([apache2-mod_perl ver 2.0.1] I think they were previously being
handled just via perl). All the scripts work however I am unable to
get them protected using standard .htaccess directives.
If I navigate to them with a browser with mod_perl enabled the script
executes. If I disable mod_perl I get the standard username/password
dialogue box. Below are the relevent sections of my .htaccess and
apache conf. ANY help appreciated
Many thanks
Lee
..htaccess
-----------------------------------
AuthUserFile /home/site/admin/HTACCESS/ADMINaccess
AuthGroupFile /dev/null
AuthName "CO Administration"
AuthType Basic
Satisfy Any
<Limit GET POST>
order deny,allow
deny from all
require valid-user
</Limit>
------------------------------------
mod_perl.conf (apache)
------------------------------------
<Directory "/home/site/perl">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ScriptAlias /perl/ "/home/site/perl/"
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
PerlOptions +ParseHeaders
Options +ExecCGI
AllowOverride All
Options +ExecCGI -Includes
</Location>
|