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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th April 2011, 15:02
raaafa raaafa is offline
Junior Member
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Redirect to web page when traffic quota is exceeded

How to redirect to web page when traffic quota is exceeded. Regards
Reply With Quote
Sponsored Links
  #2  
Old 14th April 2011, 18:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

There is no function available that does a redirect. But you can e.g. add a default vhost in the apache config which will catch automatically all requests for not configured or disabled / overquota websites.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th April 2011, 10:04
raaafa raaafa is offline
Junior Member
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default how I do it?

I have little experience configuring apache, I think how the vhost?

Very thank you
Reply With Quote
  #4  
Old 26th April 2011, 13:30
raaafa raaafa is offline
Junior Member
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How to create the vhost ?
Reply With Quote
  #5  
Old 23rd October 2012, 22:40
cubric cubric is offline
Junior Member
 
Join Date: Nov 2011
Posts: 9
Thanks: 4
Thanked 0 Times in 0 Posts
 
Default

on httpd.conf make this changes this work for me!

Code:
<VirtualHost (yourserverIP) 192.168.1.1:80>
    ServerAdmin webmaster@your host name.tld
DocumentRoot /your/directory/path
ServerName yourhostname.tld
    ErrorLog /var/log/srv-error_log
    CustomLog /var/log/srv-access_log common
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /your/directory/path
ServerName your host name.tld
<Directory "/your/directory/path">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
Reply With Quote
Reply

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
ispconfig 3.0.1.6: web traffic stats counter seems to have a max value Justin Albstmeijer General 3 18th December 2009 09:45
how to route proxied web traffic out alternate gateway gluker Server Operation 1 13th November 2008 13:50
Problems with Wordpress based web page after installing Ispconfig Mole Installation/Configuration 50 9th May 2008 11:07
Quota Limits and Traffic Limits Not Working protocol Installation/Configuration 12 20th March 2007 09:56
Mail quota exceeded! Problems stefanr Installation/Configuration 10 18th January 2006 19:28


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


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