1 Attachment(s)
[RESOLVED]Access denied on my own localhost?
Hi,
I always had problem setting up apache and php(and mysql) but this time it was different. I installed an older version of Apache from downloads archive but it gave me an error in command prompt application and no services were running in Apache.
So I downloaded the newest versions of Apache and PHP and made the necessary configurations to httpd.conf and php.ini. localhost directory successfuly works(I see a congrats message of Apache)but when I try to open any PHP file or folder under that directory I get HTML 43 Error(You are not authorized to view this page).
Any help would be appreciated.
P.S. Other files(jpg, txt,...) can be viewed
Re: Access denied on my own localhost?
You need to add a Directory container with allow permissions.
Code:
<Directory C:/php>
allow from all
</Directory>
Re: Access denied on my own localhost?
Re: Access denied on my own localhost?
At the bottom of httpd.conf
Re: Access denied on my own localhost?
Thanks a lot. You're my savior. I've been working on it for a few days now and all I could find on the net was: Apache Server 2.2.3 is incompatible with PHP 5.
Thanks a lot again
Re: Access denied on my own localhost?
Quote:
Originally Posted by kill_bill_gates
all I could find on the net was: Apache Server 2.2.3 is incompatible with PHP 5.
Might explain why I couldn't get the bugger to work as a SAPI module. Only as CGI.
No problem. :)