jpgabrin Posted April 24, 2017 Posted April 24, 2017 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!
iAbdullah Posted April 24, 2017 Posted April 24, 2017 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.
wolstech Posted April 24, 2017 Posted April 24, 2017 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.
jpgabrin Posted April 24, 2017 Author Posted April 24, 2017 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?
wolstech Posted April 24, 2017 Posted April 24, 2017 The website habicornio.heliohost.org works properly for me. I see this: http://imgur.com/a/hunx7 1
jpgabrin Posted April 24, 2017 Author Posted April 24, 2017 The website habicornio.heliohost.org works properly for me. I see this: http://imgur.com/a/hunx7Yeah, 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
wolstech Posted April 25, 2017 Posted April 25, 2017 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. 1
jpgabrin Posted April 25, 2017 Author Posted April 25, 2017 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" ?
wolstech Posted April 25, 2017 Posted April 25, 2017 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). 1
jpgabrin Posted April 25, 2017 Author Posted April 25, 2017 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?
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