Help with .htaccess permissions

Hello,

I have a password-protected directory set-up at www.mysite.com/directory/. The credentials are working as they should.

However, none of my page assets (images, css, pdfs, scripts, etc.) are viewable in the directory unless they are located at the root of the directory folder. i.e. /directory/.

How can I set up my .htaccess file in /directory/.htaccess to allow all site files to be viewed in the directory?

i.e. I want all files to be viewed in the directory, even if they are called in places like:

/css/
/images/
etc.

… and also if they are called in places like:

/directory/css/
/directory/images/
etc.

Thank you

If you want files from that directory to be available what should be protected with password?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.