Alias /webmail

#1
Hi, there!
I'm totally a new user of LiteSpeed and I got stuck trying to move my bash scripts from Apache + Nginx (proxy) to single configuration using LiteSpeed.
I've spent 2 days and didn't succed to move above code part to OpenLiteSpeed.

Code:
Alias /webmail /usr/local/www/roundcube

<Directory /usr/local/www/roundcube>
    AllowOverride None
    Require all granted
</Directory>

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

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

<Directory /usr/local/www/roundcube/logs>
    Order Deny,Allow
    Deny from All
</Directory>
Thank you in advance!
 

Cold-Egg

Administrator
#2
Maybe you can set a context from the virtual host. Go to web admin at port 7080 > Virtual hosts > xxx > Context > Static type, and set following values.
  • URI: /webmail/
  • Location: /usr/local/www/roundcube
  • Accessible: Yes
Click the Save button and do a graceful restart OLS.
Let us know if it works.
 
Top