[pLog-svn] Htaccess update

Ayalon ayalon at blog.nl
Wed Feb 28 12:20:52 EST 2007


Update: Everything is working, but you have to delelte the corresponding
files to the -f

So for example:

/page Is not working if the page file is in the Rewritebase, same with
archives etc.

Anybody willing to add this to the environment? Or does somebody see any
possible problems?

-----Oorspronkelijk bericht-----
Van: plog-svn-bounces at devel.lifetype.net
[mailto:plog-svn-bounces at devel.lifetype.net] Namens Ayalon
Verzonden: woensdag 28 februari 2007 16:44
Aan: plog-svn at devel.lifetype.net
Onderwerp: [pLog-svn] Htaccess update

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


_______________________________________________
pLog-svn mailing list
pLog-svn at devel.lifetype.net
http://limedaley.com/mailman/listinfo/plog-svn




More information about the pLog-svn mailing list