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
Krydos Posted November 3, 2019 Posted November 3, 2019 Do you have to have a directory named index.php?
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
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.
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now