View Single Post
  #12  
Old 25th August 2009, 19:34
Amorphous Amorphous is offline
Member
 
Join Date: Jun 2009
Posts: 61
Thanks: 27
Thanked 1 Time in 1 Post
Default

so far it seems it s going ok, more or less everithing is correcting itself, seems to be oki thanks alot , i havent seen that there were some updates from 3.0.1.3 , and many times i m a bit suspicious about beta releases, but so far it seems to be ok



one small, tiny little problem

i want to make mail.domain.com to show me the real address domain.com/webmail that leads me also to domain.com/webmail/src/login.php


i want to set the mail.domain.com file exacttly in this place, webmail/src/




i think i found the location of the src /usr/share/squirrelmail/src/ is this the one ?? if yes plsss guide me now to make the redirection form for mail.domain.com to that location thanks alot

can u please tell me where thi folder is located for centos , and where to change the settings for this location ? i guess something about vhosts but i don t knoe exacttly where is the that manages the vhosts.


l.e. : i guess i found also the vhost for the mail domain .... /etc/httpd/conf/sites-enabled/mail.domain.com.vhost

is this the place i have to edit the directoryes ?

if yes, this is the configuration so far: what i have to change in it ??

Note: the real domain name is edited by me in this post, for security reasons

<Directory /var/www/mail.domain.com>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>

<VirtualHost *:80>
DocumentRoot /var/www/mail.domain.com/web

ServerName mail.domain.com
ServerAdmin webmaster@mail.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 /var/www/mail.domain.com/web>
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/web33/web>
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/client1/web33/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client1/web33/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web33 client1
# 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"
php_admin_value upload_tmp_dir /var/www/clients/client1/web33/tmp
php_admin_value session.save_path /var/www/clients/client1/web33/tmp


</VirtualHost>


from my opinion, i have to change at least the documentroot directory to /usr/share/squirrelmail/src right ?? the other options suexec cgi-bin i leave unchanged or i change them as well ??

Last edited by Amorphous; 25th August 2009 at 19:46.
Reply With Quote