Jump to content

Recommended Posts

Posted

Hi,

My website in Heliohost Steive Server is showing the directory listing when i go into a folder (www.xyz.com/folder). The directory listing gives off all the files in that folder. How can i remove this.

Posted

Hey,

you can add the option Options -Indexes to the .htaccess file in your folder. This will disable the directory listing function for this folder and all subfolders.

  • Like 1
Posted

Thank You.

 

It's now forbidden. But it also shows an internal error 404 like this....

 

Forbidden

You don't have permission to access /images/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an Error Document to handle the request.

 

Can you please tell me the reason.

Thank you.

Posted

That's just saying it can't find a custom error page for the forbidden error. It's normal if you don't have one set up.

 

If you'd rather show a pretty forbidden page that matches your site, you can set up some custom error pages in cPanel. You specify them by their error code (e.g. 404, 403, 500, etc.). That can be done here: http://stevie.heliohost.org:2082/frontend/x3/err/index.html

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...