View previous topic :: View next topic |
Author |
Message |
drillsar n00b
Joined: 08 Sep 2010 Posts: 33
|
Posted: Thu Sep 16, 2010 2:02 pm Post subject: UserDir and Apache2? |
|
|
I'm trying to configure using apache2 with USERDIR
I added user to group apache
In /etc/conf.d/apache2
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D USERDIR -D PHP5"
I have this, I'm trying to figure out now how to use Userdir
I also beleive I need to shut this off for root but im confused on how this is done. |
|
Back to top |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Fri Sep 17, 2010 1:18 pm Post subject: |
|
|
Create the appropriate directory in the user's home and you'll be able to put content in there. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Sep 17, 2010 1:51 pm Post subject: |
|
|
this only work if the appropriate dir exists...
assumption: the user exists and is called veldrin, and your apache server is located on the localhost.
1. create the folder public_html inside the home directory ( i.e mkdir /home/veldrin/public_html )
2. access it trough ttp://localhost/~veldrin
IIRC if that dir does not exist, userdir does not work.
cheers
V. |
|
Back to top |
|
|
|