Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link Folder

Status
Not open for further replies.

jbl4me

MIS
Aug 19, 2003
67
US
I have my webroot in /var/ and i want to have anoher folder online too. /home/jxxtech/public so how can i link that public folder so you can get to it from the web?
 
Home web directories are typically accessed as " Or, create an alias in httpd.conf:

Alias /username/ /home/username/public/
<Directory "/home/username/public/">
... configuration
</Directory>

And make sure that the Apache user can read the files.
 
Ok, it seems to find the folders. I added the lines but still get 403 forbidden error

 
The easiest way to troubleshoot this is to su - apache and cd to the directory manually. Usually this has to do with the permissions on higher-level directories.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top