Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

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

Yep, using the module version. I know the Raq2 operates in strange ways
occassionally, so a "normal" htaccess file will also create an internal
server error; as does adding any php3_ directives to the one below {which
works as it is}

C

-----Original Message-----
From: Phil Harris <phil <email protected>>
To: christopher wright <chris <email protected>>; php list
<php3 <email protected>>
Date: 09 August 1999 08:55
Subject: Re: [PHP3] .htaccess / php / raq2

>The directives only work for the module based PHP, not for the CGI PHP.
>
>Are you sure your using the module?
>
>HTH
>
>Phil
>phil <email protected>
>
>----- Original Message -----
>From: christopher wright <chris <email protected>>
>To: php list <php3 <email protected>>
>Sent: Monday, August 09, 1999 12:00 AM
>Subject: [PHP3] .htaccess / php / raq2
>
>
>> 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>
>>
>
>
>--
>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>
>

-- 
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>