Current time: 11-16-2024, 06:43 PM Hello There, Guest! (LoginRegister)


Post Reply 
mail subdomain alternative page
Author Message
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #2
RE: mail subdomain alternative page
Little HELP :

Make DIR :
mkdir /var/www/ispcp/gui/tools/domain_dissable/
Make Website:
nano /var/www/ispcp/gui/tools/domain_dissable/index.htm

In this file write text what you want on website

than save it and go on :

chown -R vu2000:www-data /var/www/ispcp/gui/tools/domain_dissable

nano /etc/apache2/sites-available/09-domain_dissable





insert the following content:

<VirtualHost XXX.XXX.XXX.XXX:80>
ServerAdmin webmaster@yourdomain.tld
DocumentRoot /var/www/ispcp/gui/tools/domain_dissable

ServerName XXX.yourdomain.tld
ServerAlias XXX.yourdomain.tld

ErrorLog /var/log/apache2/users/domain_dissable-error.log
TransferLog /var/log/apache2/users/domain_dissable-access.log
CustomLog /var/log/apache2/domain_dissable-traf.log traff
CustomLog /var/log/apache2/domain_dissable-combined.log combined

<IfModule suexec_module>
SuexecUserGroup vu2000 vu2000
</IfModule>

<Directory /var/www/ispcp/gui/tools/domain_dissable>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule mod_fcgid.c>
<Directory /var/www/ispcp/gui/tools/domain_dissable>
FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter.php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>

<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui/tools/domain_dissable>
php_admin_value open_basedir "/var/www/ispcp/gui/tools/domain_dissable/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>
</VirtualHost>


DONT FORGET : The data for <VirtualHost xxx.xxx.xxx.xxx:80, ServerAdmin und ServerName need to be adjusted with regard to your own conditions.

Than Save and exit and go on :




Enable the Site

a2ensite /etc/apache2/sites-available/09-domain_dissable



RELOAD Apache


/etc/init.d/apache2 force-reload

Hope it HELP Wink
04-19-2010 03:32 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
mail subdomain alternative page - Biox - 12-08-2009, 04:39 AM
RE: mail subdomain alternative page - sakal - 04-19-2010 03:32 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)