Apache Server configuration support - mod_perl 2.0.1 not authenticating (Apache 2.0.54)

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > December 2005 > mod_perl 2.0.1 not authenticating (Apache 2.0.54)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author mod_perl 2.0.1 not authenticating (Apache 2.0.54)
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>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com