[cgiapp] CGI::Application::Dispatch
Lyle
webmaster at cosmicperl.com
Tue Feb 10 14:02:15 EST 2009
Michael Peters wrote:
> 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?
It won't make it any more likely to find it, but certainly more likely
to index it. Historically Google has always preferred .html pages over
anything else.
>> 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.
I was thinking of using it more to replace the query string. At the
moment I'm using some home made code to do what I want.
Lyle
More information about the cgiapp
mailing list