Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] 403 Forbidden on PHP3 file From: Jason Brooke (jason <email protected>)
Date: 08/27/99

> Hi Everyone,
>
> I have Debian Linux setup here with Apache and ran apt-get to
> get PHP3. My problem is that when I try to load a PHP3 file, I
> got a 403 error ('You don't have permission to access /phpinfo.php3
> on this server'). As you might guess from the file name, all that's in
> the script is <? php_info();?>. Any ideas?

This would almost certainly be an actual file or directory permission
problem, or secondly, an Apache directive which is preventing access to the
file or directory.

Make sure the file is readable by the user that Apache runs as, and make
sure the directory in which the file resides has read/execute access to the
user Apache runs as. You can probably find out which user Apache runs as by
checking the Apache config file.

jason

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