GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   index.html and index.php - who loads first? (https://gfy.com/showthread.php?t=395854)

brizzad 11-29-2004 10:42 PM

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?

Dawgy 11-29-2004 10:43 PM

depends on what order theyre listed in your httpd.conf file

brizzad 11-29-2004 10:52 PM

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?

Steen2 11-29-2004 10:52 PM

By default I think html but don't quote me on that.

BloodFart 11-29-2004 10:53 PM

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

broke 11-29-2004 10:58 PM

Quote:

Originally posted by BloodFart
yes

smashface 11-29-2004 11:10 PM

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/

broke 11-29-2004 11:21 PM

Quote:

Originally posted by Steen2
By default I think html but don't quote me on that.
:Graucho

Steen2 11-29-2004 11:22 PM

Quote:

Originally posted by broke
:Graucho
fucker

Dynamix 11-29-2004 11:29 PM

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.

broke 11-29-2004 11:32 PM

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

Xtreme Fever 11-29-2004 11:34 PM

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 :thumbsup

nofx 11-29-2004 11:37 PM

wigg3r.php loads first on all computers

Red Ezra 11-30-2004 12:26 AM

index.html

broke 11-30-2004 12:28 AM

Quote:

Originally posted by Red Ezra
index.html
Really --

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

What loads first?

fuzebox 11-30-2004 12:35 AM

Quote:

Originally posted by broke
Really --

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

What loads first?

:1orglaugh

broke 11-30-2004 12:42 AM

Quote:

Originally posted by fuzebox
:1orglaugh
:eek7

fulcrumstudio 11-30-2004 02:59 AM

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


All times are GMT -7. The time now is 12:20 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123