[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] FrontPage Publishing with Name Based Hosting
- Subject: Re: [cobalt-users] FrontPage Publishing with Name Based Hosting
- From: jk@xxxxxxxxxxxx (Jens Kristian Søgaard)
- Date: Mon May 22 09:48:32 2000
"Mike Fritsch" <mfritsch@xxxxxxxxxxxx> writes:
> As far as being able to view the site via the IP like
> 000.000.000.000/~www.site.com ......I dont think it can be done. But I would
> be very happy if somone could prove me wrong.
Well, I did something similar to that. Just add a line like this to
the server's /etc/httpd/srm.conf
RewriteRule ^/domain/([^/]+)/?(.*)$ /home/sites/$1/web/$2
This would make it possible to enter:
http://www.servername.com/domain/www.newcustomer.com/
And see the pages...
--
Jens Kristian Søgaard,
jk@xxxxxxxxxxxx -- http://www.jksoegaard.dk/
Søger du noget? -- http://www.google.com/
echo|perl -ple'$_+=4E-6*!int rand()**2+rand()**2while$i++-1E6'