Comments (5)
I think you should try to put
Options -indexes
in .htaccess file
from engintron.
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.
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.
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.
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)
- Engintron compatibility with Ubunut 20 HOT 1
- WSS Help HOT 4
- Engintron v2.1 - Suspend cPanel account/Unsuspend Cache Problem
- Ngix - Edit default_https.conf
- Apache log :ffff:
- Cache - New SSL certificates HOT 7
- net::ERR_HTTP2_PROTOCOL_ERROR
- http/2 support missing HOT 3
- Development and roadmap HOT 2
- Welcome to nginx on CloudLinux (Default Page Issue) HOT 3
- Error pages appear apache
- Welcome to nginx on cloudlinux! HOT 2
- Ask for supporting RHEL 9 HOT 1
- AlmaLinux-Blank Page
- How to log Awstats IPV6 countries taffic
- Appreciation HOT 2
- Solution!!! Welcome to nginx on CloudLinux (Default Page Issue) For CL8 or CL9 AL9
- Ability to customize the Apache SSL port HOT 1
- Is Enigtron 2.2 compatible with cPanel 110.0x? HOT 6
- Nginx crashes when placing custom rules HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from engintron.