httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] Best way to redirect within .htacces
Date Tue, 13 Sep 2011 13:50:10 GMT


On 09/13/2011 04:57 AM, atanaspich@mail.bg 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message