IDNetters Forums

Technical News & Discussion => Windows News & Discussion => Topic started by: Bat on Nov 24, 2006, 10:12:55

Title: Apache Virtual host help, please!
Post by: Bat on Nov 24, 2006, 10:12:55
Hi,
I've been trying to get this working for over 2 days now   :o
I've not got a clue what I'm doing wrong and I only think I'm messing with the right thing!
I'm running it on XP Pro, set my router port 80 to the machine, pointed my www names to my IDNet  fixed IP.
I've attached httpd.conf, if someone could point out the obvious mistake (most likely) I'd be very grateful  ;D
Cheers,
Gavin :)

[attachment deleted by admin]
Title: Re: Apache Virtual host help, please!
Post by: BassoProfundo on Nov 24, 2006, 13:58:46
Well, I'd have to do some reading up myself, but the most obvious thing that jumps out is that the first virtual host element is
   1.0.0.126:80
not
   10.0.0.126:80

Maybe a quick edit and try out is in order? If it doesn't work, can you post any further diagnostics?
Title: Re: Apache Virtual host help, please!
Post by: Bat on Nov 24, 2006, 18:51:33
Hi,
I've added the 0  ::)
Unfortunately still no go. I'm using dial up to access the sites over t'internet and getting a 403 error.
I've attached an error log for marinelive site, the teamtorque site has empty error and access logs.
The main error log just list notices of starting and stopping, no warnings there.
That's all I've got for diagnostics I'm afraid  :(
Cheers,
Gavin :)

[attachment deleted by admin]
Title: Re: Apache Virtual host help, please!
Post by: MoHux on Nov 24, 2006, 19:49:19
Quote from: Bat........ Hi,
I've added the 0  ...........

ermmmm, I think it says DELETE a '0' - NOT add one!!  ;)

::)
Title: Re: Apache Virtual host help, please!
Post by: Bat on Nov 24, 2006, 19:54:28
Hi,
It should be 10.0.0.126 as thats the IP of the host machine. Unless I've really lost the plot.....  ???
Cheers,
Gavin :)
Title: Re: Apache Virtual host help, please!
Post by: MoHux on Nov 24, 2006, 20:22:15
Oooppss! Sorry!  :out:
Goes back to sleep ...... zzzzzzzzzzzzzzz!
Title: Re: Apache Virtual host help, please!
Post by: Bat on Nov 24, 2006, 20:32:36
Hi,
8) I've not lost it completely, yet........
Cheers,
Gavin :)
Title: Re: Apache Virtual host help, please!
Post by: BassoProfundo on Nov 24, 2006, 23:26:57
just tried accessing your sites, with various levels of success.

www.gypsycob.co.uk gets me to a proper web page
www.marinelive.co.uk and www.teamtorque.co.uk just get me to the root of your apache server directory and display a list of files.

double-click on the marinelive subdirectory and I get the marinelive web page.

Is this what you're seeing yourself ?
Title: Re: Apache Virtual host help, please!
Post by: Bat on Nov 25, 2006, 00:11:20
Hi,
Yes, I've had a meddle and got it that far. Gypsy cob DNS is still pointing to its old location, which is why it works! What ever I do it always goes to index.html in the htdocs folder. I've removed that file so now you get the listing.
Attached new httpd.conf
Thanks for your help.
I feel closer to a result now I'm getting into that directory, just need to sort out why it's not following the path......
Cheers,
Gavin :)

[attachment deleted by admin]