Project

General

Profile

Lighttpd + WordPress Multisite + SubDirectories + Mod_magnet + "Add Site" = links not working/unformated site comes up

Added by cmweb over 13 years ago

Support,

Here are the details of my problem:

The Challenge: =====================

To get Lighttpd running PHP5 with MYSQL5 and Wordpress multisite working in a subdirectory on my domain - e.g. http://www.mysite.com/myblogs/(additional wp sites)

I have a MacMini G4 running Mac OSX 10.4.1 (Tiger)

What has been done so far: ============================

1) I have install lighttpd with ssl+CML and lua

2) I have installed and configured MySQL5 and PHP5.3 to work with lighttpd 1.4.6

3) I have Wordpress 3.0 install in a subdirectory of my site in a folder called "myblogs"

4) I have the module "mod_magnet" activated with rewrite code in the lighttpd.conf pointing to a rewrite.lua file in the "myblogs" directory (which is the wordpress install folder)

5) I created a subfolder called "blogs.dir" under the "wp-content" folder in my wordpress install folder, per the wordpress multisite instructions ( are you still with me?)

6) I successfully was able to set up the wordpress multisite install and access the Super Admin page

7) I successfully was able to customize the permalinks and test them on the super admin blog pages and they all work fine

8) I was able to "add a new site" from the super admin page called "myhome" with the url being "http://www.mysite.com/myblogs/myhome"

9) When I access the new site called "myhome", the page comes up with the fault formatting and none of the themes or links works. Clicking on them gives me a "Not found" error

10) FYI - I have given the permissions as "sudo chmod -R 744 * with ownership going to the server username and group name.

The Solution: =====================

Please advise on the solution to this issue. Thank you.

(see the mod_magnet rewrite.lua file, the lighttpd.conf file and the screenshot of new site as it appears)