Problem upgrading SM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm having problems in upgrading from 1.4.6 to 1.4.7. I've recently moved to a new server and 1.4.6 was the version I installed originally. The installation of SM is shared between a number of domains on the webserver. I've used symbolic links to let the various domains point at a constant path. In the view below the subdomain's root (http://mail.alphaworks.co.uk/) points at /var/www/vhosts/alphaworks.co.uk/squirrelmail/current/ :

[root@lvps212-241-195-198 squirrelmail]# ls -la
total 13
drwxr-xr-x   7 root root  1024 Aug  5 04:27 .
drwxr-xr-x  22 root root  1024 May 26 12:28 ..
drwxrwxrwx   2 root root  1024 May  2 19:57 attachments
lrwxrwxrwx   1 root root    19 Aug  4 23:18 current -> squirrelmail-1.4.6/
drwxrwxrwx   2 root root  5120 Aug  4 14:19 data
drwxr-xr-x  16 root root  1024 Aug  4 21:45 squirrelmail-1.4.6
drwxr-xr-x  16 1000 users 1024 Aug  4 23:17 squirrelmail-1.4.7
drwxr-xr-x   2 root root  1024 Aug  5 03:38 test
I then create a new symbolic link (served by http://mail.alphaworks.co.uk/new/) called 'new' to let me test the new version without breaking the existing install:

[root@lvps212-241-195-198 squirrelmail]# ln -s squirrelmail-1.4.6/ new
This gives:

[root@lvps212-241-195-198 squirrelmail]# ls -la
total 13
drwxr-xr-x   7 root root  1024 Aug  5 04:27 .
drwxr-xr-x  22 root root  1024 May 26 12:28 ..
drwxrwxrwx   2 root root  1024 May  2 19:57 attachments
lrwxrwxrwx   1 root root    19 Aug  4 23:18 current -> squirrelmail-1.4.6/
drwxrwxrwx   2 root root  5120 Aug  4 14:19 data
lrwxrwxrwx   1 root root    19 Aug  5 04:27 new -> squirrelmail-1.4.6/
drwxr-xr-x  16 root root  1024 Aug  4 21:45 squirrelmail-1.4.6
drwxr-xr-x  16 1000 users 1024 Aug  4 23:17 squirrelmail-1.4.7
drwxr-xr-x   2 root root  1024 Aug  5 03:38 test
and going to the URL which serves /var/www/vhosts/alphaworks.co.uk/squirrelmail/new/ gives me a working SM install.
I now delete the link and recreate it pointing at the new installation:

[root@lvps212-241-195-198 squirrelmail]# rm new
rm: remove symbolic link `new'? y
[root@lvps212-241-195-198 squirrelmail]# ln -s squirrelmail-1.4.7/ new

which gives:

[root@lvps212-241-195-198 squirrelmail]# ls -la
total 13
drwxr-xr-x   7 root root  1024 Aug  5 04:27 .
drwxr-xr-x  22 root root  1024 May 26 12:28 ..
drwxrwxrwx   2 root root  1024 May  2 19:57 attachments
lrwxrwxrwx   1 root root    19 Aug  4 23:18 current -> squirrelmail-1.4.6/
drwxrwxrwx   2 root root  5120 Aug  4 14:19 data
lrwxrwxrwx   1 root root    19 Aug  5 04:27 new -> squirrelmail-1.4.7/
drwxr-xr-x  16 root root  1024 Aug  4 21:45 squirrelmail-1.4.6
drwxr-xr-x  16 1000 users 1024 Aug  4 23:17 squirrelmail-1.4.7
drwxr-xr-x   2 root root  1024 Aug  5 03:38 test

and now going to the URL served by /var/www/vhosts/alphaworks.co.uk/squirrelmail/new/ gives a 403 response. The error log gives:

[Sat Aug 05 04:32:57 2006] [error] [client 212.183.134.129] Symbolic link not allowed: /var/www/vhosts/alphaworks.co.uk/squirrelmail/new

I don't understand this as the two directories containing the two versions look near identical to me and both are referred to by symbolic links:

[root@lvps212-241-195-198 squirrelmail]# ls -la squirrelmail-1.4.*/
squirrelmail-1.4.6/:
total 138
drwxr-xr-x  16 root root  1024 Aug  4 21:45 .
drwxr-xr-x   7 root root  1024 Aug  5 04:32 ..
-rw-r--r--   1 root root  8477 Feb 12 07:35 AUTHORS
-rw-r--r--   1 root root 15228 Sep 12  2005 COPYING
-rw-r--r--   1 root root 67810 Feb 23 22:17 ChangeLog
-rw-r--r--   1 root root  8864 Dec  4  2005 INSTALL
-rw-r--r--   1 root root  2635 Aug  3  2005 README
-rw-r--r--   1 root root  4771 Feb 23 22:17 ReleaseNotes
-rw-r--r--   1 root root  4718 Nov 10  2005 UPGRADE
drwxr-xr-x   5 root root  1024 Feb 23 22:21 class
drwxrwxr-x   2 root root  1024 Jun 15 23:35 config
-rwxr-xr-x   1 root root   102 Aug  2  2005 configure
drwxr-xr-x   3 root root  1024 Feb 23 22:21 contrib
drwxrwxrwx   2 root root  1024 May  3 00:25 data
-rw-r--r--   1 root root   544 May  8 22:42 dns_test.php
drwxr-xr-x   4 root root  1024 Feb 23 22:21 doc
drwxr-xr-x   4 root root  1024 Feb 23 22:21 functions
drwxr-xr-x   3 root root  1024 Feb 23 22:21 help
drwxr-xr-x   2 root root  1024 Feb 23 22:21 images
drwxr-xr-x   3 root root  1024 May  3 00:49 include
-rw-r--r--   1 root root   684 Feb  3 23:27 index.php
drwxr-xr-x   2 root root  1024 Feb 23 22:21 locale
drwxr-xr-x  29 root root  1024 Jul  2 19:53 plugins
drwxr-xr-x   2 root root  1024 Feb 23 22:21 po
drwxr-xr-x   2 root root  2048 Jun 16 02:05 src
drwxr-xr-x   3 root root  2048 Feb 23 22:21 themes

squirrelmail-1.4.7/:
total 139
drwxr-xr-x  16 1000 users  1024 Aug  4 23:17 .
drwxr-xr-x   7 root root   1024 Aug  5 04:32 ..
-rw-r--r--   1 root root   8345 Apr  5 18:05 AUTHORS
-rw-r--r--   1 root root  15228 Sep 12  2005 COPYING
-rw-r--r--   1 root root  70774 Jun 26 17:08 ChangeLog
-rw-r--r--   1 root root   8810 Mar 11 14:52 INSTALL
-rw-r--r--   1 root root   2635 Aug  3  2005 README
-rw-r--r--   1 root root   4745 Jul  4 20:47 ReleaseNotes
-rw-r--r--   1 root root   4718 Nov 10  2005 UPGRADE
drwxr-xr-x   5 root root   1024 Jul  4 20:53 class
drwxrwxr-x   2 root root   1024 Aug  4 21:24 config
-rwxr-xr-x   1 root root    102 Aug  2  2005 configure
drwxr-xr-x   3 root root   1024 Jul  4 20:53 contrib
drwxrwxr-x   3 root root   1024 Aug  4 21:17 data
drwxr-xr-x   4 root root   1024 Jul  4 20:53 doc
drwxr-xr-x   4 root root   1024 Jul  4 20:53 functions
drwxr-xr-x   3 root root   1024 Jul  4 20:53 help
drwxr-xr-x   2 root root   1024 Jul  4 20:53 images
drwxr-xr-x   3 root root   1024 Jul  4 20:53 include
-rw-r--r--   1 root root    684 Feb  3 23:27 index.php
drwxr-xr-x   2 root root   1024 Jul  4 20:53 locale
drwxr-xr-x  29 root root   1024 Aug  4 21:23 plugins
drwxr-xr-x   2 root root   1024 Jul  4 20:53 po
drwxr-xr-x   2 root root   1024 Jul  4 20:53 src
drwxr-xr-x   3 root root   2048 Jul  4 20:53 themes
[root@lvps212-241-195-198 squirrelmail]#
The relevant part of the Apache config is:

<IfModule mod_ssl.c>
        <VirtualHost 212.241.195.198:443>
                ServerName   mail.alphaworks.co.uk:443
                UseCanonicalName Off
                DocumentRoot /var/www/vhosts/alphaworks.co.uk/squirrelmail/current
                CustomLog  /var/www/vhosts/alphaworks.co.uk/statistics/logs/access_ssl_log plesklog
                ErrorLog     /var/www/vhosts/alphaworks.co.uk/statistics/logs/error_ssl_log
                Alias  /new /var/www/vhosts/alphaworks.co.uk/squirrelmail/new
                SSLEngine on
                SSLVerifyClient none
                SSLCertificateFile /usr/local/psa/var/certificates/certir10775
                <Directory /var/www/vhosts/alphaworks.co.uk/squirrelmail/current>
                        <IfModule sapi_apache2.c>
                                php_admin_flag engine on
                                php_admin_value open_basedir "/var/www/vhosts/alphaworks.co.uk/squirrelmail:/tmp"
                        </IfModule>
                        <IfModule mod_php5.c>
                                php_admin_flag engine on
                                php_admin_value open_basedir "/var/www/vhosts/alphaworks.co.uk/squirrelmail:/tmp"
                        </IfModule>
                        SSLRequireSSL
                        Options FollowSymLinks -Includes -ExecCGI
                </Directory>
                <Directory /var/www/vhosts/alphaworks.co.uk/squirrelmail/new>
                        <IfModule sapi_apache2.c>
                                php_admin_flag engine on
                                php_admin_value open_basedir "/var/www/vhosts/alphaworks.co.uk/squirrelmail:/tmp"
                        </IfModule>
                        <IfModule mod_php5.c>
                                php_admin_flag engine on
                                php_admin_value open_basedir "/var/www/vhosts/alphaworks.co.uk/squirrelmail:/tmp"
                        </IfModule>
                        SSLRequireSSL
                        Options FollowSymLinks -Includes -ExecCGI
                </Directory>
        </VirtualHost>

</IfModule>


Can anyone give any clue what might be the problem here?

Thanks,
Geoff


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux