Rewrite rules for the lighttpd webserver
Posted: 15 Aug 2016, 05:05
Hello,
I deployed imagevue X3 on a lighttpd webserver with the following rewrite rules:
There are a couple of issues I was not able to resolve yet.
This seems to be used for the email process, which is currently not working in this setup.
I'm also not sure about /public/* and /check/* as I have not seen any links using them.
Related help resources I used:
Best Regards,
Stefan
I deployed imagevue X3 on a lighttpd webserver with the following rewrite rules:
Code
url.access-deny = ( ".(txt|yml)$" )
url.rewrite-once = (
"^/$" => "/index.php?/wedding/",
"^/app/" => "/index.php",
"^/panel/(.*)" => "/panel/$1",
"^/check/(.*)" => "/check/$1",
"^/render/(.*)$" => "/app/parsers/slir/index.php?/$1/",
"^/public/(.*)" => "/public/$1",
"^/content/(.*)" => "/content/$1",
"^/(.+)\.(html|json|xml|atom|rss|rdf|txt)$" => "/index.php?/$1",
"^/(.*)/$" => "/index.php?/$1/",
"^/(.*)$" => "/index.php?/$1/"
)- The first rewirte rule forwards to the "homepage", which is /wedding/ in my case. I didn't find a setting in Imagevue X3 to do this automatically. I'm sure it's there.
- On a brand new install, the diagnostics in Imagevue X3 is killing my php-fpm process entirely. I have to first start up without rewirte rules, go to the panel, deactivate diagnostics, activate the rewrite rules and then everything works just fine.
Code
"^/app/" => "/index.php",I'm also not sure about /public/* and /check/* as I have not seen any links using them.
Related help resources I used:
- https://forum.photo.gallery/viewtopic.p ... 17&p=37453
- https://www.hiawatha-webserver.org/forum/topic/2130
Best Regards,
Stefan