Re: [PHP] index.php question
Still haven't gotten this to work properly with IIS. any other suggestions ? Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122 http://www.kbelectronics.com <><><><><><><><><><><><><><><><> Samuel OttenhoffTo: Omland Christopher m <[EMAIL PROTECTED]>, z.com> cc: Subject: Re: [PHP] index.php question 03/11/2002 01:47 PM # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html Sam On 3/11/02 1:36 PM, "Omland Christopher m" <[EMAIL PROTECTED]> wrote: > Hi all, I'm new to the mailing list, I hope I'm in the right spot. > I have installed php, and .php files work fine, unless they are my index > file. For example http://whatever.com/~jondoe/info.php will work. But if I > make a index.php file and go to http://whatever.com/~jondoe it wont work. > I can view the source and see my php code, which I know means the server > isn't translating it. I'm running RH LINUX, and running apache webserver. > I have checked the httpd.conf file and the load modules lines are in > there, and they are correct??(I THINK) > Any help would be appreciated. > Thank You. > -Chris > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] index.php question
That means that it isn't getting passed off to the PHP executable or dll. Instead, it is getting sent to the client as plain text.. Go to the "Home Directory" tab in the IIS admin. From there, click on "Configuration". Add an Application Mapping for .php. Restart IIS, and you should be good. Jordan "Daniel Negron/Kbe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... do you happen to have an answer for IIS. I alreazdy tried to add index.php to the list of documents, along with index.asp, index.html, and so on.But I still get the same result. Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122 http://www.kbelectronics.com <><><><><><><><><><><><><><><><> |+> || Samuel| || Ottenhoff | || | ||| || 03/11/02 01:47| || PM| ||| |+> >------- --| | | | To: Omland Christopher m <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>| | cc: | | Subject: Re: [PHP] index.php question | >--- --| # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html Sam On 3/11/02 1:36 PM, "Omland Christopher m" <[EMAIL PROTECTED]> wrote: > Hi all, I'm new to the mailing list, I hope I'm in the right spot. > I have installed php, and .php files work fine, unless they are my index > file. For example http://whatever.com/~jondoe/info.php will work. But if I > make a index.php file and go to http://whatever.com/~jondoe it wont work. > I can view the source and see my php code, which I know means the server > isn't translating it. I'm running RH LINUX, and running apache webserver. > I have checked the httpd.conf file and the load modules lines are in > there, and they are correct??(I THINK) > Any help would be appreciated. > Thank You. > -Chris > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] index.php question
do you happen to have an answer for IIS. I alreazdy tried to add index.php to the list of documents, along with index.asp, index.html, and so on.But I still get the same result. Thank You <><><><><><><><><><><><><><><><> Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122 http://www.kbelectronics.com <><><><><><><><><><><><><><><><> |+> || Samuel| || Ottenhoff | || | ||| || 03/11/02 01:47| || PM| ||| |+> >-| | | | To: Omland Christopher m <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> | | cc: | | Subject: Re: [PHP] index.php question | >-| # # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html Sam On 3/11/02 1:36 PM, "Omland Christopher m" <[EMAIL PROTECTED]> wrote: > Hi all, I'm new to the mailing list, I hope I'm in the right spot. > I have installed php, and .php files work fine, unless they are my index > file. For example http://whatever.com/~jondoe/info.php will work. But if I > make a index.php file and go to http://whatever.com/~jondoe it wont work. > I can view the source and see my php code, which I know means the server > isn't translating it. I'm running RH LINUX, and running apache webserver. > I have checked the httpd.conf file and the load modules lines are in > there, and they are correct??(I THINK) > Any help would be appreciated. > Thank You. > -Chris > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] index.php question
# # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # DirectoryIndex index.php index.php3 index.html Sam On 3/11/02 1:36 PM, "Omland Christopher m" <[EMAIL PROTECTED]> wrote: > Hi all, I'm new to the mailing list, I hope I'm in the right spot. > I have installed php, and .php files work fine, unless they are my index > file. For example http://whatever.com/~jondoe/info.php will work. But if I > make a index.php file and go to http://whatever.com/~jondoe it wont work. > I can view the source and see my php code, which I know means the server > isn't translating it. I'm running RH LINUX, and running apache webserver. > I have checked the httpd.conf file and the load modules lines are in > there, and they are correct??(I THINK) > Any help would be appreciated. > Thank You. > -Chris > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] index.php question
Hi all, I'm new to the mailing list, I hope I'm in the right spot. I have installed php, and .php files work fine, unless they are my index file. For example http://whatever.com/~jondoe/info.php will work. But if I make a index.php file and go to http://whatever.com/~jondoe it wont work. I can view the source and see my php code, which I know means the server isn't translating it. I'm running RH LINUX, and running apache webserver. I have checked the httpd.conf file and the load modules lines are in there, and they are correct??(I THINK) Any help would be appreciated. Thank You. -Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php