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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th August 2006, 09:40
Herbert Herbert is offline
Member
 
Join Date: May 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default Website disabled with custom page and redirect.

Is it posible to make a submit for disable websites in ISPConfig admin with a redirect to a custom page?
Example submit: AliasMatch ^/.*$ /var/www/disabled/disabled.html
It will be nice in the future..
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2006, 13:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Have you tried the Apache Directives field in ISPConfig? You can put your custom directives there.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 6th August 2006, 19:03
Herbert Herbert is offline
Member
 
Join Date: May 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Have you tried the Apache Directives field in ISPConfig? You can put your custom directives there.
Hi Falko,
i'm use alway's the Apache Directives field in ISPConfig.
I use: AliasMatch ^/.*$ /path/disabled/disabled.html

And for hotlinking:

<FilesMatch "\.(gif|jpe?g|png|bmp|pdf|zip|rar|mp3|js)$">
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.tld [NC]
RewriteCond %{REQUEST_FILENAME} !nohotlinking.gif$
RewriteRule .*\.(gif|jpe?g|png|pdf|bmp|pdf|zip|rar|mp3|js)$ http://domain2.tld/nohotlinking.gif [R]
</FilesMatch>
</Directory>
</VirtualHost>
Reply With Quote
  #4  
Old 7th August 2006, 13:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please post the vhost configuration from Vhosts_ispconfig.conf here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Redirect webmail page alex916 Installation/Configuration 1 22nd February 2006 14:36


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


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