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

Re: [cobalt-users] Modifying httpd.conf



--- Jeff Lasman <jblists@xxxxxxxxxxxxx> wrote:
> Hostmaster wrote:
> > I've found the setup on the Cobalt unecessarily complex especially the
> > <VirtualHost> section. Take a look at a comparison below of my virtual
> > server compared to the Cobalt. Why on earth they would need to use
> > RewriteEngine directives for a standard Apache feature is beyond me but
> > I'm no expert.
> 
> 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. 

> And two, so that their /admin, /siteadmin, and /useradmin extensions to
> URLs will work.
Ah :-)


Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com