Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] .htaccess / php / raq2 From: christopher wright (chris <email protected>)
Date: 08/08/99

Hi

I'm having problems making php directives work inside .htaccess files on a
Raq2, and I'm not sure if it's me going wrong or a Raq2 oddity stopping it
working. In any case here's a sample working .htaccess file on the machine:

#Access file
order allow,deny
allow from all
require valid-user
Authname DirectoryName
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /somepath/.htpasswd

Now, I would have thought from what I've read that adding any of the php3_
config directives onto the end of that should make apply those directives
recursively to the directory where this .htaccess file lives, but
unfortunately it just creates an "Internal Server Error".

Do the directives have to be included in some special format in the
.htaccess file? Has anyone else got this to work on a Raq2? No problems
inside the httpd.conf file, works a treat there.

Any inspiration would be most appreciated!

Best Regards

Christopher Wright
Still in London, now drizzly..

Wonderstore Developments Ltd
T.F. +44 171 6811870
www.wonderstore.com
creators of www.sometimefriday.com

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>