clueless Posted November 3, 2019 Share 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 Link to comment Share on other sites More sharing options...
Krydos Posted November 3, 2019 Share Posted November 3, 2019 Do you have to have a directory named index.php? Quote Link to comment Share on other sites More sharing options...
clueless Posted November 3, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
Guest pooks Posted November 3, 2019 Share 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 Link to comment Share on other sites More sharing options...
Byron Posted November 3, 2019 Share 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 Link to comment Share on other sites More sharing options...
clueless Posted November 3, 2019 Author Share Posted November 3, 2019 that did it! thanks Quote Link to comment Share on other sites More sharing options...
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.