View Single Post

  #3 (permalink)  
Old 07-05-2003
Joachim Ring
 
Posts: n/a
Default Re: Apache: modifying localhost URL on HTTP request

> I do have a fully qualified domain name (FQDN) and a corresponding IP address,
> so I do not need any other domain name services. What I want though, is that
> when users type http://localhost/ into their web browser, from the host
> computer, the URL changes in the web browser's URL text label to either the FQDN
> or the actual IP, automatically. Why coulnd't Apache do this? I am thinking that
> it could be done with URL redirection? How???


if you've a correct ServerName entry on each developer machine in
httpd.conf you might try UseCanonicalNames On which should make apache
send a redirect to the http://ServerName/path for each request to
localhost...

joachim