WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Lighttpd Permalinks HELP (2 posts)

  1. zxb2
    Member
    Posted 6 years ago #

    I installed lighttpd, and I can't get WordPress to function correctly. Permalinks work fine but everything on the page is broken (CSS, images) and I can't access subdirectories like /forums/ on the site because it shoots me to the default WP error page.

    Here's my config:

    $HTTP["host"] =~ "^domain\.com$" {
    server.document-root = "/srv/www/lighttpd/domain.com/http"
    url.rewrite-once = (
    "^/(wp-.*)$" => "$1",
    "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2",
    "^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "$2",
    "." => "index.php"
    )
    }

  2. Kafkaesqui

    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic