when going to http://IP/~xyzxyzxyz/ not shown the file/folder structure but not found webpage?
-
That would also be my guess - it has to be loading the content from somewhere, so it's likely the /blog directory. 0 -
Yes, but the problem is shown folders and files, if having index.php or index.html there is no problems, how to setup Apache or .htaccess or php if i access a directory not showing results of directory but rather not found page or 404.php page... I had knew to do thus, but have been forgotten... since... any suggestions how, if no route see not found apache errors rather than folders/files structures and names? 0 -
Put Options -Indexes in .htaccess 0 -
.htaccess only one file in root /.../public_html/ And For not listed files But rather see errors not found or setup the 404.php page, correct? 0 -
In this kind of situations I always SSH to the server, go to the public_html folder in question, and do: touch index.html For my opinion, if someone goes to the site it's better they don't see anything, not even an error message. 0 -
Yes, but if web app has 300 folders/subfolders...? 0 -
These is index.php or index.html in every folder, or if not then it's a lousy app :rolleyes: 0 -
No, there is a setting in LAMP Server that makes this (but got foget it), you don't need index.php or index.html... in every folder,... I will search soon, online to find it 0 -
Changing the Indexes option like @quietFinn mentioned will display the directory listing. 0 -
Yes, did this - disable indexes checkbox - from my VPS WHM/cPanel, and now removed the dir file system shown 0 -
I'm glad that worked well! 0
Please sign in to leave a comment.
Comments
12 comments