workaround: Connection terminated unexpectedly

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

 



Hi List,

After finishing my previous post, someone pointed out to me a difference
in the setup:

On the three working installs, squirrelmail is setup using https and
virtual hosting, while on the fourth it was still the default
apache.conf (just an aliased directory) with http.

I tested more:

default apache.conf:
-------------------------------------------
Alias /squirrelmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
  php_flag register_globals off
  Options Indexes FollowSymLinks
  <IfModule mod_dir.c>
    DirectoryIndex index.php
  </IfModule>

  # access to configtest is limited by default
  #to prevent information leak
  <Files configtest.php>
    order deny,allow
    deny from all
    allow from 127.0.0.1
  </Files>
</Directory>

---------------------------------
Gives the unexpected terminations

Adding:

<VirtualHost myhost.foo.bar:80>
  DocumentRoot /usr/share/squirrelmail
  ServerName myhost.foo.bar
</VirtualHost>


And using the new url, does NOT give the unexpected terminations!

I don't know why, but putting things in a virtual host solves things.

I tried other things too, but this change seemed to be the neccesary one.

Hope this helps a lot of other readers of this list!

Marcel

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