Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 Configuration
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
xtz
Apprentice
Apprentice


Joined: 29 Oct 2007
Posts: 181
Location: Singapore

PostPosted: Mon Oct 29, 2007 12:28 pm    Post subject: Apache2 Configuration Reply with quote

What happened with the good old apache config files?
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Mon Oct 29, 2007 12:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
xtz
Apprentice
Apprentice


Joined: 29 Oct 2007
Posts: 181
Location: Singapore

PostPosted: Mon Oct 29, 2007 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5956

PostPosted: Mon Oct 29, 2007 1:55 pm    Post subject: Reply with quote

check your /etc/conf.d/apache2 file for -D USERDIR... if its not there, ~username will give a 404. :wink:

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
View user's profile Send private message
xtz
Apprentice
Apprentice


Joined: 29 Oct 2007
Posts: 181
Location: Singapore

PostPosted: Mon Oct 29, 2007 8:15 pm    Post subject: Reply with quote

That solved the problem. It's working now 8) Thanx.
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