Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache localhost/~user/ acess problems [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lpx
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 205
Location: Braga, Portugal

PostPosted: Sat Jul 08, 2006 10:21 am    Post subject: apache localhost/~user/ acess problems [SOLVED] Reply with quote

Hi everyone,

I want to enable apache features that permits acess to users locadir using the /~user/ feature.

I've seen in httpd.conf and it tells to enable enable by adding -D USERDIR to /etc/conf.d/apache2
but i've already added that and it doesnt work.

APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D PHP5 -D USERDIR"

what is missing?

thx
_________________
Imaginando o futuro
Imagining the future


Last edited by lpx on Sat Jul 08, 2006 11:09 am; edited 1 time in total
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sat Jul 08, 2006 10:35 am    Post subject: Reply with quote

What exactly do you mean by "... and it doesnt work"? What do you see in the browser, what is written to the apache log files?
This might be a permission problem. Your ~user/public_html directory and all the files in it must be readable by the user that runs the apache server (usually "apache"). On the user's home directory the apache user needs at least x permission.
Back to top
View user's profile Send private message
lpx
Apprentice
Apprentice


Joined: 03 Mar 2005
Posts: 205
Location: Braga, Portugal

PostPosted: Sat Jul 08, 2006 10:50 am    Post subject: Reply with quote

Hi,

I'm so very lame!

I hadnt the public_html directory!!!

Thank you very much!
_________________
Imaginando o futuro
Imagining the future
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum