View previous topic :: View next topic |
Author |
Message |
xtz Apprentice


Joined: 29 Oct 2007 Posts: 181 Location: Singapore
|
Posted: Mon Oct 29, 2007 12:28 pm Post subject: Apache2 Configuration |
|
|
What happened with the good old apache config files? |
|
Back to top |
|
 |
di1bert l33t


Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Mon Oct 29, 2007 12:31 pm Post subject: |
|
|
They got bored with life. Last I saw them they were talking to themselves about modularity and
the need to be better at everything.
-m |
|
Back to top |
|
 |
xtz Apprentice


Joined: 29 Oct 2007 Posts: 181 Location: Singapore
|
Posted: Mon Oct 29, 2007 1:14 pm Post subject: |
|
|
Okay, anyway. Just more files to edit now :s My actual problem is, that user directories are not working. I've set DocumentRoot in /etc/apache2/vhosts.d/default_vhost.include to be a user directory (/home/some_user/public_html) and it is working fine. Why don't public_html in user directories don't work? When I try to open it with http://hostname/~user it says HTTP 404. The weird is, that http://hostname and http://hostname/~myuser should open the same thing, but it opens only with http://hostname, the other is HTTP 404 again Any ideas of what's wrong? |
|
Back to top |
|
 |
bunder Bodhisattva

Joined: 10 Apr 2004 Posts: 5956
|
Posted: Mon Oct 29, 2007 1:55 pm Post subject: |
|
|
check your /etc/conf.d/apache2 file for -D USERDIR... if its not there, ~username will give a 404.
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
 |
xtz Apprentice


Joined: 29 Oct 2007 Posts: 181 Location: Singapore
|
Posted: Mon Oct 29, 2007 8:15 pm Post subject: |
|
|
That solved the problem. It's working now Thanx. |
|
Back to top |
|
 |
|