I learnt from this Q&A: How to write "if...else" mod_rewrite statements in .htaccess that it is possible to implement If statement in .htaccess but on Apache 2.4 and above.
I learnt from this Q&A: htaccess if statement, how to ipmlement If statement for Apache less than 2.4 versions. The answer by @julp almost solves my problem, but I don’t think I am allowed to do the “appending thing” on Shared Hosting.
Is there any way to use If..Then..Else in .htaccess on Apache 2.2.29 on Shared Hosting Environment?
Aucun commentaire:
Enregistrer un commentaire