Hello, I need to add one manual site: /home/john/public_html/squirrelmail-1.4.6/ that works with the domain webmail.the-domain.com I've added: Entry in Apache 2 sites-available: Code: $ cat /etc/apache2/sites-available/webmail_the-domain_com NameVirtualHost *:80 <VirtualHost *:80> ServerName webmail_the-domain_com DocumentRoot /home/john/public_html/squirrelmail-1.4.6 <Directory /home/john/public_html/squirrelmail-1.4.6> Options -Indexes SymLinksIfOwnerMatch MultiViews AllowOverride None Order allow,deny allow from all </Directory> LogLevel warn ServerSignature Off ErrorLog /var/log/apache2/webmail_the-domain_com.error.log CustomLog /var/log/apache2/webmail_the-domain_com.access.log combined </VirtualHost> Symlink from sites-enabled: Code: $ ls -l /etc/apache2/sites-enabled/ total 0 lrwxrwxrwx 1 root root 36 2005-06-30 22:11 000-default -> /etc/apache2/sites-available/default lrwxrwxrwx 1 root root 47 2006-04-12 05:55 050-webmail_the-domain_com -> /etc/apache2/sites-available/webmail_the-domain_com After apache2 reload (and restart) I can see the new log files, seems that apache2 «see» this configuration: Code: $ ls -l /var/log/apache2/webmail_the-domain_com* -rw-r--r-- 1 root root 0 2006-04-12 05:55 /var/log/apache2/webmail_the-domain_com.access.log -rw-r--r-- 1 root root 0 2006-04-12 05:55 /var/log/apache2/webmail_the-domain_com.error.log But when I type webmail.the-domain.com appears the ISPConfig «Shared IP» page, the /etc/apache2/vhosts/Vhosts_ispconfig.conf default page: Code: $ head -n 15 /etc/apache2/vhosts/Vhosts_ispconfig.conf ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 192.168.0.150:80 <VirtualHost 192.168.0.150:80> ServerName localhost ServerAdmin [email protected] DocumentRoot /var/www/sharedip </VirtualHost> # # Seems trivial, but I don't see the solution Any idea? Thanks! Regards, --Benjamí
Its not a good idae to use the "sites-available" configuration together with ISPConfig. To get squirrelmail as webmailclient: 1) Create a website webmail.the-domain.com in ISPConfig. 2) Go to the website directory that ISPConfig created for you and install squirrelmail inside this directory. You can just follow the squirrelmail installation instructions available in the squirrelmail .tar.gz bundle.
Thanks! Is one server with old web applications that works with http://ip/~user/application/ . Now have ISPConfig. Is necessary that I move all of old web applications to the ISPConfig domains? The problem is that some users have the habit of use http://ip/~user/application Regards.
Thanks for the clarification, falko Just curiosity: what's the technical reason because isn't good idea to use apache2 "sites-available"? Thanks again!
The simple rason is that every setting you do in apache2 "sites-available" might conflict with your ISPConfig settings and in most cases you wont get the expected results then.