Re: 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
...
> 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
....
>
> Can anyone give any clue what might be the problem here?

Have you restarted apache after you added
/var/www/vhosts/alphaworks.co.uk/squirrelmail/new settings?

Have you checked if things start working when you change squirrelmail
1.4.7 directory owner? It is owned by uid 1000. If you have
SymLinksIfOwnerMatch option in apache config, symlink by root to uid 1000
owned directory should not work.

Have you tried to use location without symbolic link?


-------------------------------------------------------------------------
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