Re: Sites not displaying php files, but show the code instead.
| From: | Michael W. | Date: | Wed, 17 Aug 2005 01:09:28 +0000 |
| Subject: | Re: Sites not displaying php files, but show the code instead. | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16586@lists.php.net to get a copy of this message | ||
Do PHP pages other than index.php work correctly?
The Forbidden error is probably due to "Options FollowSymlinks" not being set. That option has to be turned on for symbolic links to work.
Jody Cleveland wrote:
Hello, I'm running redhat 4.0 AS server with Apache and php. I have a few sites that have index.php as their DirectoryIndex. When I view those sites, I see the php code, not the page as it should be. Also, there are a few sites where index.php is actually a symlink. For those, I get this when I go to the site: Forbidden You don't have permission to access / on this server. Any ideas why this is happening? -- Jody Cleveland Computer Support Specialist cleveland@winnefox.org .