Forum Moderators: phranque

Message Too Old, No Replies

Problems with Apache using a symlinked index.php - 403 Permission deni

Trying to use a smylinked index.php but getting 403 permission denied messa

         

ocpaul20

4:32 am on Sep 11, 2009 (gmt 0)

10+ Year Member



Hi All,
I am using Apache on Puppy Linux and this is a question about using symlinked Index.php

I have a local Apache server running to test my website and everything is fine but I want to use a symlinked index.php residing on another drive on my machine.

However I get '403 Forbidden - You don't have permission to access /index.php on this server.' error in the browser when I try to get the symlinked index.php (all permissions are 777 all the way out to the index.php file)

What do I have to add to httpd.conf in the <directory> section (I assume) to get this to work?
I can get index.php when I run the command line php from a console screen. It does not give me a 403 error.

I already have a directory section for the destination directory where the real index.php is located, and this does not cure my 'permission denied' problem. (see below)
<Directory "/mnt/sdb5/PHP_development/remotehost/httpdocs">
Options ExecCGI FollowSymLinks MultiViews
Order allow,deny
Allow from all
</Directory>

Thanks for any help.
Paul