- Code: Select all
sudo ln -s ~/html_data /opt/lampp/htdocs/$USER
So when I try an access anything at localhost/{username}/ I get a 403 error
can someone help me out here?
running ubuntu 9.10 32-bit
sudo ln -s ~/html_data /opt/lampp/htdocs/$USER
Nobbie wrote:What was the value of $USER when executing the "ln -s" command? Or is there really a folder "/opt/lampp/htdocs/$USER"?
Ist there any data in ~/html_data?
Do you have "Options FollowSymLinks" for your DocumentRoot (see httpd.conf)?
Are there sufficient rights for the user which executes the Apache process to read ~/html_data?
research-experiment wrote:3. Could you maybe provide an example, because FollowSymLinks is not commented out.
Nobbie wrote:Could you maybe read the documentation instead?
Nobbie wrote:Is there any <Directory ...> for ~/html_data (where ~ is to replaced by /home/username or whatever) in httpd.conf which grants access to that folder (especially "Allow From All")?
I did a symbolic link with a folder ~/html_data into /opt/lampp/htdocs/$USER
4. I would assume "chmod 755" would suffice? Or am I missing something?
I get a 403 error
Users browsing this forum: No registered users and 22 guests