Squirrelmail can't inclde required dirs

Discussion in 'Installation/Configuration' started by SparkyRih, May 12, 2014.

  1. SparkyRih

    SparkyRih Member

    So I'm running into serveral issues since the upgrade to the latest ISPConfig and Ubuntu 13.10 (Apache 2.4) updates...

    The issue that I'm having now is that I can't access the webmail (SquirrelMail), at first I got a 404 error wen I tried to go to "example.com/webmail", but that's an easy issue, so that's solved, but now I get the following issue in the logs:

    Failed opening required '/usr/share/squirrelmail/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

    I think it has something to do with Apache 2.4, because it can't include outside of the www dir anymore? Or am I at the wrong track?

    Edit: Even when I empty (comment out) the squirrelmail index.php and put just one echo in it it gives the same error (or there msut be a cache somewhere that I don't know of)...
     
    Last edited: May 13, 2014
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Run the following command to enable the Apache modules suexec, rewrite, ssl, actions, and include (plus dav, dav_fs, and auth_digest if you want to use WebDAV):

    Further to initiliase the squirrelmail with apache2.4
    we need to enable the squirrelmail with apache2.4 use

     
  3. SparkyRih

    SparkyRih Member

    Al modules are already enabled (I've ran the command).

    But I can't run the a2enconf:

    ERROR: Conf squirrelmail does not exist!

    But the squirrelmail.conf is in the /etc/apache2/conf.d folder...
     
  4. srijan

    srijan New Member HowtoForge Supporter

    Please paste your

     
  5. SparkyRih

    SparkyRih Member

    total 100
    -rw-r--r-- 1 root root 7107 May 5 15:00 apache2.conf
    -rw-r--r-- 1 root root 9376 May 5 14:46 apache2.conf.bk
    drwxr-xr-x 2 root root 4096 May 5 16:59 conf-available
    drwxr-xr-x 2 root root 4096 May 12 23:21 conf.d
    drwxr-xr-x 2 root root 4096 May 1 01:16 conf-enabled
    -rw-r--r-- 1 root root 1782 Jul 20 2013 envvars
    -rw-r--r-- 1 root root 31063 Jul 16 2012 magic
    drwxr-xr-x 2 root root 12288 May 5 17:03 mods-available
    drwxr-xr-x 2 root root 4096 May 13 10:27 mods-enabled
    -rw-r--r-- 1 root root 768 May 1 00:21 ports.conf
    -rw-r--r-- 1 root root 315 Jul 20 2013 ports.conf.dpkg-dist
    drwxr-xr-x 2 root root 4096 May 12 23:18 sites-available
    drwxr-xr-x 2 root root 4096 May 5 13:54 sites-enabled
     
  6. srijan

    srijan New Member HowtoForge Supporter

    Proceed as follows

    then
    Further

     
  7. SparkyRih

    SparkyRih Member

    Thanks, I'll try it this evening...
     
  8. SparkyRih

    SparkyRih Member

    Works great! Thanks again!

    Should've seen that one line in the config file was commented, I think that was the main issue, but it works... Even the additional features that I've added to squirrelmail seem to work fine :)
     
  9. srijan

    srijan New Member HowtoForge Supporter

    Actually starting with apache2.4 squirrelmail starts in the way as I mentioned above was the necessary step to achieve the squirrelmail running well.
     

Share This Page