0
votes
1answer
67 views

use IP depended rule in .htaccess to password protect a web folder

i use following code in .htaccess file to usr/psw protect a web folder. However i want to protect this folder only if its accessed outside of 192.168.178.* How can i do this? AuthUserFile ...
1
vote
2answers
464 views

Apache password protected directories. How to find out if .htaccess is reading the right .htpasswd file?

I'm trying to set up a protected directory on my Linux server that is running Apache. I'm following the instructions that my host has given me. Setting it up using Plesk control panel, doesn't ...
0
votes
1answer
512 views

Apache authentication inside a WordPress install

I am currently running into an issue with trying to password protect a directory that is sitting inside a directory that's running WordPress. This is for a directory called "admin" that handles a few ...
0
votes
1answer
481 views

Password Protect Virtual Directory With .htaccess

I have a site with a virtual directory structure like mysite.com/folder/title which is actually a .htaccess rewrite to mysite.com/f/index.php?p=title. I want to password protect the folder folder with ...
2
votes
1answer
2k views

How to exclude a sub-folder from HTaccess RewriteRule

I have WordPress installed in my root directory, for which a RewriteRule is in place. I need to password-protect a subfolder ("blue"), so I set the htaccess in that folder as such. Problem is that ...