Search found 2 matches

by bwakkie
Sat Dec 01, 2007 10:31 am
Forum: Installation
Topic: Combining 2 rewrite rules possible?
Replies: 2
Views: 3106

Re: Combining 2 rewrite rules possible?

Hi!

Serendipity does not support running on different paths ("/" vs. "blog/"), so you'll always have problems with relative links using your syntax.

Your URL rewriting AFAIK does not reset the $_SERVER['REQUEST_URI'] variable, which is the variable that s9y needs to enable permalink detection ...
by bwakkie
Tue Nov 20, 2007 11:46 pm
Forum: Installation
Topic: Combining 2 rewrite rules possible?
Replies: 2
Views: 3106

Combining 2 rewrite rules possible?

Hi,

I have the following setup:

On my virtual host I did setup the following rewrite rule:

# Rewrite <subdomain>.mydomain.com/<path> to mydomain.com/<subdomain>/<path>
#
# Skip rewrite if no hostname or if subdomain is www
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\. [NC ...