Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get Apache2 working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
luckythedonkey
n00b
n00b


Joined: 28 Jun 2006
Posts: 21
Location: Sydney, Australia

PostPosted: Thu Mar 08, 2007 6:27 am    Post subject: Can't get Apache2 working Reply with quote

Hi Guys,

I'm going through a how to on getting my own Wiki working but have hit a hurdle with regards to Apache2.

I've used Apache but not in a while. Basically I can't get it to display /var/www/localhost/htdocs/mediawiki/config/index.php.

After further troubleshooting, I can't even get index.html located in /var/www/localhost/htdocs/.

My browser says the file cannot be found. I have tailed the apache2 error log and it says this:

[Thu Mar 08 01:24:55 2007] [error] [client 127.0.0.1] File does not exist: /usr/htdocs, referer: http://localhost/index.html

I know I'm doing something simple wrong - like configuring my httpd.conf file properly. All the contents of /var/www/localhost is owned by apache user and group.

From memory the default apache install never looked in the /usr directory for web content.

I think I just have to configure my host in the httpd.conf file but haven't had a chance to read through it properly.

Any thoughts?


Thanks
Justin
_________________
Rock on
Back to top
View user's profile Send private message
elgato319
Guru
Guru


Joined: 15 Sep 2005
Posts: 546

PostPosted: Thu Mar 08, 2007 10:23 am    Post subject: Reply with quote

Check your httpd.conf or vhost file for DocumentRoot.

I think it´s pointing in die wrong directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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