hope this helps , i just found out myself
go to /etc/httpd/conf/sites-enabled/mail.domain.comvhost
assuming u allready created a website mail.domain.com, there u will find the virtualhost settings:
the settings initially look like this
<Directory /var/www/mail.domain.com> ( change this to /usr/share/squirrelmail )
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/mail.domain.com/web ( change this to /usr/share/squirrelmail )
ServerName mail.domain.com
ServerAdmin
webmaster@mail.domain.com ( change this with your real e-mail address , eg.:
master@domain.com )
ErrorLog /var/log/ispconfig/httpd/mail.domain.com/error.log (u can leave the error logs in the same place just for not complicating the settings from webmail )
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /var/www/mail.domain.com/web> ( change this to /usr/share/squirrelmail )
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /var/www/clients/client1/webXX/web> ( u can leave it unchanged)
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
# cgi enabled
<Directory /var/www/clients/clientX/webXX/cgi-bin> ( leave this unchanged )
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/clientX/webXX/cgi-bin/ ( leave this unchanged )
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup webXX clientX
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i
-fwebmaster@mail.domain.com" (change the e-mail address )
php_admin_value upload_tmp_dir /var/www/clients/clientX/webXX/tmp (same unchanged )
php_admin_value session.save_path /var/www/clients/clientX/webXX/tmp (unchanged )
</VirtualHost>
in the end the final vhost settings will look like this:
<quote>
<Directory /usr/share/squirrelmail>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost *:80>
DocumentRoot /usr/share/squirrelmail
ServerName mail.domain.com
ServerAdmin
master@domain.com
ErrorLog /var/log/ispconfig/httpd/mail.domain.com/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /usr/share/squirrelmail>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
<Directory /usr/share/squirrelmail>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
# ssi enabled
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +Includes
</Directory>
# cgi enabled
<Directory /var/www/clients/clientX/webXX/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/clientX/webXX/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup webXX clientX
# mod_php enabled
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i
-fmaster@domain.com"
php_admin_value upload_tmp_dir /var/www/clients/clientX/webXX/tmp
php_admin_value session.save_path /var/www/clients/clientX/webXX/tmp
</VirtualHost>
</quote>
restart httpd and ure done
Accesing
http://mail.domain.com u will get the answer
http://mail.domain.com/src/login.php
This is strictly for squirrelmail, but i think it can work easilly
NOTE: do not try to set the location directl;y to the src folder, it won t work trust me

i tryed allready
i hope it helps u

at least for me worked perfectly
Recent comments
1 day 8 hours ago
1 day 8 hours ago
1 day 13 hours ago
1 day 20 hours ago
1 day 20 hours ago
1 day 22 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 14 hours ago