Jump to content

Recommended Posts

hi, ive recently installed the shockarcade on my website. it took me a while but i finally got everything working. the only problem is that all the files have to be in the root directory. the main file for the script is index.php so now when ever someone accesses my site the first page they see is the shockarcade page. ive tried renaming the schock arcade index.php file so that the homepage is my original index.htm but then the games dont work. i need to know how i can change the homepage so that whenever someone accesses my site they see index.htm rather than index.php. any help would be appreciated.

thanks
The default page name is set in the Apache configuration file httpd.conf - If you are on anything but a dedicated server, or you run your own server, I doubt your host will alter this.

You might be able to do something with a .htaccess file to alter this in your sites root, or it might even be worth playing with redirects in your scripts. Something like a meta refresh, or maybe with php's header() function?
o well, thanks anyway. i was just thinking, my real homepage was an index.htm file but when the index.php file went into the root directory it became the homepage instead, the index.htm file is still there its just no longer the homepage. in the same way is it possible theres another format of webpage that has preference over an index.php file?
[!--quoteo(post=356152:date=Mar 18 2006, 01:19 PM:name=nadz)--][div class=\'quotetop\']QUOTE(nadz @ Mar 18 2006, 01:19 PM) [snapback]356152[/snapback][/div][div class=\'quotemain\'][!--quotec--]in the same way is it possible theres another format of webpage that has preference over an index.php file?[/quote]
Again, this would be outlined in httpd.conf - Might be worth asking your host to see what preference order your index files are in.
This thread is more than a year old. Please don't revive it unless you have something important to add.

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

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.