What doesn't work? You did install mod_rewrite for Apache?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
You might need to compile it for apache by using configure with the appropriate module string (--enable=rewrite or sth like it).
You might want to search an apache forum for more help on this issue, as it's unrelated to serendipity...
Good luck,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
I've embedded my serendipity installation into an exsting html page. Works fine, until I try to click on the extended body, and it heads off to /archives.
If the "cms" path is executed, I suppose the wrapper gets executed again,and thus appends "cms/" to the request-uri again. So you'll need to first check whether "cms/" is already contained in that file, and only append it, if it isn't...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
The problem though is that the wrapper will never get called if I follow the natural /cms/archives link from my embedded page, as the wrapper is only called in my index page, not subsequent pages.
So how am I going to fool serendipity into calling my ../index.php to load each link cleanly I wonder, and not /cms/archives......
---- EDIT -----
I got it working by using "/blackwater/index.php?cms/" as my Relative Path. Works just fine now.
BUT
I suddenly realise that I'm not comfortable with someone browsing to say cms/index.php and running the content from there. I need to force the user to jump back to ../index.php.
So my option at this stage might be to move serendipity back into the root, and attempt the wrapping logic within the same folder perhaps? I know if I cracked this it would be plain sailing from here on out...
---- EDIT -----
And thats what I did. I had to add index.php? to the start of all my perma links, but it seems to work. I called my serendipity index file "contents.php". If anyone has a more graceful approach then let me know, for example how to prevent contents.php from being directly access in future, and ensuring that my index.php [which contains my templating] is actually called.