Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Waldorf

Pages: [1]
1
E-Mail / Re: webmail alias
« on: January 28, 2015, 10:37:16 PM »
In /usr/local/apache/conf/httpd.conf create an alias to the roundcube directory:

Code: [Select]
Alias /roundcube /usr/local/apache/htdocs/roundcube
and add the directory settings:

Code: [Select]
<Directory /usr/local/apache/htdocs/roundcube>
    Options -Indexes
    AllowOverride All
</Directory>

<Directory /usr/local/apache/htdocs/roundcube/config>
    Order Deny,Allow
    Deny from All
</Directory>

<Directory /usr/local/apache/htdocs/roundcube/temp>
    Order Deny,Allow
    Deny from All
</Directory>

<Directory /usr/local/apache/htdocs/roundcube/logs>
    Order Deny,Allow
    Deny from All
</Directory>

Add the following directory setting to /usr/local/apache/conf.d/vhosts.conf:

Code: [Select]
<Directory /usr/local/apache/htdocs/roundcube>
    Options -Indexes
    AllowOverride All
    <IfModule mod_suphp.c>
         suPHP_Engine On
         suPHP_UserGroup nobody nobody
     </IfModule>
</Directory>

Finally, configure suphp to allow access to the round cube directory by adding the roundcube directory to the docroot in /usr/local/apache/conf.d/suphp.conf. You can also set check_vhost_docroot to false, but this is not recommended as it is a potential security risk.

Hope this helps... 

Pages: [1]