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

Re: [cobalt-users] Domain redirection help needed



Jamie Rossi wrote:

> I have a script that looks at the servervariable("server_name") and displays
> info from a flat file that refers to the domain. I use this to PARK loads of
> domains that just need a holding page. This works a treat on an NT box but I
> want to migrate it to a Cobalt box. The script works on the Cobalt box so
> long as I type in the virtual domain not a domain alias.
> 
> Has anyone got a workaround to the URL cloaking issue.

Here's how we do it on RaQs...

We us a separate IP#.

We have only one site set up at that IP#.  It's the "freeparking" site.

We point all the sites we want going to "freeparking" to that IP#.

In the Virtual Site block for the freeparking site, in
/etc/httpd/conf/httpd.conf, we change the line:

RewriteEngine on

to:

RewriteEngine off

OR...

Since the default is "off", you can just comment out the five lines
beginning with "Rewrite"; to do that just place a "#" mark (without the
quotes) at the beginning of each of these lines.  We do NOT recommend
deleting the lines; that removes the documentation of what you've done.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484