|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
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
|
|||
|
|||
|
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 |
|
#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. |
|
#3
|
|||
|
|||
|
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.. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > basic question finding files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|