Configuration of a wordpress site served from a URL's directory (not the root) on LIGHTTPD
$HTTP["host"] =~ "^gubatron.com$|^www.gubatron.com$" { | |
server.document-root="/media/ebs/data/websites/gubatron.com/" | |
$HTTP["url"] =~ "\.git" { | |
url.access-deny = ("") | |
} | |
url.rewrite = ( | |
"^/blog/wp-admin/(.*)" => "$0", | |
"^/blog/(.*)\.(.+)$" => "$0", | |
"^/blog/(.+)/?$" => "/blog/index.php/$1" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment