You are not logged in.

#1 2008-11-15 14:08:58

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Serving a directory from /home/max via httpd, permissions?

How would I do this?  I created a soft link to /srv/http but it doesn't show up because of permission issues.

Offline

#2 2008-11-15 14:14:34

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Serving a directory from /home/max via httpd, permissions?

create in your home public_html directory and change permission /home/max to 711 and same for /home/max/public_html.
then you can acces your files from http://localhost/~max
this is the right way to serve directory from your home directory

Last edited by wonder (2008-11-15 14:16:24)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2008-11-15 14:31:53

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Serving a directory from /home/max via httpd, permissions?

For that to work you must have mod_userdir enabled in httpd.conf.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

Board footer

Powered by FluxBB