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

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -