Re: rewrite

From: Kit <kit.saels (zavinac)>
Date: 04. 01. 2005, 15:07 CET
On Tue, 04 Jan 2005 14:58:16 +0100, junior <net@junior-dm.cz> wrote:
> RewriteCond  %{HTTP_HOST}  cz\.domena\.cz
> RewriteRule index.html  domena.cz/index.html  [L]
> 
> chtel bych kdyz nekdo zada http://cz.domena.cz aby se
> pohyboval v http://domena.cz konfigurace provadim
> v htaccess, pristup k httpd.conf  nemam, vsecho mi
> funguje jen toto ne subdomena je umistena v adresari
> /subdomena/cz/
> junior

RewriteEngine on
RewriteCond  %{HTTP_HOST}  ^cz\.domena\.cz
RewriteRule  ^(.*)$  http://domena.cz/cz/$1 [L,QSA]

Kit
-- 
Ing. Vlastimil Pospíchal
http://www.hoteldrnholec.cz
Received on Tue, 4 Jan 2005 15:07:48 +0100

This archive was generated by hypermail 2.1.8 : 04. 01. 2005, 15:07 CET