clueless Posted November 3, 2019 Posted November 3, 2019 I have an .index.html in a directory, such as /public_html/test/, but when you browse to http://example.heliohost.org/test/ it automatically gives you http://example.heliohost.org/test/index.php/ and pops a 404 error. note, it's going to a directory named /index.php/ you have to specifically type http://example.heliohost.org/test/index.html to get that page. the root directory has index.html which does work.I haven't messed with any .htacccessthe /test/ directory has no .htaccess how do I fix this? lemmy728bm.heliohost.orgtommy Quote
Krydos Posted November 3, 2019 Posted November 3, 2019 Do you have to have a directory named index.php? Quote
clueless Posted November 3, 2019 Author Posted November 3, 2019 (edited) no. nothing but an index.html and that's it. was playing around with .php scripts in that folder earlier, but they have been deleted. I created another directory for troubleshooting. that has no index.html or index.php just some random files. browsing to that directory lists the contents. it doesn't do this with the /test/ directory. (btw /test/ is an example, not an actual directory) Edited November 3, 2019 by clueless Quote
Guest pooks Posted November 3, 2019 Posted November 3, 2019 no. nothing but an index.html and that's it. was playing around with .php scripts in that folder earlier, but they have been deleted. I created another directory for troubleshooting. that has no index.html or index.php just some random files. browsing to that directory lists the contents. it doesn't do this with the /test/ directory. (btw /test/ is an example, not an actual directory)You should give the actual link, at least the path, so admins can look into your site files and see if anything is wrong. From my personal experience, .htaccess can be deadly or a lifesaver. Quote
Byron Posted November 3, 2019 Posted November 3, 2019 I've checked both your folders and both seem to be working. The directory with only the index.html gives me the weather. Try clearing your cache. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.