4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Apache
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Mar 31, 2003 5:26 pm (21 years ago) Reply with QuoteBack to Top

OK, I just started playing with apache on this lovely 'lil' machine of mine, and I can't get it to serve any pages. I created index.html in my document root (/var/www/), but I get an error 404. anyone know why this could be?

Also, if you wanna try it, goto [link removed] and you'll see what I mean.

________________________________
It's turtles all the way down...

Last edited by adam on Sat Apr 05, 2003 7:37 pm, edited 1 time in total
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Mon Mar 31, 2003 5:54 pm (21 years ago) Reply with QuoteBack to Top

Have you tried looking in /home/httpd? Or have you tried just generally looking round for any possible folder your files could go in? Smile

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Mar 31, 2003 5:57 pm (21 years ago) Reply with QuoteBack to Top

lol...according to httpd.conf /var/www is the DocumentRoot, and it is serving the apache manual out of there fine...

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Justin
4WebHelp Addict
4WebHelp Addict


Joined: 07 Jan 2002
Posts: 1060

PostPosted: Mon Mar 31, 2003 6:07 pm (21 years ago) Reply with QuoteBack to Top

I know this sounds stupid, but I read something about apache 2.0.xx having this problem, have you tried putting another file in there under a different name?
OfflineView User's ProfileFind all posts by JustinSend Personal MessageSend email
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Mar 31, 2003 6:09 pm (21 years ago) Reply with QuoteBack to Top

yup...also tried test.html, and put a test.html in /var/www/html/ just to be sure...same result.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Ben
Senior WebHelper
Senior WebHelper


Joined: 08 Jan 2002
Posts: 431
Location: Liverpool - UK

PostPosted: Mon Mar 31, 2003 6:11 pm (21 years ago) Reply with QuoteBack to Top

Check the error log,

________________________________
Ben Scott

Red and White Kop
OfflineView User's ProfileFind all posts by BenSend Personal MessageSend emailVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Mar 31, 2003 6:16 pm (21 years ago) Reply with QuoteBack to Top

hmm....looks as though the files need to go in /var/www/html/ which is odd, 'cause when I tried that earlier it didn't work...perhaps the apache reboot I did fixed something. in any case, it's working now Very Happy

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 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.


Page generation time: 0.213438 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme