View Single Post
Old 13th January 2012, 16:19
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,020
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

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 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 /

2b) Or you add this line:

Redirect permanent /

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

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