ForceType versus mod_rewrite
Posted: Tue Aug 09, 2005 12:44 pm
This is slightly related to my Front Controller thread:
I'm trying to figure out the advantages/disadvantages of using ForceType versus mod_rewrite to generate clean URLs. (I'm leaving out the custom 404 method as I feel its polluting of the error log is a strong enough disincentive.)
I've been using ForceType so far, but one little details is making me want to explore mod_rewrite. Most tutorials I've seen only list one or the other and don't go into details as to their trade-offs.
Assuming you have sufficient control of httpd.conf and/or .htaccess, what are the pros/cons?
As I see it:
ForceType:
Pros: Simpler, less processing?
Cons: Extentionless scripts confuse phpDocumentor, configuration can get more psread out
and the flip for mod_rewrite.
I'm trying to figure out the advantages/disadvantages of using ForceType versus mod_rewrite to generate clean URLs. (I'm leaving out the custom 404 method as I feel its polluting of the error log is a strong enough disincentive.)
I've been using ForceType so far, but one little details is making me want to explore mod_rewrite. Most tutorials I've seen only list one or the other and don't go into details as to their trade-offs.
Assuming you have sufficient control of httpd.conf and/or .htaccess, what are the pros/cons?
As I see it:
ForceType:
Pros: Simpler, less processing?
Cons: Extentionless scripts confuse phpDocumentor, configuration can get more psread out
and the flip for mod_rewrite.