[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Aliases
- Subject: RE: [cobalt-users] Aliases
- From: "Tom Cameron" <tom@xxxxxxxxxx>
- Date: Wed Aug 29 21:54:15 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
No I dont mean CNAME.
In the Virtual host setup, you can specify an alias for the site (basically
another domain that points to the same site)
In fact it just adds a ServerAlias entry into the httpd.conf file.
The problem is that it also enters a rewrite rule to keep redirecting to the
main name. so that if you type in the alias url it bounces you to the main
url.
I want to turn this off. I know I can simply comment out the rewrite entry
in httpd.conf but I dont know if this is allowed. Will it cause any problems
with the GUI?
Also can I turn this off globally. I.e. stop the GUI from putting this
rewrite rule in virtual hosts.
Put simply I want two (or more) domains to point to the one virtual site and
serve out normally. It is dead easy. But the GUI keeps placing a rewrite
rule in there.
Thanks
Tom
=> -----Original Message-----
=> From: cobalt-users-admin@xxxxxxxxxxxxxxx
=> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Per M Knutsen
=> Sent: Sunday, 26 August 2001 7:31 PM
=> To: cobalt-users@xxxxxxxxxxxxxxx
=> Subject: Re: [cobalt-users] Aliases
=>
=>
=> > I created a site with a doman name and then I gave that site an alias
=>
=> You mean a CNAME?
=>
=> > I need the site to serve out under the
=> > aliases and the main url without redirecting. Basically the way Apache
=> > normally works.
=>
=> Meaning that you want to access the same files within one
=> domain, but under
=> the alias of another?
=>
=> You could create an additional virtual site, and rewrite URLs of
=> that domain
=> (currently your CNAME/alias) with a .htaccess file (use Apache's
=> RewriteRule
=> directive).
=>
=> Per K
=> http://nethut.no/~pknutsen
=>
=>
=> _______________________________________________
=> cobalt-users mailing list
=> cobalt-users@xxxxxxxxxxxxxxx
=> To Subscribe or Unsubscribe, please go to:
=> http://list.cobalt.com/mailman/listinfo/cobalt-users
=>