J-BusinessDirectory - .htaccess restrict uploading the pictures in front & backend.

Support Forum

 
 

 

I have the following issue:

The .htaccess generate by the Admin Tools restrict uploading the pictures in front & backend.
I add in "exceptions are allowed" media folder in front & backend, but doesn't work. I cannot load pictures at all.

But, if I replace the .htaccess generated by the Admin Tools with one (Original) coming with Joomla 3.6.2 installation everything is work perfect.

For security reason .htaccess file generated by the Admin Tools must be in place to protect the website.

Can you please help me in providing the code for adding in the .htaccess (generate by the Admin Tools) to allow the pictures to be uploaded to the J-Business Directory. I'm sure other people have the same problem.

Thanks for the support.
Mark

3 replies

Hi Mark, 

 


You can compare the two .htaccess files and see the differences. Once you've done that you can research what the rules do  and create exceptions for the image upload on your website. 

Check that your www/non-www redirect matches the Joomla config

Hi,

 

On admin tool on "Allow direct access to these files" section you have to add

components/com_jbusinessdirectory/assets/upload.php
components/com_jbusinessdirectory/assets/remove.php

 
 
 

4 Item(s)

Show per page