Hi Falko and Till, I'm trying to add some items inside the Apache directives but when I try to save the site details page the text is truncated. I admit that I have paste about 3000 rows inside it because we have a customer with thousands of domains that redirect only in one site. So I thought to ask you if there is a way to create an external file to attach to the apache directives. Is it possible? These are only two domains that I redirect to the main php controller folder: Code: RewriteCond %{HTTP_HOST} [a-z]\.website1000\.[a-z]+$ [NC] RewriteRule ^/(.*) http://www.website1000.com/public/$1 [L] RewriteCond %{HTTP_HOST} [a-z]\.website1001\.[a-z]+$ [NC] RewriteRule ^/(.*) http://www.website1001.com/public/$1 [L] thanks for your precious help.
You can use the apache include directive in the apache directives field to include a external file in into the vhost configuration.
I have tested your suggestions but I have discovered that the modification of the Apache Directive doesn't copied in the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf What I have do: I have opened the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf file then I insert the Include row and I save the file I have rebooted the apache service and it has worked good Now I have deleted the Include from the administration Apache Directive page of the customer website and the Include row is disappeared from the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf can u help me please? Seems that the Apache Directive doesn't accept the Include directive.
Thats not the case. I use it for several sites. You posted above that your httpd.conf file does not get written, so please do what I described in the other thread that I linked above to find the problem in your httpd.conf.