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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...