WordPress.org

Support

Support » Installation » [Resolved] Cherokee webserver and WordPress MU

[Resolved] Cherokee webserver and WordPress MU

  • I got WordPress MU and Cherokee webserver to work, here is how:

    3 rules need to be added to be processed before any others:

    1 – Rule Type: Complex:

    Rule:
    – Regular Expression: ^/blogs/([_0-9a-zA-Z-]+=/(wp-.*|.*\.php(\?.*|))$ AND
    – Not ( File Exists, Match any file, disabled all the other checkboxes )
    Handler: Redirection, 2 lines:
    – Type Internal, Regular Expression: ^/blogs/([_0-9a-zA-Z-]+)/(wp-.*)$ to Substitution: /blogs/$2
    – Type Internal, Regular Expression: ^/blogs/([_0-9a-zA-Z-]+/)/(.*\.php(\?.*|))$ to Substitution: /blogs/$2

    2 – Rule Type: Regular Expression:
    Regular Expression: ^/blogs/(.*)\.php(\?.*|)$
    Handler: FastCGI, Information source: PHP Interpreter. All options left as default.

    3 – Rule Type: Complex
    Rule:
    – Regular Expression: ^/blogs(.*)$ AND
    – NOT ( File Exists, Match any file, disabled all the other checkboxes )
    Handler:
    – Redirection: Internal, Regular Expression: ^/blogs/(.*)$ to Substitution: /blogs/index.php

    Our WPMU installation is in the folder /blogs/, so you need to adjust the regular expressions accordingly.

    Hope this helps someone!

Viewing 1 replies (of 1 total)
  • An updated version, with some fixes for wp-content.

    4 rules need to be added to be processed before any others:

    1 – Rule Type: Regular Expression:
    Rule:

    • Regular Expression: ^/blogs/.*files.*$

    Handler:

    • Redirection – Regular Expression: ^/blogs/(.*)files/(.*) to Substitution: /blogs/wp-content/blogs.php?file=$2

    2 – Rule Type: Complex:
    Rule:

    • Regular Expression: ^/blogs/([_0-9a-zA-Z-]+)/(wp-.*|.*\.php(\?.*|))$ AND
    • Not ( File Exists, Match any file, disabled all the other checkboxes )

    Handler: Redirection, 2 lines:

    • Type Internal, Regular Expression: ^/blogs/([_0-9a-zA-Z-]+)/(wp-.*)$ to Substitution: /blogs/$2
    • Type Internal, Regular Expression: ^/blogs/([_0-9a-zA-Z-]+)/(.*\.php(\?.*|))$ to Substitution: /blogs/$2

    3 – Rule Type: Regular Expression:
    Rule:

    • Regular Expression: ^/blogs/(.*)\.php(\?.*|)$

    Handler:

    • FastCGI, Information source: PHP Interpreter. All options left as default.

    4 – Rule Type: Complex
    Rule:

    • Regular Expression: ^/blogs(.*)$ AND
    • NOT ( File Exists, Match any file, disabled all the other checkboxes )

    Handler:

    • Redirection: Internal, Regular Expression: ^/blogs/(.*)$ to Substitution: /blogs/index.php

    Notes:
    This is for a WPMU installation in the subfolder “/blogs/”. Adjust accordingly for your own installation.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Cherokee webserver and WordPress MU’ is closed to new replies.
Skip to toolbar