View Single Post
  #1  
Old 29th October 2009, 19:51
vaio1 vaio1 is offline
Senior Member
 
Join Date: Jul 2007
Location: Italy
Posts: 664
Thanks: 77
Thanked 12 Times in 7 Posts
Default External Apache Directives

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.

Last edited by vaio1; 29th October 2009 at 19:54.
Reply With Quote
Sponsored Links