[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Modifying httpd.conf
- Subject: Re: [cobalt-users] Modifying httpd.conf
- From: Paul Schreiber <cheesefactory@xxxxxxxxx>
- Date: Sun Apr 2 15:46:59 2000
--- Jeff Lasman <jblists@xxxxxxxxxxxxx> wrote:
> Paul Schreiber wrote:
>
> > > They use complex Rewrite directives for two reasons: one, so
> > > <www.domain.com> and <domain.com> will point to the same place, yet
> > > change the browser to show what they consider to be the "correct"
> > > <www.domain.com> in the browser location window.
> >
> > That effect can be achieved with:
> > ServerName www.foo.com
> > ServerAlias foo.com
> >
> > ...I believe.
>
> Not quite the same. The former changes "foo.com" in the browser
> location field to "www.foo.com", whereas the latter does not.
Not on my server. :) I have the ServerAlias set up; it sends a 302, and a new
location.
GET / HTTP/1.1
Host: www.uwstudent.com
HTTP/1.1 302 Found
Date: Sun, 02 Apr 2000 22:45:58 GMT
Server: Apache/1.3.12 (Unix) PHP/3.0.15
Location: http://www.uwstudent.org/
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Paul
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com