![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2001
Posts: 5,856
|
depends on what order theyre listed in your httpd.conf file
__________________
the revolution is coming. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
i guess what i meant to ask was.. if it loads first on my computer, will it load first on all computers? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Feb 2004
Posts: 728
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Quote:
__________________
Perfect Gonzo |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Sep 2002
Location: San Francisco, California
Posts: 991
|
Quote:
foo.com/index.php instead of foo.com/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Quote:
![]()
__________________
Perfect Gonzo |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Feb 2004
Location: Vancouver, Canada
Posts: 7,662
|
Quote:
__________________
ICQ: 2262.73945 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Aug 2004
Posts: 234
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
redezra.com
Industry Role:
Join Date: May 2004
Location: Vegas Baby!
Posts: 4,680
|
index.html
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Quote:
DirectoryIndex index.shtml index.php index.html index.htm What loads first?
__________________
Perfect Gonzo |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,114
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Quote:
![]()
__________________
Perfect Gonzo |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |