Author Topic: browse css and js lost if root not browsable  (Read 1673 times)

0 Members and 1 Guest are viewing this topic.

Offline mastabog

  • Regular poster
  • **
  • Posts: 18
    • View Profile
browse css and js lost if root not browsable
« on: April 28, 2013, 03:18:38 AM »
I added a subdirectory under root and made it browsable. There are no restrictions per user in either root or this dir. If the root dir / is not made browsable itself, then I can't see any of the styling (css) and neither of the javascript functions work. HFS issues a "403 forbidden":

Code: [Select]
GET /?mode=section&id=lib.js HTTP/1.1
Code: [Select]
GET /?mode=section&id=style.css HTTP/1.1
Code: [Select]
HTTP/1.1 403 Forbidden
Content-Type: text/html
Accept-Ranges: bytes
Server: HFS 2.3 beta
Content-Encoding: gzip

This is on beta #283

Online rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12846
    • View Profile
Re: browse css and js lost if root not browsable
« Reply #1 on: April 28, 2013, 07:55:58 PM »
thank you for reporting.
you'll find the fix in next release (284)