LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-12-2005, 06:37 AM   #1
hivtop
Member
 
Registered: Jan 2005
Location: In the Desert
Distribution: RedHat 9
Posts: 33

Rep: Reputation: 15
Web pages not being served


I have everything working on a RH9 server for a virtual site (bind, apache, ftp, mail, usermin), ping finds the correct IP... tracerute ends at the right IP... but when I go to my site I get a 400 error page (Bad request!).
this is the message in the access_log:
IP - - [date] "GET / HTTP/1.01.1" 400 1000

There is an index.html page on the server, in the "home" dir, found in the apache virtual server path. Bind has www , mail, ftp and * in the address section, both servers for the master and slave zones are in the NS Records

Any ideas where to start looking for the reasons why the index page does not show up in my web browser (IE) would be helpfull...
 
Old 01-12-2005, 06:47 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
error 400 is a client error.
can u open ur site from the server (http://localhost)?
is ur server (apache) configured as name-base virtual host?
 
Old 01-12-2005, 07:51 AM   #3
hivtop
Member
 
Registered: Jan 2005
Location: In the Desert
Distribution: RedHat 9
Posts: 33

Original Poster
Rep: Reputation: 15
don't know & Yes

the server is in flordia and I am in calif so I do not know if I can open the site on the server (localhost),

apache is setup as a name server, following is from httpd.conf:
#
# Use name-based virtual hosting.
#
NameVirtualHost 69.60.121.168



<VirtualHost *:80>
ServerName over18hosting.com
ServerAlias www.over18hosting.com
DocumentRoot /home/over18ho/public_html
ErrorLog /home/over18ho/logs/error_log
CustomLog /home/over18ho/logs/access_log common
ScriptAlias /cgi-bin/ /home/over18ho/cgi-bin
<Directory /home/over18ho/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
</Directory>
</VirtualHost>


hope this helps, you help me
 
Old 01-12-2005, 08:00 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
<VirtualHost internal-IP>
ServerName over18hosting.com
ServerAlias www.over18hosting.com
</VirtualHost>
 
Old 01-12-2005, 08:00 AM   #5
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
shit toooooo fast :-( forget it!
 
Old 01-12-2005, 08:11 AM   #6
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
I guess it should be:

NameVirtualHost 69.60.121.168:80

<VirtualHost 69.60.121.168:80>
ServerName www.over18hosting.com
ServerAlias over18hosting.com
..
</VirtualHost>


p.s.: u can try to log on to the server and then do a
´wget http://www.over18hosting.com/index.html´ to cheeck if the page will be served.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can not browse web pages sharpblade Debian 4 06-16-2005 11:12 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM
some web pages are not web opening in linux emailssent Linux - Networking 4 09-19-2004 06:28 AM
Pages served incorrectly jeffpoulsen Linux - Software 6 04-03-2003 07:34 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration