RE: Re: Best way to redirect within .htacces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thank you very much! :)
----- Carsten Wiedmann (carsten_sttgt@xxxxxx), на 13.09.2011 в 21:16 -----
Please see:
http://httpd.apache.org/docs/trunk/rewrite/remapping.html#canonicalhost
I guess you are using Apache 2.2 and not trunk (2.3 Beta), so better
look at [1].
I've already seen it, but unfortunetely I can't get the VirtualHost solution to work in .htaccess and I can't understand what's the problem.
"" can't be used in ".htaccess" files. See "Context" at
[2]. So you have to use the mod_rewrite solution.
Regards,
Carsten
-------------------------------------
Mail.bg: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар - 10 GB пощенска кутия, 20 MB прикрепен файл, безплатен POP3, мобилна версия, SMS известяване и други.
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]