[cgiapp] CGI::Application::Dispatch

Michael Peters mpeters at plusthree.com
Tue Feb 10 13:49:43 EST 2009


Lyle wrote:

> Which is way, way more SEO friendly.

Really? A .html extension makes it easier for Google (the only one that really matters 
http://www.codinghorror.com/blog/archives/001224.html) to find it? What evidence do you have for that?

> If someone knows the Apache config to get this down to:-
> yourdomain.com/run_mode.html

If you don't actually have any .html files then you can probably use a <FilesMatch> + mod_rewrite to 
change the URL to yourdomain/index/run_mode.html behind the scenes. But I'd worry about that 
situation because you're not including the modlue/application name in that URL. If you only have 1 
application module then you probably don't need Dispatch to begin with. And if you do add more later 
then you're going to have problems since you'll need to change all those urls, so hopefully no one 
has them bookmarked.

-- 
Michael Peters
Plus Three, LP



More information about the cgiapp mailing list