|
|
#1 (permalink) |
|
B - UNIT!!
Super #1
Joined in Aug 2004
Lives in Long Island, NY
Hosted on Pass23
1,408 posts
Gave thanks: 0
Thanked 0 times
|
index .. can it be .php ?
Ok i have an index.html running my site right now .. so when you visit http://dirtydalerz.com it goes to that file .. but now i want it to go to a index.php file .. if i delete the index.html .. can i just put the index.php in its place and will it automatically pick up or do i have to use a redirect?
__________________
All sites hosted on Pass23 -- Dirty Dalerz Inc. --Dirty Dalerz (dot) com--ZooYorkFreak (dot) com--NyLiBeerpong(dot) com--Ugh.. Myspace |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Feb 2005
Lives in california
Hosted on kramer
916 posts
Gave thanks: 0
Thanked 0 times
|
i think you have to use a redirect... or have on of the admins add this:
<IfModule mod_dir.c> DirectoryIndex index.html DirectoryIndex index.php </IfModule> to the httpd.conf file... unless they've already done it because of so many people using an index.php instead of an index.html
__________________
ozzy djodesigns.com Server = kramer "mi surpass es su surpass" Last edited by ozzy; March 16th, 2005 at 5:56 PM.. |
|
|
|
|
|
#3 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Feb 2005
Lives in california
Hosted on kramer
916 posts
Gave thanks: 0
Thanked 0 times
|
you could also put this in your index.html file:
<HTML> <HEAD> <META HTTP-EQUIV="Refresh" CONTENT="0; URL=index.php"> </HTML> that might be easier... i think that'll work.
__________________
ozzy djodesigns.com Server = kramer "mi surpass es su surpass" |
|
|
|
|
|
#4 (permalink) |
|
B - UNIT!!
Super #1
Joined in Aug 2004
Lives in Long Island, NY
Hosted on Pass23
1,408 posts
Gave thanks: 0
Thanked 0 times
|
im confused .. please xplain .. im sorry.
__________________
All sites hosted on Pass23 -- Dirty Dalerz Inc. --Dirty Dalerz (dot) com--ZooYorkFreak (dot) com--NyLiBeerpong(dot) com--Ugh.. Myspace |
|
|
|
|
|
#6 (permalink) |
|
B - UNIT!!
Super #1
Joined in Aug 2004
Lives in Long Island, NY
Hosted on Pass23
1,408 posts
Gave thanks: 0
Thanked 0 times
|
so if i just delete my index.html from the www folder .. and put my index.php file in there .. it won't pick it up automatically?
__________________
All sites hosted on Pass23 -- Dirty Dalerz Inc. --Dirty Dalerz (dot) com--ZooYorkFreak (dot) com--NyLiBeerpong(dot) com--Ugh.. Myspace |
|
|
|
|
|
#7 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Feb 2005
Lives in california
Hosted on kramer
916 posts
Gave thanks: 0
Thanked 0 times
|
there's a chance it won't... won't know until you try it. if it doesn't work, you can try the stuff that i posted or just redirect your index.html to index.php in your control panel.
__________________
ozzy djodesigns.com Server = kramer "mi surpass es su surpass" Last edited by ozzy; March 16th, 2005 at 6:09 PM.. |
|
|
|
|
|
#9 (permalink) | |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,079 posts
Gave thanks: 48
Thanked 131 times
|
Quote:
|
|
|
|
|