Openlitespeed and /config (or custom) redirect issue

chrismfz

Verified User
Joined
Jul 3, 2019
Messages
33
Hello people. How do I tell openlitespeed to read httpd-alias.conf ?
In /usr/local/lsws/conf/httpd-alias.conf there isn't a /config like in /etc/httpd/conf:

[root@janus conf]# grep "config" /usr/local/lsws/conf/httpd-alias.conf
context /roundcube/config/ {
location /var/www/html/roundcube/config

[root@janus conf]# grep "config" /etc/httpd/conf/extra/httpd-alias.conf
Alias /config /var/www/html/redirect.php

Trying adding one more (/panel plus /config already in there) in /etc/httpd/conf/extra/httpd-alias.conf and execute:

cd /usr/local/directadmin/custombuild
./build rewrite_confs

Didn't helped.
Should I edit directly conf files in /usr/local/lsws ?
 
/usr/local/lsws/conf/httpd_config.conf is the main configure file.

it includes httpd-vhosts.conf, which include /usr/local/lsws/conf/httpd-alias.conf,

ips.conf: include /usr/local/lsws/conf/httpd-alias.conf as well.
 
Back
Top