Jump to content

Index Of /


jpgabrin

Recommended Posts

Hey everyone, so here's the thing, i was using the Hamachi, but my game server growth, so i had to try heliohost, but here's the thing, i'm using "xampp" for the hamachi servers, and the site's working just fine, but when i uploaded the files to my public_html, only the first page shows up, the other ones are like "Index of /'

 

Sorry about my english! :P

Link to comment
Share on other sites

Have you tried clearing the cache of your browser? Also, can you post the link to your website so I can see if it works for me.

Yeah i did, habicornio.heliohost.org

 

What domains are they?

 

If you are using addon domains, the addon domain page in cPanel will list what folders the files need to be in for them to show up.

Sorry, didn't get much of what you said, i have to install this addon?

Link to comment
Share on other sites

The website habicornio.heliohost.org works properly for me.

 

I see this: http://imgur.com/a/hunx7

Yeah, it works properly to me too, but only that page!

When you register and try to change profile, or play the game, it gets "Index of /"

You see, after you register, there should be a page called "the domain/me", but instead, i got this: http://imgur.com/a/FrGiM

Link to comment
Share on other sites

If the /me/ folder is supposed to show whatever is in that me.php file (it errored when I viewed it), you should rename the me.php to index.php. Any folder you have will always show index.php when you open the folder without a filename on it.

 

http://habicornio.heliohost.org/me/ and http://habicornio.heliohost.org/me/index.php (file doesn't exist right now) will always show the same thing provided index.php exists in the public_html/me/ folder.

  • Like 1
Link to comment
Share on other sites

If the /me/ folder is supposed to show whatever is in that me.php file (it errored when I viewed it), you should rename the me.php to index.php. Any folder you have will always show index.php when you open the folder without a filename on it.

 

http://habicornio.heliohost.org/me/ and http://habicornio.heliohost.org/me/index.php (file doesn't exist right now) will always show the same thing provided index.php exists in the public_html/me/ folder.

So, i have to rename every page to "index.php" ?

Link to comment
Share on other sites

Each folder you have on your site should have a file named index.php in it.

 

The content of that file can be whatever you wish (and content can/will be different for each folder on your site), but the default file that you want to show when the folder is viewed should be named index.php. If no filename is given in a URL to a folder on your site, the server automatically tries to show index.php first, then it shows a directory listing (index of /) or error (403 Forbidden) if not found.

 

For example, I have http://raxsoft.com/raxccm/ (a folder without a filename). The server notices the lack of a file name and shows the index.php in the raxccm folder. That's the same thing as the user typing http://raxsoft.com/raxccm/index.php Other files can exist in that folder too (then you create links on your main page to them).

  • Like 1
Link to comment
Share on other sites

Each folder you have on your site should have a file named index.php in it.

 

The content of that file can be whatever you wish (and content can/will be different for each folder on your site), but the default file that you want to show when the folder is viewed should be named index.php. If no filename is given in a URL to a folder on your site, the server automatically tries to show index.php first, then it shows a directory listing (index of /) or error (403 Forbidden) if not found.

 

For example, I have http://raxsoft.com/raxccm/ (a folder without a filename). The server notices the lack of a file name and shows the index.php in the raxccm folder. That's the same thing as the user typing http://raxsoft.com/raxccm/index.php Other files can exist in that folder too (then you create links on your main page to them).

I see, could you explain me in step by step what to do?

 

 

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