Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

404s since changing my VirtualHosts (and IP host file).

Status
Not open for further replies.

ringd

Programmer
Jul 11, 2000
35
GB
Hello!

I am using Apache 1.3 on Win NT and IE 5 browser. I have a local website which I was accessing via 'localhost'.

I modified the httpd.conf to include a new servername called 'davehost' which pointed to the same physical files (docroot) as 'localhost'. All worked fine (even with SSL!).

I modified the .conf a bit more this time so 'davehost' pointed to a totally different docroot. This is the point I started getting the 404s.

Where I need a bit of guidance is in tracing what path Apache is looking at when I browse for either or . Obviously, the problem lies in the conf changes I have made and will become obvious when I know what path Apache is looking at but I simply can't figure out what it is.

I have swithed all logging to 'debug' level and also write out a new custom message to a log file with the following format:
Code:
LogFormat "%h %l %u %t %a %A %H %q %U %v %V \"%r\" %>s %b" BrokenLinks
but still can't see what path Apache is looking down.

Does anyone have any suggestions on what I can do to debug what Apache is doing (or not doing - if that's the case)?

p.s. I'm running from a binary so would prefer not to amend source files and a re-compile! (I'm too scared!)

Cheers,
Dave.
mailto:dave.ring@barclays.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top