[pLog-svn] Htaccess update

Ayalon ayalon at blog.nl
Wed Feb 28 10:43:38 EST 2007


Hi All,

As also posted on the forums:
http://forums.lifetype.net/viewtopic.php?p=33349

To keep errors out of the logfiles and to handle all the requested by the
server not by having errors in the logfiles when using subdomains and
friendly url's 

The only thing I have in my .htaccess is the following:

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog.php

This will do the job for almost everything, except the pager. This is not
working via this solution, probably because it's not handled the same way as
the posts and the categories are.

Anybody has an idea on this? If this works fine, we don't even need the huge
htaccess file anymore within lifetype and it will handle everything a lot
faster inside the environment as it doesn't have to pass the error.php
before finding the good file.

What do you guys think?

Regards,
Ayalon




More information about the pLog-svn mailing list