103 reputation
3
bio website
location
age
visits member for 2 years, 5 months
seen Feb 18 at 14:06

Feb
7
awarded  Editor
Feb
3
comment htaccess url rewriting for 1 folder
Thank you for the question. There are 2 .htaccess files: one in the root folder, the code is above. And another .htaccess file is in administration folder as well (.htpasswd is in administraion/secret). The second .htaccess is needed to enter a password only, no other rules are in it. So, #2 allows access upon correct password only, works fine. But not in case when I type www.domain.com/administration/index.php, it asks the password, but sends me to www.mydomain.com/401.shtml anyway.:(
Feb
3
asked htaccess url rewriting for 1 folder
Feb
3
awarded  Supporter
Feb
3
awarded  Scholar
Feb
3
accepted Possible way to move a project from one hosting provider to another one, so it doesn't stop working?
Dec
6
asked Possible way to move a project from one hosting provider to another one, so it doesn't stop working?