mod_rewrite / errorhandling

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ormus7577
Regular
Posts: 122
Joined: Sat Nov 04, 2006 12:11 pm
Location: Ulm, Germany

mod_rewrite / errorhandling

Post by ormus7577 »

Hi everyone...

I'm no expert on this on, so I might just ask:

What are the downsides of deactivating mod_rewrite/apache errorhandling? Yahoo and Google re-authenticate the sites regulary (for sitemaps access) by checking a file in the root directory. But the .htaccess from mod_rewrite denies access and apache errorhandling doesn't work at my webspace.

Are there any security risks when deactivating errorhandling? Or even better: Is there a way to adjust the .htaccess to allow access to the specified authentication file (a simple html file)?

Thanx,
Christian
my installations:
family blog: http://familie.lobenstein.info/
personal blog: http://www.ormus.info/
OrmusTool Homepage: http://tool.ormus.info/
Online Adventskalender: http://www.ormus.info/pages/advent.html
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: mod_rewrite / errorhandling

Post by garvinhicking »

Hi!

The only reason for "pretty URLs" is for search engine optimization and visitors/owners of a blog feeling like "wow, ain't that a nice looking URL". :)

Actually, you even gain speed when not using URL rewriting. But that is maybe an impact of 0.0x percent.
Are there any security risks when deactivating errorhandling? Or even better: Is there a way to adjust the .htaccess to allow access to the specified authentication file (a simple html file)?
Sadly, if you have s9y in the root of your directory, we cannot remove the generic *.html handler, because that would break any custom permalinks.

If there is a way to make the bots check a specified file that does not end in .html or can be in a different directory, that would be preferable.

But you loose only better indexing of your page if you disable URL rewriting.

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/
Post Reply