View Single Post
Old 27th March 2009, 23:17
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts

Here is your first post in the thread:

but this isn't 100% truth

I ve modified my .vhost from apache2

Restarted apache2 and works fine

But, if I reboot, ispc restore the .vhost file


So were did you ask this question there? The first time you asked
the question how to rewrite to in your last post #26.

There is no redirect needed as you get the same content of the website when you
enable the auto subdomain when you enter
or just Thats what the function is intended to do and
this is what the function does.

If you automatically want to rewrite to
which is not nescessary but can be done of course e.g for search engine optimisation, you can do this with apache rewrite rules that can be added to the apache directives field (See my post #8 part 3) in case that you want to have other rewrite rules then the ones that ispconfig adds on the rewrite tab.

For example just add:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^/(.*)$$1 [R]
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote