[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] [RaQ4] Duel web document root query?
- Subject: RE: [cobalt-users] [RaQ4] Duel web document root query?
- From: "Andrew D. Forkes" <Andrew.Forkes@xxxxxxxxxxxxxx>
- Date: Tue May 1 19:55:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> In truth, I've never tried it... I would think it should be as simple as
> running apache and specifying a different config file. Which,
> obviously will
> have to run on a different port. Eh, hit up linuxdoc, and check
> into the apache
> server configs... I'd have to do the same... :)
That is certainly one way of doing it, but I have discovered the apache
module "mod_rewrite",
http://www.apacheref.com/ref/mod_rewrite.html
So it may be possible to create a few rewrite rules that ensure that any
access to a certain directory tree, is rewritten to use the SSL (HTTPS)
port.
This way I can keep everything under one DocumentRoot.
I'll feedback if it works.
Best things,
Andrew