RE: [users@httpd] Re: Best way to redirect within .htacces

2011-09-13 Thread atanaspich
Thank you very much! :) - Carsten Wiedmann (carsten_st...@gmx.de), на 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 unf

Re: [users@httpd] Best way to redirect within .htacces

2011-09-13 Thread atanaspich
Hello! 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. - francois.ging...@gmail.com - Please see: http://httpd.apache.org/docs/trunk/rewrite/remapping.html#canonicalhost Frank -

[users@httpd] Best way to redirect within .htacces

2011-09-13 Thread atanaspich
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! --