Jump to content

[Solved] index.html in a directory not recognized


clueless

Recommended Posts

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 .htacccess

the /test/ directory has no .htaccess

 

how do I fix this?

 

lemmy728

bm.heliohost.org

tommy

Link to comment
Share on other sites

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 by clueless
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...