Very strange problem.... Apache2
| From: | Jim | Date: | Thu, 25 Jul 2002 12:41:53 +0000 |
| Subject: | Very strange problem.... Apache2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-7897@lists.php.net to get a copy of this message | ||
Hi, I have a problem I really could use some help with. I have installed (source) Apache 2.0.40-DEV
and PHP4-Latest. They both work allright (the usual phpinfo() works linke a charm).
I have a file called index.php. That's the main file of my server. It is located in my
DocumentRoot dir. When accessing my server through my browser I get a 403 permission denied.
Here's the brainteaser: If I rename that file to index.html or index.htm or index.iamfrustrated
or whatever, and use that URL (myserver.com/index.htm) it works great. If I do the same
(myserver.com/index.php) with index.php my browser pops up a download dialog box.
I have edited the httpd.conf file to include "AddType application/x-httpd-php .php .html"
and "LoadModule php4_module modules/libphp4.so"
Anyone had the same experiance?
( °> Jim-Christian Flatin
//\\ Skien / Norway
/ \/ ) jim@flatin.name
'-<< http://www.niteshift.net