Jump to content

Broken .htaccess directives


jbbdude

Recommended Posts

I discovered that an .htaccess file was breaking a site of mine, throwing an "Options not allowed here" error, with Plesk which had previously worked with cPanel. I saw that this is a known issue. Disabled htaccess, index page loaded but everything else was broken due to needing mod rewrite... which works on another site. Checked Plesk help, but their suggestions don't work because we don't have access to the Apache & nginx Settings controls.

So... I just troubleshooted. Commented line by line. I discovered the offending line:

Options -Indexes

Ideally, I'd like to have them disabled, but getting the site back online was good.

Anyway, I'm posting this because I thought I'd document specifically which .htaccess directive is broken. This could help either Heliohost admins trying to resolve the .htaccess issues, or site admins trying to troubleshoot their own .htaccess issues. I would encourage other admins who figure out other troublesome directives to share them here for the same purposes.

Apologies if this thread is disruptive, duplicative, in the wrong place, etc. I searched to see if this existed already and found nothing.

Link to comment
Share on other sites

Yeah, the indexes option is one of the known causes of this. Krydos hopes to figure out why these don't work and restore them at some point, but right now getting account creation working is a higher priority.

In the meantime, you can just put an empty index.html in the folders instead to suppress unwanted directory listings.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...