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


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 14:33
FTP cannot open remote folder!?! andysm849 Server Operation 23 17th October 2008 00:34
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 21:58
Can't start apache Musty Server Operation 12 9th March 2008 14:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45

All times are GMT +2. The time now is 18:08.

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