Hi all,

Many thanks to Christopher Ostmo who solved this one. The reason why it
couldn't read .htaccess was because "other" people didn't have read
permission on the directory that contained the file. An ls -la looked like:

[root@gemini squirrelmail]# ls -la
total 128
drwxr-x---   14 squirrel nobody       4096 Jul  2 09:48 .
-rw-r--r--    1 squirrel nobody         87 Jun 23 10:53 .htaccess

chmod'ing it to give other people read and execute access on the directory
fixed this, but revealed another, deeper problem... (was that the force I
felt, or a butterfly in china?)

Now attempting to access the page returns a:

[Wed Jul  4 10:00:30 2001] [error] [client 198.142.14.193] script not found
or unable to stat: /usr/local/apache/cgi-bin/php

which is entirely inappropriate, as the php app in question doesn't live in
/usr/local/apache/anywhere

I'm guessing that this has something to do with a line in the apache config
that says:

    ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

for the general server config. There are no script aliases for the virtual
in question.

The virtual doesn't have anything odd defined in it - just the server name,
location of files, and where to log to.

<VirtualHost 198.142.14.194>
        ServerName webmail.faredge.com.au
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /var/qmail/squirrelmail
        ErrorLog /var/log/apache/squirrelmail-error_log
        CustomLog /var/log/apache/squirrelmail-access_log common
</VirtualHost>

Any ideas?

Cheers,

Chris Herrmann
Far Edge Technology

p. 02 99553640
f. 02 99547994
m. 0403 393309
http://www.faredge.com.au


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to