wpg2 rewrite rules and lighttpd

fredriks

Joined: 2007-10-17
Posts: 1
Posted: Wed, 2007-10-17 01:54

Im trying to get pretty urls to work with wpg2 under lighttpd. Has anyone done this before and are willing to share some pointers? I've been playing around a bit but with little success.

 
capt_kirk

Joined: 2006-01-24
Posts: 492
Posted: Wed, 2007-10-17 02:45

Sorry, I've only used Apache on Linux and Windows via XAMPP.

Some background to help you troubleshoot. There are three parts to the rewrites. Under Apache with mod_rewrite, both /gallery2/.htaccess and /wordpress/.htaccess (under the actual directories, if named differentl) are written to with the appropriate rewrite rules. (Two of three parts.) The third part is the internal WP rewrite array, which is populated with the same rewrite rules as in /wordpress/.htaccess. You have to have both the internal WP rewrite array and /wordpress/.htaccess for the rewrites to work. That's why we require that you use mod_rewrite instead of the php pathinfo or isapi (spelling?) rewrite methods in G2. Right now, neither of them work correctly in WPG2. We spent several hours trying to get them to work for WPG2 3.0 and decided to put off further attempts until 3.1.

Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website

 
etegration

Joined: 2003-10-06
Posts: 21
Posted: Fri, 2007-10-19 12:23

i see! the closest i got was not working and no wonder no matter what i did, it does not work. I enable disable the mod rewrite in G2, it fails, i suppose the .htaccess for /gallery2 is modified, i went back to wordpress, the .htaccess is updated. When in wp, click the wpg2 menu again in /wp-admin, it gets disable automatically again. Hopefully 3.1 will be good news!