View Single Post
  #13  
Old 13th January 2012, 16:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,609 Times in 4,420 Posts
Default

Quote:
The "only redirect to directories" is, AFAIK, not an Apache rule.
Of course, as you do this not in the intended way. Your way is for servers that dont have ispconfig installed.

The correct way(s) for ISPConfig servers are e.g:

1) Add www.foo.bar as website or as aliasdomain of another wesbite in ISPConfig.

2a) Then either add a file named .htaccess in the web directory of the website containing just one line:

Redirect permanent / http://www.otherfoo.bar/bla/blubb/lalelu.html

2b) Or you add this line:

Redirect permanent / http://www.otherfoo.bar/bla/blubb/lalelu.html

in the apache directives field of the website in ISPConfig, which is on the options tab.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 13th January 2012 at 16:23. Reason: typos
Reply With Quote