icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old March 16th, 2005, 5:50 PM   #1 (permalink)
B - UNIT!!
Super #1
 
bcinelli's Avatar
 
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
bcinelli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 5:53 PM   #2 (permalink)
Surpass Fan
Excelling Contributor
 
ozzy's Avatar
 
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..
ozzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 5:58 PM   #3 (permalink)
Surpass Fan
Excelling Contributor
 
ozzy's Avatar
 
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"
ozzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 6:01 PM   #4 (permalink)
B - UNIT!!
Super #1
 
bcinelli's Avatar
 
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
bcinelli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 6:03 PM   #5 (permalink)
Surpass Fan
Excelling Contributor
 
ozzy's Avatar
 
Joined in Feb 2005
Lives in california
Hosted on kramer
916 posts
Gave thanks: 0
Thanked 0 times
which part are you confused about?
__________________
ozzy
djodesigns.com
Server = kramer
"mi surpass es su surpass"
ozzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 6:06 PM   #6 (permalink)
B - UNIT!!
Super #1
 
bcinelli's Avatar
 
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
bcinelli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 6:07 PM   #7 (permalink)
Surpass Fan
Excelling Contributor
 
ozzy's Avatar
 
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..
ozzy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 6:09 PM   #8 (permalink)
Registered User
Super #1
 
Joined in Jul 2003
Lives in So. NJ
1,557 posts
Gave thanks: 0
Thanked 9 times
If there is no index file but 'index.php' that will be the file used as default when one browses your site.
__________________
Dime13 | Pass17
snide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 16th, 2005, 6:11 PM   #9 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
Joined in Jul 2004
Lives in N,BC,CA
8,079 posts
Gave thanks: 48
Thanked 131 times
Quote:
Originally Posted by snide
If there is no index file but 'index.php' that will be the file used as default when one browses your site.
Yep, the only time you may have problems is if someone had index.html included in their bookmark.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 On