magento .htaccess password protect inner pages (not homepage)

Posted by Angel Wong on Stack Overflow See other posts from Stack Overflow or by Angel Wong
Published on 2012-09-10T03:33:07Z Indexed on 2012/09/10 3:37 UTC
Read the original article Hit count: 90

Filed under:
|

I would like to use .htaccess to password protect all inner pages of Magento, except the home page. e.g. http://www.example.com/abc (password protect) http://www.example.com (home page, no need to password protect)

I tried to use the setifenv request_uri = "/" => allow, but didn't work. It still password protect all pages including the homepage. I also tried a few ways inside the Magento admin URL rewrite, but those won't work either.

Any expert can help? thx

E

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about magento