Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 09:03:38 AM

Pages: [1]   Go Down
  Print  
Author Topic: Default page  (Read 246 times)
amanda1
Newbie
*
Offline Offline

Posts: 5


WWW
« on: July 26, 2002, 08:04:00 AM »

I know that if we put a page called "index.html" into our root directory that page will come up if no other page is specified, for example www.lunarpages.com will bring up a page even though one isn't specified.  What I'm wondering is if it's possible to allow the default webpage to be another extension.  My site right now is written in .php and I would prefer to not have to do a redirect if people dont type in the full address of the home page.  I did not find anything in the account manager that lets us view/change what pages will count as a default.  Thanks in advance for any help
Logged
cjg
Galactic Royalty
*****
Offline Offline

Posts: 237


« Reply #1 on: July 26, 2002, 08:10:00 AM »

Hello,

index.php should work.
Logged

Christopher Gregory

Kickme.to
Lunarpages.com
chris@lunarpages.com
amanda1
Newbie
*
Offline Offline

Posts: 5


WWW
« Reply #2 on: July 26, 2002, 08:22:00 AM »

Oops, I'm just an idiot.  Didn't get rid of the index.html that was already there.  :^)  Thanks for the prompt reply and kindly reminding me that I should check EVERYthing out before I beg for help <g>
Logged
TWebMan
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3112



WWW
« Reply #3 on: July 26, 2002, 10:37:00 AM »

There is a hiearchy of the extensions on index.  That is, which will be favored among .html, .shtml, .php.  I don't know what that hiearchy is.
Logged

"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila."  - Unknown
"Liberty of any kind is seldom lost all at once." - D. Hume
Every day is an Ode to Joy
The planet will be fine... and so will your site
Pages: [1]   Go Up
  Print  
 
Jump to: