Skip to content

Web server configuration

deseven edited this page Mar 21, 2017 · 2 revisions

Feel free to create an issue if you need help with web server configuration.

apache

Use .htaccess files from the demo.

lighttpd

Use url.rewrite-if-not-file = ( "^(.*)$" => "index.php?$1" ) for clean urls.
Use $HTTP["url"] =~ "^/pages/" { url.access-deny = ( "" ) } for pages directory protection, etc.

nginx

Use location / { try_files $uri $uri/ /index.php?$request_uri; } for clean urls.
Use location ^~ /pages/ { return 403; } for pages directory protection, etc.

Clone this wiki locally