How to use if / else in .htaccess? -


i have .htaccess file using on multiple domains.

now have part of code must run on development site.

is possible put if / else statement in .htaccess file?

this part of code must run on dev. site

authtype basic authname "login required" authuserfile "/var/www/dev.mysite.com/.htpasswd" errordocument 401 default  <files "login.php"> require valid-user </files> 


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -