Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 11-19-2005, 12:32 PM   #1
Solid State Member
 
Join Date: Oct 2005
Posts: 12
Default .php help!!!!!1 HELP!!!!!!

ok u know that the web or w.e searches for index.html to show as the home page. how do you make index.php show up.

cuz i have my site mysite.com and index.html comes up which is good. but i have a sub site mysite/shoes which i want index.php to show up.

help = good. thanks.
__________________

jordan123 is offline   Reply With Quote
Old 11-19-2005, 01:52 PM   #2
Daemon Poster
 
RewtGuy's Avatar
 
Join Date: Dec 2004
Posts: 595
Send a message via AIM to RewtGuy
Default Re: .php as startup page :How Too?

Well, I noticed this. index.html comes up as default before index.php. So if you had an index.html and index.php in the same directory it'd have a conflict. Also I'm sure it'd depend on your httpd. If there's an option to do what you want, you might have to configure it a little bit.
__________________

__________________
Windows: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
RewtGuy is offline   Reply With Quote
Old 11-19-2005, 01:58 PM   #3
Solid State Member
 
Join Date: Oct 2005
Posts: 12
Default Re: .php as startup page :How Too?

Quote:
Originally Posted by RewtGuy
Well, I noticed this. index.html comes up as default before index.php. So if you had an index.html and index.php in the same directory it'd have a conflict. Also I'm sure it'd depend on your httpd. If there's an option to do what you want, you might have to configure it a little bit.
no theres not a .html and .php in the same folder. .html is for my home page. .php will be for a sub site.

so what would i do? im hosting with godaddy.
jordan123 is offline   Reply With Quote
Old 11-19-2005, 02:11 PM   #4
BSOD
 
Join Date: May 2005
Posts: 2,734
Default Re: .php as startup page :How Too?

Well, if there's no "index.html" file in the folder, then "index.php" will be the first page shown. Hmm.... I don't think I fully understand your problem.
catalyst is offline   Reply With Quote
Old 11-19-2005, 05:23 PM   #5
Solid State Member
 
Join Date: Oct 2005
Posts: 12
Default Re: .php as startup page :How Too?

Quote:
Originally Posted by spank_fusion
Well, if there's no "index.html" file in the folder, then "index.php" will be the first page shown. Hmm.... I don't think I fully understand your problem.
yeah ok, but when i go to the site the index.php is in it doesnt bring up that page it brings up my home page.
jordan123 is offline   Reply With Quote
Old 11-19-2005, 05:55 PM   #6
BSOD
 
Join Date: May 2005
Posts: 2,734
Default Re: .php as startup page :How Too?

Well, the two index files need to be in different folders. An html index file has priority over php index files.
__________________

catalyst is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0