Git Product home page Git Product logo

Comments (5)

AgentGod avatar AgentGod commented on June 16, 2024

I think you should try to put
Options -indexes
in .htaccess file

from engintron.

Friendbg avatar Friendbg commented on June 16, 2024

Thank you for your comment AgentGod, but this is not the answer that I wanted to hear. If you use engintron, can you try to create an account and then open his url address. If there is no index files in his document root , nginx will list all files/directories. Adding Options -indexes doesn't help in this situation, because nginx doesn't work with apache's htaccess files. There is the answer, but still can't find it.

Thanks

from engintron.

AgentGod avatar AgentGod commented on June 16, 2024

Hello,
I just made one subdomain to test your problem. So first before .htaccess file the folder was accessible as you describe
After the .htaccess file with Options -indexes option I have:

Forbidden
You don't have permission to access / on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

So .htaccess file is valid because nginx is just a proxy at the moment.
Another option is just to put some index file in Skeleton directory, so every created account will be with index file, so you wont worry about directories.
Even I use .htaccess file to limit login attempts only to certain IPs in several WP sites.

I hope that helps.

from engintron.

fevangelou avatar fevangelou commented on June 16, 2024

Nginx does not list directories by default - it simply proxies the page Apache serves. If you see the files, Apache is to blame.

from engintron.

Friendbg avatar Friendbg commented on June 16, 2024

Hey,

Sorry for the late reply. Just realised that the problem was because in whm > Service Configuration ยป
Apache Configuration , there was a tick in Indexes.

Wish you happy holidays =)

from engintron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.