PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 10th, 2007, 04:57 AM
curio curio is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 curio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
basic question finding files

Hi,
have a general question on how files are "found" on a server,
I know, if I upload a index.php file and there is no index.html or index.htm present, this file will be opened first.is there any chance it wwould it also work if a redirect is looking for a name.htm and there is only a name.php in the directory it will be opened?

the reason I am asking this silly question is, that we have lots of web pages redirected to a few .htm pages. Now we added some php to these an dof course we have to rename them, but we can't go back and rename all the redirect links.
Are we screwed now or is there any way around this?
Please enlighten
Curio

Reply With Quote
  #2  
Old February 13th, 2007, 12:41 PM
JulieC JulieC is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Ohio
Posts: 92 JulieC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: basic question finding files

It sounds like you need to do some cleanup and renaming with all those redirects.

What the default page load order is depends on your web server. In Apache, the order is set in the httpd.conf file, something like this:

Code:
<IfModule dir_module>
    DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
</IfModule>


And no, a redirect to name.htm isn't going to find name.php.

Reply With Quote
  #3  
Old February 14th, 2007, 11:16 PM
curio curio is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 curio User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: basic question finding files

Hi Julie,
thanks for your answer + the info
unfortunately I cant rename all those pages, so I think I will have to redo everything in javascript and see if I can get that to work..

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > basic question finding files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway