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

Re: [cobalt-users] rewriteengine on vs off



On Wed, 13 Dec 2000, Jim Carey wrote:

> I have a site that I have turned rewriteengine off. This is so that when
> Does anyone know of a way to ensure that the url is not changed to the site
> name
> url without turning rewriteengine off - can i modify the rewrite rules ?

You can turn it back on after you know....

Other than that, all you needed to do was remove the 2 or 3 lines that
rewrite the domain name....

RewriteCond %{HTTP_HOST}  ...

rewrites based on hostname, comment those out and the raq will stop
'fixing' domain names , (and IP  address -> domain name)

RewriteRule ^/(.*) .. is a fixup, but you can remove it also if you don't
care if http 1.0 clients work (which they won't anyhow)

g