Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 29th October 2009, 18: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 18:54.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Can't start apache Musty Server Operation 12 9th March 2008 13:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 06:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.