Maxscale and pacemaker on centos 7
13th Dec 2022
First define virtual path called virtualfolder. It can be any name actually. Then define subfilter what replaces slash with virtualfolder name.
location /virtualfolder/ {
sub_filter "/" "/virtualfolder/";
}
Any url in location will become /virtualfolder/
For this to work you would need also enabling in your google account "Less secure app access". It is under "My Account Page" and "Security". After this, edit .env file and add following:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
[email protected]
MAIL_PASSW...
Here is solution how to get clean urls working with Chevereto and Lighttpd
$HTTP["host"] =~ "example.com" {
server.document-root = "/usr/local/www/example.com/http/"
server.error-handler-404 = "/index.php"
}
This also works with admin and api url