[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update Re: [cobalt-developers] line address change itself....



Jeff Lasman wrote:

> "Robert G. Fisher" wrote:
> 
> > Actually Jeff, this happens with just the ServerName directive
> > in my experience w/o any Redirect or Rewrite rules -- I'm talking
> > from my own experiences on our other web servers which are apache
> > and IIS...
> >
> > Can you confirm a different set of experience w/ Apache on
> > any of your other systems?
> 
> My understanding (and I could be wrong; I'm NOT looking this up right
> now; I have to be somewhere by noon) is that ServerName is strictly for
> customization of error messages created by Apache.  Am I wrong?

I've just taken the time to look up ServerName.  The (required at least
once in the highest scope) ServerName and the various optional
ServerAlias directives which may appear in a scope are the names to
which the server will respond, but they have nothing to do with how, or
whether or not, the broswer location bar is rewritten.  Browsers
generally rewrite to add a preceeding "http://"; if it's not already
typed in, and also add a following "/" if the final part of the URL is a
directory rather than a file.  Other than that, any rewriting is
controlled by the Rewrite rules.

Information obtained from reading "Apache Server Bible" from IDG Books.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205