Hello all,

While doing a little testing with apache based authentication, I noticed
a little problem I wanted to report.  It does not seem to exist in 2.0b5, 
but does happen in 2.0b7.

Quick server stats:
  Apache 1.3.22
  perl 5.6.1
  mod_perl 1.26

Using 'Basic' Authentication (via a file) according to the following:
  AuthUserFile /path/to/somewhere/.htpasswd
  AuthName TestAuth
  AuthType Basic
  <Limit GET>
  require valid-user
  </Limit>

Without any authentication, the embperl code works under both versions.

Placing this in a '.htaccess' file and allowing these files to override 
the necessary configs:
  no embperl -- works as expected
  2.0b5 -- works as expected.
  2.0b7 -- Apache Segfaults.
           Initially, I get the usual 401 Auth Required, but after
           providing a successful user/pass pair, it segfaults.
           No info in embperl.log (EMBPERL_DEBUG 10477), and the browser
           just reports no data. 

Adding this to the httpd.conf file in a 'Location' block (with all the
Embperl configs) and disabling the .htaccess files:
  no embperl -- works as expected
  2.0b5 -- works as expected.
  2.0b7 -- also works as expected (no more segfault)

When I leave the '.htaccess' files enabled in the httpd.conf, but
actually remove the '.htaccess' file -- 2.0b7 does not work either.

Nothing too terrible, as there is an acceptable work around and I do not
like to use .htaccess files for production, but I thought it might be
helpful to note.  

Cameron


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to