Post Reply  Post Thread 
[SOLVED] subdomain webmail.* not working anymore after upgrade
Author Message
hendry
Junior Member
*


Posts: 69
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #1
[SOLVED] subdomain webmail.* not working anymore after upgrade

Just upgraded from RC2 to RC4 and the usersites still seem to work so good job everybody! Only one problem and that is that in my sites-enabled masterfile under apache I had 2 subdomains running for every customer: webmail and antispam wich linked to Maia. How can I enable this feature again? I've copied the following code to the same file again but then I get a 404 error

Quote:
# related URL to customers webmail
<VirtualHost xx.xx.xx.xx:80>

ServerAdmin <info@xxxxxxx.nl>
DocumentRoot /var/www/ispcp/gui/tools/webmail

ServerName webmail.admin.isp-domain.tld
ServerAlias webmail.*

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

<IfModule mod_fastcgi.c>
SuexecUserGroup vu2000 vu2000
</IfModule>

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

<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /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_php4.c>
<Directory /var/www/ispcp/gui/tools/webmail>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>

<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui/tools/webmail>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>

</VirtualHost>

# related URL to customers antispam
<VirtualHost xx.xx.xx.xx:80>

ServerAdmin <info@xxxxxxxxx.nl>
DocumentRoot /var/www/ispcp/gui/tools/antispam

ServerName webmail.admin.isp-domain.tld
ServerAlias antispam.*

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

<IfModule mod_fastcgi.c>
SuexecUserGroup vu2000 vu2000
</IfModule>

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

<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /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_php4.c>
<Directory /var/www/ispcp/gui/tools/antispam>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>

<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui/tools/antispam>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>

</IfModule>

</VirtualHost>


Am I doing something wrong or are things working different under RC4?[/quote]


Running ISPCP: RC5 14.06.08, including Maia 1.0.2
Server: Debian Etch 4.0

This post was last modified: 06-02-2008 11:33 PM by BeNe.

05-26-2008 07:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry
Junior Member
*


Posts: 69
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #2
RE: subdomain webmail.* not working anymore after upgrade

The error when trying to open a webmailsite is:

Not Found

The requested URL /php5/php5-fcgi-starter/index.php was not found on this server.


Running ISPCP: RC5 14.06.08, including Maia 1.0.2
Server: Debian Etch 4.0
06-02-2008 06:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry
Junior Member
*


Posts: 69
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #3
RE: subdomain webmail.* not working anymore after upgrade

Problem solved: I've edited the module part with:

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

<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /var/www/fcgi/master/
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_php4.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/tmp/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log$
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>
<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/tmp/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log$
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>

Now the sites are working again


Running ISPCP: RC5 14.06.08, including Maia 1.0.2
Server: Debian Etch 4.0
06-02-2008 08:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |