Forum Moderators: phranque
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