Hakkai’s Mod Rewrite

September 15th, 2006

I’ve finally managed to get around in implementing Apache’s mod_rewrite function for one of my fanlistings, namely my Cho Hakkai one. There was a lot of experimentation plus some trial and errors before I got it right.

One of the errors seems to be that since the new URLs were transformed from


http://hakkai.winglica.com/members.php?mode=members&cid=163

to


http://hakkai.winglica.com/members/cid/163/

that my server decided to get finicky on me.

I have to say that the whole thing is just too picky. In some cases, a trailing slash gives out an error while in some cases no trailing slash gives a 404.

Not to mention that I have to state the absolute URL for my images and style sheets because, the mod_rewrite rewriting the URL into folders, relative images don’t work on those ‘folders’ anymore.

Sigh. But I do suppose the whole process is worth it; as long as the Hakkai love grows. ^^

//edit
Also finished rewriting Kohaku of Spirited Away now.

  • Share/Bookmark
divider

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

divider

1 Comment »

Stella on September 16th, 2006 at 4:44 am
  1. Heyya Licorne! Long time no talk! :)
    Is that what happened with the whole SQL screw up thing? My network is still down because of that… I don’t even know what happened :( For example, my photoblog pages don’t even change when I click on the navigation. It was really weird 8O
    Good thing I read your post though, so now I somewhat know what happened :!:

RSS feed for comments on this post. TrackBack URL

Leave a comment

divider