Apache Server configuration support - url being resolved incorrectly

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2004 > url being resolved incorrectly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author url being resolved incorrectly
Oliver Griffin \Ollie\

2004-01-23, 2:33 pm

Something is really crasy going on with my redhat 7.3 Apache setup.
I just set this machine up a few days ago.
If I http://myfile.com it works
If I http://techniques,com it works
The DocumentRoot is /var/www/html (This is also the default host
documentroot for myfile.com)
The other virtual host has its documentroot being /var/www/html/te
Everything works fine except when I enter http://myfile.com/te or
http://123.45.678.12/te
it shows it is trying to access 123.45.678.12te which obviously is a bad
IP. Why is it doing this?

Both resolv.conf, nsswitch.conf and the hosts files are OK.


Davide Bianchi

2004-01-23, 5:33 pm

"Oliver Griffin \"Ollie\"" <wgollie@speakeasy.net> wrote:
quote:

> The other virtual host has its documentroot being /var/www/html/te
> Everything works fine except when I enter http://myfile.com/te or
> http://123.45.678.12/te



It make me think that you have been fooling around with mod_rewrite.
Davide

--
| Reinstall? Reinstall?? Wait... I know... it's something about Windows,
| isn't it? -- myself
|
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com