[pLog-svn] Htaccess update

Oscar Renalias oscar at renalias.net
Wed Feb 28 13:10:14 EST 2007


If you were getting errors in your log files it's beacause you had  
something wrong in the first place. When using subdomains or custom  
URLs, you should not be getting any 40x errors at all and if you did,  
you should have removed the ErrorDocument parameters from  
your .htaccess and then see what was failing. Otherwise error.php is  
only needed for the so-called "search engine friendly" URLs.

On 28 Feb 2007, at 17:43, Ayalon wrote:

> 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