Re: Best way to redirect within .htacces

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

 





On 09/13/2011 04:57 AM, atanaspich@xxxxxxx wrote:
Hi, guys!
What is the best way to redirect from the non-www domain to the www
domain within .htaccess (I don't have access to the server config)? In
the Apache documentation it says that is best to use the VirtualHost
directive, but is it allowed in the .htaccess file?
Thanks in advance!

-------------------------------------
Mail.bg <http://mail.bg>: Безплатен e-mail адрес. Най-добрите
характеристики на българския пазар - 10 GB пощенска кутия, 20 MB
прикрепен файл, безплатен POP3, мобилна версия, SMS известяване и други.

Please see:

http://httpd.apache.org/docs/trunk/rewrite/remapping.html#canonicalhost

Frank


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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]

  Powered by Linux