News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Access Problem after use .htaccess from Admin Tools! - [Solved]

Started by barraclm, 05.12.2022 20:45:28

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

barraclm

Users are unable to download files using jDownload. They get a 403 forbidden message. I have established that this is definitely the result of a re-write rule in the .htaccess file. My hosting company have told me so (from their log files). Also, .htaccess derived from copying htaccess.txt allows the download but .htaccess derived from AdminTools .htaccess maker doesn't allow Downloads.

All my downloads are pdf files, however there are zillions of re-write rules in my .htaccess file and even lots with pdf in them. Does anyone have any idea which rule I need to amend or at least, what I should be looking for?
--------------------------------------------
Note from ColinM
See article
https://www.jdownloads.net/documentation-for-v3-9/general-items-v3-9/strange-faults-did-you-know-that
Section 'Admin Tools causing 403 Forbidden'
  •  

barraclm

Well, it wasn't a re-write rule issue and it was nothing to do with LiteSpeed. It was actually my .htaccess file, as created by Admin Tools, which was blocking user access to the download.

jDownloads is using directories outside of Joomla's standard locations for downloads. Admin Tools considers this to be "bad practice". So, if you are using an .htaccess file created by Admin Tools, it is necessary to explicitly include all jDownloads category sub-directories (this is easily done using the Admin Tools .htaccess maker tool). However, because the directory name cannot have spaces in it, this means that jDownloads category names cannot have spaces in them.

It would be great if this could be added to the documentation.
  •  

Arno

Thanks for this hint. But I do not understand why the folder names cannot have spaces in them. Dadurch ist diese Funktion von Admin Tools nicht zu gebrauchen und sollte auf keiner Webseite mit jDownloads verwendet werden. This makes this function of Admin Tools unusable and should not be used on any website with jDownloads.  >:(

I have contacted Colin and think he will add this to the documentation. Thanks!
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •