LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2003, 03:46 PM   #16
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79

Shouldn't make a difference. What does the config test say?
Quote:
Originally posted by david_ross
Without trying to overload you with ideas, you may want to check you VHOSTS config using:
/path/to/httpd -t -D DUMP_VHOSTS
Can you try to connect to a host and post the corresponding lines from the access and error logs.
 
Old 07-08-2003, 03:46 PM   #17
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
Bad request!

Your browser (or proxy) sent a request that this server could not understand.

If you think this is a server error, please contact the webmaster

Error 400

www.domain1.com
Tue 08 Jul 2003 04:46:05 PM EDT
Apache/2.0.40 (Red Hat Linux)


--------------------


thats what i get
every time i try to access any domain
 
Old 07-08-2003, 03:51 PM   #18
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
whats the default path to httpd
totaly unrelated:
theres a huge bug on my wall
 
Old 07-08-2003, 03:52 PM   #19
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It depends on your install.

Try:
/usr/sbin/httpd
 
Old 07-08-2003, 03:56 PM   #20
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
yep /usr/sbin/httpd

output:

Syntax error on line 116 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or
is empty


hmmm
 
Old 07-08-2003, 04:00 PM   #21
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
line 116 of ssl.conf:
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt

server.crt exists and says:

-----BEGIN CERTIFICATE-----
MIIEDDCCA3WgAwIBAgIBADANBgkqhkiG9w0BAQQFADCBuzELMAkGA1UEBhMCLS0x
EjAQBgNVBAgTCVNvbWVTdGF0ZTERMA8GA1UEBxMIU29tZUNpdHkxGTAXBgNVBAoT
EFNvbWVPcmdhbml6YXRpb24xHzAdBgNVBAsTFlNvbWVPcmdhbml6YXRpb25hbFVu
aXQxHjAcBgNVBAMTFWxvY2FsaG9zdC5sb2NhbGRvbWFpbjEpMCcGCSqGSIb3DQEJ
ARYacm9vdEBsb2NhbGhvc3QubG9jYWxkb21haW4wHhcNMDMwNzA3MDE1MTE1WhcN
MDQwNzA2MDE1MTE1WjCBuzELMAkGA1UEBhMCLS0xEjAQBgNVBAgTCVNvbWVTdGF0
ZTERMA8GA1UEBxMIU29tZUNpdHkxGTAXBgNVBAoTEFNvbWVPcmdhbml6YXRpb24x
HzAdBgNVBAsTFlNvbWVPcmdhbml6YXRpb25hbFVuaXQxHjAcBgNVBAMTFWxvY2Fs
aG9zdC5sb2NhbGRvbWFpbjEpMCcGCSqGSIb3DQEJARYacm9vdEBsb2NhbGhvc3Qu
bG9jYWxkb21haW4wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL8DRIzRSt6v
3i54ZPm61yKNQbP3euevC5afjiEx8s5L1t+AxpaCwrenDwUvHecSlJZ1PE9Vv65P
arT1OWW/KGT8bCVaNZwCG67LL8n0RBc9MtHvZ4y25rgMr5QMZP3v1RfQ21sqewsb
MRUgt9EAIClrbTmlmXs74SCG1bNh/ls5AgMBAAGjggEcMIIBGDAdBgNVHQ4EFgQU
Wf6BVC2G38UevA9hLeA9i2GmWc4wgegGA1UdIwSB4DCB3YAUWf6BVC2G38UevA9h
LeA9i2GmWc6hgcGkgb4wgbsxCzAJBgNVBAYTAi0tMRIwEAYDVQQIEwlTb21lU3Rh
dGUxETAPBgNVBAcTCFNvbWVDaXR5MRkwFwYDVQQKExBTb21lT3JnYW5pemF0aW9u
MR8wHQYDVQQLExZTb21lT3JnYW5pemF0aW9uYWxVbml0MR4wHAYDVQQDExVsb2Nh
bGhvc3QubG9jYWxkb21haW4xKTAnBgkqhkiG9w0BCQEWGnJvb3RAbG9jYWxob3N0
LmxvY2FsZG9tYWluggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEA
IgtlH8SF/e6L8zfVkbQC/GncjZxKnFeyTbF7Az6LBNGvQj0LsAMOaD6qgq18bcMD
Iye7IvFGuN3x4tg9thUuI0Os/aNnTrghWH1NYWtLn3yTP1lglqGBvWPkLLzeKUUw
M3ELKP9bO2L6RFXSy9KOC6owFgtmm0HpBdmIgrqL1z4=
-----END CERTIFICATE-----
 
Old 07-08-2003, 04:01 PM   #22
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I can't imagine that SSL is the problem as you aren't using it for your virtual hosts but the ouput from the error and access logs might help.
 
Old 07-08-2003, 04:04 PM   #23
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
anddd
where might they be?
 
Old 07-08-2003, 04:05 PM   #24
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Make an access to a host and note the time. You will only need to post the lines that are dated/timed at that time.

Logs are:
/etc/httpd/logs/access_log
/etc/httpd/logs/error_log
 
Old 07-08-2003, 04:15 PM   #25
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
error log:

[Tue Jul 08 17:13:30 2003] [warn] child process 7206 still did not exit, sending a SIGTERM
[Tue Jul 08 17:13:30 2003] [warn] child process 7208 still did not exit, sending a SIGTERM
[Tue Jul 08 17:13:30 2003] [warn] child process 7209 still did not exit, sending a SIGTERM
[Tue Jul 08 17:13:30 2003] [notice] caught SIGTERM, shutting down
[Tue Jul 08 17:13:34 2003] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 08 17:13:34 2003] [notice] Digest: done
[Tue Jul 08 17:13:35 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations



access log:
192.168.1.1 - - [08/Jul/2003:17:13:42 -0400] "GET / HTTP/1.01.1" 400 993 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225"
 
Old 07-08-2003, 04:31 PM   #26
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Check that your build supports Virtual hosts:
/usr/sbin/httpd -L | grep Virtual

Should return:
<VirtualHost (core.c)
NameVirtualHost (core.c)
 
Old 07-08-2003, 06:53 PM   #27
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
it does return:

<VirtualHost (core.c)
NameVirtualHost (core.c)

im gettin ready to pull out the baseball bat
 
Old 07-09-2003, 01:17 PM   #28
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Have you tried removing the aliases as trickykid suggested? The syntax looks ok but you never know.
 
Old 07-09-2003, 01:54 PM   #29
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
yup
still stumped
 
Old 07-24-2003, 12:13 PM   #30
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
ok ive been working on it since last post
!!
and i notice that when i substitute the * after NameVirtualHost with my ip address, my first site shows up on all urls
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Strange apache trailing / problem - Slack-current, apache 1.3.33 vamp Linux - Networking 1 01-30-2005 07:28 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 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