Problem when writing 2 or more RewriteConds before the RewriteRule

Topics: Developer Forum, Project Management Forum, User Forum
Mar 18, 2009 at 3:17 PM
Edited Mar 18, 2009 at 3:57 PM
what is going on whie my post~3f why my text is being replaced by some kind a code. ~3cbr /~3e I am trying to make a rewrite rule to rewrite my subdomain into a variable. I have already did it but i want to exclude some subdomains that are valid and/or static like www ftp and mail. for example. ~3cbr /~3e ~3cbr /~3e RewriteCond ~25{HTTP_HOST} ~5bNC~5d ~3cbr /~3e //RewriteCond ~251 ~21~5e~28www|ftp|mail~29~24 ~5bNC~5d ~3cbr /~3e RewriteRule ~5e.~3f~24 /testeurl.php~3fusername~3d~251 ~5bL~5d ~3cbr /~3e ~3cbr /~3e the second line is commented to get it work. if i uncomment this line my rule will never be executed even trying strings for subdomain that has nothing related to the skip ones. never rewrite to testurl.php~3fusername~3d~251. plz can anyone help me. best regards~2c Murilo.