I am remastering pclos2011 and have encountered the following problem:
I installed Apache, Mysql and a web based app that is in the directory /var/www/html/myapp
It runs OK in my installed system, but on the remastered live cd, when trying to run http://localhost/myapp
I get an error stating:
You don't have permission to access /myapp on this server
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request"
In my understanding, it has something to do with the fact that all the directories in the livecd are under /union and symlinked
So, /var/www/html/myapp is actually /union/var/www/html/myapp and ~var points to /union/var
I have Options FollowSymlinks in apache configuration file, but it won't help.
In the apache error log I get
"symbolic link not allowed or link target not accessible: /var"