|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Save your reputation with your customers. Learn how you can have embedding success with Advantage Database Server (ADS). |
|
#1
|
|||
|
|||
|
setting a php file as my home page
I am not sure where to post this but..
I am trying to have my home page be a PHP file, instead of the index.html file... Is there any way to do it... I want the user to be able to type in www.mysite.com and it will take them to my index.php3 file. Any help would be appreciated. |
|
#2
|
|||
|
|||
|
>> I am not sure where to post this
Apache would be best and PHP be 2nd best. >> type in www.mysite.com and it will take them to my index.php3 file Append index.php3 to DirectoryIndex. Say DirectoryIndex index.html index.htm index.php index.php3, then your index.php3 has lowest priority. |
|
#3
|
|||
|
|||
|
im a rookie
Ok and where would I type that?
htaccess? telnet to my server? It sounds like the answer but I just need some help making it happen. Thanks again. |
|
#4
|
|||
|
|||
|
If it's your server and you have root access, don't use .htaccess. Alter your httpd.conf and find the line DirectoryIndex. Yes, you need to telnet or ssh in, if you don't have physical access to your server. When you are done, you need to restart Apache.
|
|
#5
|
|||
|
|||
|
cool
i did it in htaccess because I am not sure what my permissions are on the server (I better figure that out)..
It works... Thanks! |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > setting a php file as my home page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|