For example if you chmod a directory 000 in order to disable it
Like this http://protectedhost.com/test/
http://sph1.net/test
Instead of giving a php error displaying full path it should simply give a forbidden error. It does the same any time it cannot read any folder, despite the contents
Is there any quick fix for this? Its somewhat of a security risk because it displays full path giving the sites username on the server.
Seems like it should invoke an error page instead of trying to open autoindex
Despite error reporting off will still show this
Like this http://protectedhost.com/test/
http://sph1.net/test
Instead of giving a php error displaying full path it should simply give a forbidden error. It does the same any time it cannot read any folder, despite the contents
Is there any quick fix for this? Its somewhat of a security risk because it displays full path giving the sites username on the server.
Seems like it should invoke an error page instead of trying to open autoindex
Despite error reporting off will still show this
Last edited: