Im trying to write a RewriteCond, but is not working ... Anyone can help me please?
I have 2 websites, one is www.activecard.pt and its working properly, the other is www.accurex.pt which is not working ...
Here is a sample of my .htaccess code:
From www.activecard.pt :
RewriteCond %{HTTP_HOST} ^www\.activecard\.pt$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule ^porta-chaves-rfid/$ pages.php?tabela=activecard0111&id=7&grupo=1&tipo=2
and now, on the same .htacess i have this for www.accurex.pt:
RewriteCond %{HTTP_HOST} ^accurex\.pt$ [OR]
RewriteCond %{HTTP_HOST} ^www\.accurex\.pt$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule ^tags-rfid/$ pages.php?grupo=Tags%20RFID
Thanks in advance!