Redirect to web page when traffic quota is exceeded

Discussion in 'General' started by raaafa, Apr 14, 2011.

  1. raaafa

    raaafa New Member

    How to redirect to web page when traffic quota is exceeded. Regards
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
  3. raaafa

    raaafa New Member

    how I do it?

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

    Very thank you
  4. raaafa

    raaafa New Member

    How to create the vhost ?
  5. cubric

    cubric New Member

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

    <VirtualHost (yourserverIP)>
        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 *:80>
    DocumentRoot /your/directory/path
    ServerName your host name.tld
    <Directory "/your/directory/path">
    allow from all
    Options +Indexes

Share This Page