can't upload to fold that has htaccess

Hey,

I have a basic admin area protected by htacess, however my file upload doesnt work when i add in the htacess file.

I’m assuming the htaccess is blocking the transfer of the file to the uploads folder (which is inside the folder which has htaccess).

How get round this without moving the folder outside of the htaccess folder - not secure.

Well, that would depend on the current .htaccess file. First, it would have to be rewritten to allow YOU access.
Since you are the ADMIN, you can change the .htaccess file to allow full access from your IP. Remember if you do that, someone else can copy files if on the same IP. (Of course, they would have to also know your ADMIN password, so that might be secure enough.)

.htaccess files are not “basic” ADMIN or “basic” security. Usually, you can use .htaccess files to protect folders from hackers, but, also, you allow some sort of “backdoor” so the ADMIN can get it. Another way around this would be to set up a secured FTP connection to that folder. It is one more layer to transfer the file, but, works.

Good luck…

Sponsor our Newsletter | Privacy Policy | Terms of Service