GitHost.io will be shut down on June 1, 2019. At that point this instance will be unreachable and all data will be irrevocably deleted. More details at https://about.gitlab.com/gitlab-hosted/#githost-is-shutting-down-on-june-1st-2019

Commit b6cfcfbc authored by mmn's avatar mmn

More info for a proper, fancy-url lighttpd setup

parent 40fe10e0
# Add this line to lighttpd.conf to enable pseudo-rewrites using 404s
server.error-handler-404 = "/index.php"
# if you're using vhosts, you should have per-vhost server.document-root settings too
#$HTTP["host"] =~ "^your\.domain\.com$" {
# NOTE: fastcgi/cgi/fpm config here if you're using per-user cgi/fpm
dir-listing.activate = "disable"
url.rewrite-once = (
"^/(.*)\.(.*)" => "$0",
"^/(avatar|file|js|plugins|theme)/" => "$0",
"^/(.+)$" => "/index.php/$1",
)
# Add this line to lighttpd.conf to enable pseudo-rewrites using 404s
# (required for fancy URLs)
server.error-handler-404 = "/index.php"
#}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment