View previous topic :: View next topic |
Author |
Message |
lpx Apprentice
Joined: 03 Mar 2005 Posts: 205 Location: Braga, Portugal
|
Posted: Sat Jul 08, 2006 10:21 am Post subject: apache localhost/~user/ acess problems [SOLVED] |
|
|
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 |
|
|
hjnenc Veteran
Joined: 15 Aug 2004 Posts: 1599 Location: Vienna, Austria
|
Posted: Sat Jul 08, 2006 10:35 am Post subject: |
|
|
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 |
|
|
lpx Apprentice
Joined: 03 Mar 2005 Posts: 205 Location: Braga, Portugal
|
Posted: Sat Jul 08, 2006 10:50 am Post subject: |
|
|
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 |
|
|
|