Page 1 of 1

mod_rewrite / errorhandling

Posted: Mon Nov 20, 2006 10:25 am
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

Re: mod_rewrite / errorhandling

Posted: Mon Nov 20, 2006 10:48 am
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