Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-29-2004, 10:42 PM   #1
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
index.html and index.php - who loads first?

lets say i have index.html and index.php in a directory.. on my computer, index.html loads first - will it be like that on all computers?
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 10:43 PM   #2
Dawgy
Confirmed User
 
Join Date: Jul 2001
Posts: 5,856
depends on what order theyre listed in your httpd.conf file
__________________
the revolution is coming.
Dawgy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 10:52 PM   #3
brizzad
holla
 
Join Date: Jul 2003
Location: KFC
Posts: 11,769
Quote:
Originally posted by Dawgy
depends on what order theyre listed in your httpd.conf file

i guess what i meant to ask was.. if it loads first on my computer, will it load first on all computers?
brizzad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 10:52 PM   #4
Steen2
Confirmed User
 
Join Date: Feb 2004
Location: Vancouver, Canada
Posts: 7,662
By default I think html but don't quote me on that.
__________________
ICQ: 2262.73945
Steen2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 10:53 PM   #5
BloodFart
Confirmed User
 
Join Date: Feb 2004
Posts: 728
Quote:
Originally posted by brizzad
i guess what i meant to ask was.. if it loads first on my computer, will it load first on all computers?
yes
BloodFart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 10:58 PM   #6
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Quote:
Originally posted by BloodFart
yes
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:10 PM   #7
smashface
Confirmed User
 
Industry Role:
Join Date: Sep 2002
Location: San Francisco, California
Posts: 991
Quote:
Originally posted by brizzad
i guess what i meant to ask was.. if it loads first on my computer, will it load first on all computers?
Like others said, yes it will load the same on all computers accessing that server unless they are linking to a specific page:

foo.com/index.php instead of
foo.com/
smashface is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:21 PM   #8
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Quote:
Originally posted by Steen2
By default I think html but don't quote me on that.
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:22 PM   #9
Steen2
Confirmed User
 
Join Date: Feb 2004
Location: Vancouver, Canada
Posts: 7,662
Quote:
Originally posted by broke
fucker
__________________
ICQ: 2262.73945
Steen2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:29 PM   #10
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
If it loads first for you then it will for all other accessing computers. The Index page is sent based upon Apache or your webserver settings, not user-by-user.
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:32 PM   #11
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Apache will resolve to the first file type listed in the DirectoryIndex directive in the httpd.conf file. If there is no file with that extention in the directory then it will go to the next.


DirectoryIndex index.html index.htm index.php index.shtml


If you had all four in your root directory, everyone would see index.html. If you had the last three, everyone would see index.htm. If you had the last two, everyone would see index.php.

Unless someone linked directly to one of the pages...
__________________
Perfect Gonzo

Last edited by broke; 11-29-2004 at 11:34 PM..
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:34 PM   #12
Xtreme Fever
Confirmed User
 
Join Date: Aug 2004
Posts: 234
Quote:
Originally posted by broke
Apache will resolve to the first file type listed in the DirectoryIndex directive. If there is no file with that extention in the directory then it will go to the next.


DirectoryIndex index.html index.htm index.php index.shtml


If you had all four in your root directory, everyone would see index.html. If you had the last three, everyone would see index.htm. If you had the last two, everyone would see index.php.

Unless someone linked directly to one of the pages...
what he said
Xtreme Fever is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2004, 11:37 PM   #13
nofx
Too lazy to set a custom title
 
Join Date: Nov 2002
Location: Virgin Mary's womb
Posts: 16,826
wigg3r.php loads first on all computers
__________________

Often times I wonder why
There's love and hate, theres live or die.
When sickness comes I must decide:
When feelings go, theres suicide.
nofx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2004, 12:26 AM   #14
Red Ezra
redezra.com
 
Red Ezra's Avatar
 
Industry Role:
Join Date: May 2004
Location: Vegas Baby!
Posts: 4,680
index.html
Red Ezra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2004, 12:28 AM   #15
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Quote:
Originally posted by Red Ezra
index.html
Really --

DirectoryIndex index.shtml index.php index.html index.htm

What loads first?
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2004, 12:35 AM   #16
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,114
Quote:
Originally posted by broke
Really --

DirectoryIndex index.shtml index.php index.html index.htm

What loads first?
fuzebox is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2004, 12:42 AM   #17
broke
Confirmed User
 
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
Quote:
Originally posted by fuzebox
__________________
Perfect Gonzo
broke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-30-2004, 02:59 AM   #18
fulcrumstudio
Confirmed User
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 414
Furthermore if you have virtual domains on your server it's possible that not all virtual domains on the box will load the same... depends how you are assigning your virtual domains in httpd.conf
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

Last edited by fulcrumstudio; 11-30-2004 at 03:00 AM..
fulcrumstudio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.