Re: [PHP] index.php not autoloading in apache

2008-08-25 Thread Richard Heyes
> Simply add Directory index.php to your config. Eg:

Oops, that should be:

DirectoryIndex index.php

-- 
Richard Heyes
http://www.phpguru.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] index.php not autoloading in apache

2008-08-25 Thread Richard Heyes
Hi,

Simply add Directory index.php to your config. Eg:

LoadModule php5_modulelibexec/apache22/libphp5.so
php_value session.save_path "/tmp/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php

That's from meory so it may off, I don't think so though.

-- 
Richard Heyes
http://www.phpguru.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] index.php not loading up

2004-06-17 Thread Marek Kilimajer
Nguyen, Long P (Mission Systems) wrote --- napísal::
Doesn't look like it..
DocumentRoot "/var/www/html"
short_open_tag is OFF.
This means that 
This:

will result in this link:
http://158.114.148.90/
so the file is http://158.114.148.90/< (that's what the error log shows 
up) and ? marks start of query string.

SOLUTION: turn short_open_tag ON in php.ini or start using long open 
tags - 

HTH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
Doesn't look like it..

DocumentRoot "/var/www/html"


-Original Message-
From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 1:10 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] index.php not loading up


Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>:

> Found it, thanks.  The errors are:
> 
> [Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not
> exist: /var/www/html/<, referer: http://158.114.148.90/index.php3

/var/www/html/<
check your httpd.conf file and see if there's an extra < at end of DocumentRoot
directive.

R'twick
-- 
This is a signature


This message was sent using IMP, the Internet Messaging Program.

-- 
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 not loading up

2004-06-16 Thread R'twick Niceorgaw
Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>:

> Found it, thanks.  The errors are:
> 
> [Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not
> exist: /var/www/html/<, referer: http://158.114.148.90/index.php3

/var/www/html/<
check your httpd.conf file and see if there's an extra < at end of DocumentRoot
directive.

R'twick
-- 
This is a signature


This message was sent using IMP, the Internet Messaging Program.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] index.php not loading up

2004-06-16 Thread Michal Migurski
> [Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not exist: 
> /var/www/html/<, referer: http://158.114.148.90/index.php3
> [Wed Jun 16 13:49:14 2004] [error] [client 158.114.144.121] File does not exist: 
> /var/www/html/<, referer: http://158.114.148.90/index.php3
> [Wed Jun 16 13:49:16 2004] [error] [client 158.114.144.121] File does not exist: 
> /var/www/html/<, referer: http://158.114.148.90/index.php
> [Wed Jun 16 13:49:18 2004] [error] [client 158.114.144.121] File does not exist: 
> /var/www/html/<, referer: http://158.114.148.90/index.php
>
> The index.php file is there, is it looking for some other file?

Yes, it appears to be looking for "/var/www/html/<".

Going back to your original post, this line is where your problem is:


I'm not even sure that's remotely valid PHP or HTML.
What's it supposed to do?

-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com/contact.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
Found it, thanks.  The errors are:

[Wed Jun 16 13:49:12 2004] [error] [client 158.114.144.121] File does not exist: 
/var/www/html/<, referer: http://158.114.148.90/index.php3
[Wed Jun 16 13:49:14 2004] [error] [client 158.114.144.121] File does not exist: 
/var/www/html/<, referer: http://158.114.148.90/index.php3
[Wed Jun 16 13:49:16 2004] [error] [client 158.114.144.121] File does not exist: 
/var/www/html/<, referer: http://158.114.148.90/index.php
[Wed Jun 16 13:49:18 2004] [error] [client 158.114.144.121] File does not exist: 
/var/www/html/<, referer: http://158.114.148.90/index.php

The index.php file is there, is it looking for some other file?

[EMAIL PROTECTED] html]# pwd
/var/www/html
[EMAIL PROTECTED] html]# ls -l index.php
-rwxr-xr-x1 root root 4870 Jun  4 15:28 index.php



-Original Message-
From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 12:26 PM
To: PHP Mailing Lists
Subject: RE: [PHP] index.php not loading up


Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>:

> apache - and I would think that mine would also be /var/log/apache but that
> path does not exist - was this created automatically when apache was
> installed?

probably its /var/log/httpd ?

-R'twick
-- 
This is a signature


This message was sent using IMP, the Internet Messaging Program.

-- 
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 not loading up

2004-06-16 Thread R'twick Niceorgaw
Quoting "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>:

> apache - and I would think that mine would also be /var/log/apache but that
> path does not exist - was this created automatically when apache was
> installed?

probably its /var/log/httpd ?

-R'twick
-- 
This is a signature


This message was sent using IMP, the Internet Messaging Program.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
apache - and I would think that mine would also be /var/log/apache but that path does 
not exist - was this created automatically when apache was installed?


-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 12:00 PM
To: Nguyen, Long P (Mission Systems)
Cc: PHP Mailing Lists
Subject: Re: [PHP] index.php not loading up


On Wed, 16 Jun 2004 08:33:46 -0700, Nguyen, Long P (Mission Systems)
<[EMAIL PROTECTED]> wrote:
> so going back to your original question - yes error set to display on, but I don't 
> think I am seeing errors - where are the error logs?

Depends on what web server software you're using.  Mine are in
/var/log/apache for example.

-- 
Greg Donald
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] index.php not loading up

2004-06-16 Thread Greg Donald
On Wed, 16 Jun 2004 08:33:46 -0700, Nguyen, Long P (Mission Systems)
<[EMAIL PROTECTED]> wrote:
> so going back to your original question - yes error set to display on, but I don't 
> think I am seeing errors - where are the error logs?

Depends on what web server software you're using.  Mine are in
/var/log/apache for example.

-- 
Greg Donald
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] index.php not loading up

2004-06-16 Thread Nguyen, Long P (Mission Systems)
ok - I checked and it's set to:

display_errors = On

so going back to your original question - yes error set to display on, but I don't 
think I am seeing errors - where are the error logs?

Thank you


-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 11:22 AM
To: PHP Mailing Lists
Subject: Re: [PHP] index.php not loading up


Nguyen, Long P (Mission Systems) wrote:
> this is an entry in the php.ini file:
> 
> error_reporting  =  E_ALL & ~E_NOTICE
> 
> where on the machine are the error logged to?

Below that will be a line like this...

display_errors = On

If you setting is Off, change it to 'On', and restart your webserver. 
Also, if this is a development enviorment, you can remove the '& 
~E_NOTICE', and you will see all the errors and notices (you can do this 
even if it's a production enviroment, but some will flame me if I 
suggest that ;)

-- 
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

-- 
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 not loading up

2004-06-16 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote:
this is an entry in the php.ini file:
error_reporting  =  E_ALL & ~E_NOTICE
where on the machine are the error logged to?
Below that will be a line like this...
display_errors = On
If you setting is Off, change it to 'On', and restart your webserver. 
Also, if this is a development enviorment, you can remove the '& 
~E_NOTICE', and you will see all the errors and notices (you can do this 
even if it's a production enviroment, but some will flame me if I 
suggest that ;)

--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] index.php not loading up

2004-06-15 Thread Marek Kilimajer
Nguyen, Long P (Mission Systems) wrote --- napísal::
I am able to bring up a test.php file, but when I try to bring up this index.php file, the page does not load but the syntaxes below load up.  Any ideas?
Thank you.
 
 
    
  _  

setCols(2); $loginBox->addRow('Username'); $loginBox->addRow(''); $loginBox->addRow("Password"); 
$loginBox->addRow(''); $loginBox->setSpan(2); $loginBox->setAlignment('center'); $loginBox->addRow(''); echo 
$loginBox->dump(); echo "
"; echo "\n"; #- # Contact login box... /* echo " "; echo " 
"; $contactBox = new Box("Contact login"); $contactBox->setCols(2); $contactBox->addRow('Username','50%'); $contactBox->addRow('','50%'); $contactBox->addRow("Password",'50%'); $contactBox->addRow('','50%'); $contactBox->setSpan(2); $contactBox->setAlignment('center'); $contactBox->addRow(''); echo $contactBox->dump(); echo "
"; echo "\n"; */ #- # Go to a specific slip... echo ' '; echo ' 
'."\n"; echo ''."\n"; $slipBox = new Box("View / Create a slip"); $slipBox->setCols(3); $slipBox->addRow('Slip number','30%'); $slipBox->addRow('','30%'); $slipBox->addRow('','30%'); $slipBox->setAlignment('center'); $slipBox->setSpan(3); $slipBox->addRow('
'); echo $slipBox->dump(); echo "
"; echo "\n"; ?> 

setCols(2); $browseBox->addRow("Slips whose status is","50%"); $statcodes = new fetchStatus(); $values = $statcodes->getResult(); $t = ''."\n"; $t .= " Any"; while (list($key,$val) = each($values)) { $t .= " $val"; } $t .= ""; $browseBox->addRow($t,"50%"); $browseBox->addRow("Relating to","50%"); $quickslips = new fetchQuickSlips(); $values = $quickslips->getResult(); $t = ''."\n"; if (isset($values)) { while (list($key,$val) = each($values)) { $t .= " $val"; } } // Prevent an error on the index page if there are no slips yet. $t .= ""; $browseBox->addRow($t,"50%"); $browseBox->setSpan(2); $browseBox->setAlignment('center'); $browseBox->addRow('','50%'); echo $browseBox->dump(); /* ?> 
 setAlignment("center"); $newBox->addRow('dump(); */?> 
  _  

Keystone2 is © 1998-2004 Stonekeep Consulting, Inc
http://www.stonekeep.com/  


php syntax must be enclosed between 
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] index.php not loading up

2004-06-15 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote:
But if I am able to bring up test.php with the PHP configuration etc., then PHP is working right?
Do you have errors set to display in the php.ini?
--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] index.php not loading up

2004-06-15 Thread Nguyen, Long P (Mission Systems)
But if I am able to bring up test.php with the PHP configuration etc., then PHP is 
working right?


-Original Message-
From: dave windsor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 10:47 AM
To: Php-general
Subject: Re: [PHP] index.php not loading up


Assuming you're using apache and php 4, check httpd.conf for a the 
following data:

   LoadModule php4_module libexec/libphp4.so
 In the AddModule section: AddModule mod_php4.c
  AddType application/x-httpd-php .php .phtml

If any of those aren't there, its possible that php wasn't properly 
compiled.
Check http://www.php.net/manual/en/install.apache.php for more details.


On Jun 15, 2004, at 10:05 AM, Nguyen, Long P (Mission Systems) wrote:

> I am able to bring up a test.php file, but when I try to bring up this 
> index.php file, the page does not load but the syntaxes below load up. 
>  Any ideas?
> Thank you.
>
>
><http://158.114.148.90/ " alt="Keystone 2" 
> />
>   _
>
> setCols(2); $loginBox->addRow('Username'); $loginBox->addRow(''); 
> $loginBox->addRow("Password"); $loginBox->addRow(''); 
> $loginBox->setSpan(2); $loginBox->setAlignment('center'); 
> $loginBox->addRow(''); echo $loginBox->dump(); echo "
>
> "; echo "\n"; 
> #- # 
> Contact login box... /* echo " "; echo "
> "; $contactBox = new Box("Contact login"); $contactBox->setCols(2); 
> $contactBox->addRow('Username','50%'); $contactBox->addRow('','50%'); 
> $contactBox->addRow("Password",'50%'); $contactBox->addRow('','50%'); 
> $contactBox->setSpan(2); $contactBox->setAlignment('center'); 
> $contactBox->addRow(''); echo $contactBox->dump(); echo "
> "; echo "\n"; */ 
> #- # 
> Go to a specific slip... echo ' '; echo '
> '."\n"; echo ''."\n"; $slipBox = new Box("View / Create a slip"); 
> $slipBox->setCols(3); $slipBox->addRow('Slip number','30%'); 
> $slipBox->addRow('','30%'); $slipBox->addRow('','30%'); 
> $slipBox->setAlignment('center'); $slipBox->setSpan(3); 
> $slipBox->addRow('
> '); echo $slipBox->dump(); echo "
> "; echo "\n"; ?>
>
>
> setCols(2); $browseBox->addRow("Slips whose status is","50%"); 
> $statcodes = new fetchStatus(); $values = $statcodes->getResult(); $t 
> = ''."\n"; $t .= " Any"; while (list($key,$val) = each($values)) { $t 
> .= " $val"; } $t .= ""; $browseBox->addRow($t,"50%"); 
> $browseBox->addRow("Relating to","50%"); $quickslips = new 
> fetchQuickSlips(); $values = $quickslips->getResult(); $t = ''."\n"; 
> if (isset($values)) { while (list($key,$val) = each($values)) { $t .= 
> " $val"; } } // Prevent an error on the index page if there are no 
> slips yet. $t .= ""; $browseBox->addRow($t,"50%"); 
> $browseBox->setSpan(2); $browseBox->setAlignment('center'); 
> $browseBox->addRow('','50%'); echo $browseBox->dump(); /* ?>
>  setAlignment("center"); $newBox->addRow('dump(); */?>
>   _
>
>
> Keystone2 is © 1998-2004 Stonekeep Consulting, Inc
> http://www.stonekeep.com/ <http://www.stonekeep.com/>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] index.php not loading up

2004-06-15 Thread dave windsor
Assuming you're using apache and php 4, check httpd.conf for a the 
following data:

  LoadModule php4_module libexec/libphp4.so
 In the AddModule section: AddModule mod_php4.c
  AddType application/x-httpd-php .php .phtml
If any of those aren't there, its possible that php wasn't properly 
compiled.
Check http://www.php.net/manual/en/install.apache.php for more details.

On Jun 15, 2004, at 10:05 AM, Nguyen, Long P (Mission Systems) wrote:
I am able to bring up a test.php file, but when I try to bring up this 
index.php file, the page does not load but the syntaxes below load up. 
 Any ideas?
Thank you.

   
  _

setCols(2); $loginBox->addRow('Username'); $loginBox->addRow(''); 
$loginBox->addRow("Password"); $loginBox->addRow(''); 
$loginBox->setSpan(2); $loginBox->setAlignment('center'); 
$loginBox->addRow(''); echo $loginBox->dump(); echo "

"; echo "\n"; 
#- # 
Contact login box... /* echo " "; echo "
"; $contactBox = new Box("Contact login"); $contactBox->setCols(2); 
$contactBox->addRow('Username','50%'); $contactBox->addRow('','50%'); 
$contactBox->addRow("Password",'50%'); $contactBox->addRow('','50%'); 
$contactBox->setSpan(2); $contactBox->setAlignment('center'); 
$contactBox->addRow(''); echo $contactBox->dump(); echo "
"; echo "\n"; */ 
#- # 
Go to a specific slip... echo ' '; echo '
'."\n"; echo ''."\n"; $slipBox = new Box("View / Create a slip"); 
$slipBox->setCols(3); $slipBox->addRow('Slip number','30%'); 
$slipBox->addRow('','30%'); $slipBox->addRow('','30%'); 
$slipBox->setAlignment('center'); $slipBox->setSpan(3); 
$slipBox->addRow('
'); echo $slipBox->dump(); echo "
"; echo "\n"; ?>

setCols(2); $browseBox->addRow("Slips whose status is","50%"); 
$statcodes = new fetchStatus(); $values = $statcodes->getResult(); $t 
= ''."\n"; $t .= " Any"; while (list($key,$val) = each($values)) { $t 
.= " $val"; } $t .= ""; $browseBox->addRow($t,"50%"); 
$browseBox->addRow("Relating to","50%"); $quickslips = new 
fetchQuickSlips(); $values = $quickslips->getResult(); $t = ''."\n"; 
if (isset($values)) { while (list($key,$val) = each($values)) { $t .= 
" $val"; } } // Prevent an error on the index page if there are no 
slips yet. $t .= ""; $browseBox->addRow($t,"50%"); 
$browseBox->setSpan(2); $browseBox->setAlignment('center'); 
$browseBox->addRow('','50%'); echo $browseBox->dump(); /* ?>
 setAlignment("center"); $newBox->addRow('dump(); */?>
  _

Keystone2 is © 1998-2004 Stonekeep Consulting, Inc
http://www.stonekeep.com/ 


Re: [PHP] index.php

2003-02-02 Thread John Nichel
Can you hit it by typing the actual filename?

http://www.mydomain.com/index.php

If yes, check you httpd.conf file, and make sure that you have added 
"index.php" as a valid index file.

Justin French wrote:
Strange -- can u change it to foo.php and execute it, or do you get a 404
error (not found)?

Justin


on 03/02/03 12:45 PM, Renato Lopes ([EMAIL PROTECTED]) wrote:



Hi!

I have called a index.php file in a directory.

Every time I point my browser to that directory the contents of the
directory gets displayed instead of the index.php file.

Can anyone help?

Thanks in advance

Renato








--
By-Tor.com
It's all about the Rush
http://www.by-tor.com


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] index.php

2003-02-02 Thread Justin French
Strange -- can u change it to foo.php and execute it, or do you get a 404
error (not found)?

Justin


on 03/02/03 12:45 PM, Renato Lopes ([EMAIL PROTECTED]) wrote:

> Hi!
> 
> I have called a index.php file in a directory.
> 
> Every time I point my browser to that directory the contents of the
> directory gets displayed instead of the index.php file.
> 
> Can anyone help?
> 
> Thanks in advance
> 
> Renato
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] index.php

2003-02-02 Thread Chris Shiflett
--- Renato Lopes <[EMAIL PROTECTED]> wrote:
> Every time I point my browser to that directory the
> contents of the directory gets displayed instead of
> the index.php file.

It would help if we knew what Web server, but I will assume
Apache and hope for the best.

Locate your httpd.conf file, and add index.php to the
DirectoryIndex directive. Restart (or better, kill -1)
Apache.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] index.php

2003-02-02 Thread Florin Dumitrescu
Hi, 

Add "index.php" to DirectoryIndex section in your httpd.conf file, if
you're using Apache...

HTH,
Florin.

On Sun, 2 Feb 2003 17:45:33 -0800
Renato Lopes <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> I have called a index.php file in a directory.
> 
> Every time I point my browser to that directory the contents of the 
> directory gets displayed instead of the index.php file.
> 
> Can anyone help?
> 
> Thanks in advance
> 
> Renato
> 
> 
> -- 
> 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

2002-03-12 Thread Daniel Negron/KBE


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

2002-03-11 Thread Jordan S. Jones

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

2002-03-11 Thread Daniel Negron/KBE


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

2002-03-11 Thread Samuel Ottenhoff

# 
# 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




Re: [PHP] Index.PHP won't load like Index.HTML

2002-01-21 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 21-01-02 at 20:44 
* Dion said

> I finally got PHP running on Apache in WinXP.  I can execute PHP and all
> that, but I can't get it to open in "index.php" file like it would open an
> "index.html" file.. ie, first file it looks for in a new directory is
> "index.xxx" but it won't open the PHP file... Anyone tell me what i need to
> change?... BTW, i added the extensions in the httpd.conf file.  Any
> ideas?!?! Please help.

This is a serious FAQ
Please check the FAQ on www.php.net
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8THAhHpvrrTa6L5oRAn/SAJwMRV1LsRvP1LE2so5QiGtxmQpnrQCgnaTz
jTVaXIhISlQnVywELe0im2A=
=q1JC
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] index.php

2001-12-30 Thread Rambo Amadeus

you can make .htacces file and put

DirectoryIndex  /index.php

That will work

- Original Message -
From: Caleb Carvalho <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 30. prosinac 2001 10:40
Subject: [PHP] index.php


> Hi all,
>
> all the sudden my apache 1.3.22 is not showing my index.php page
> php-4.0.6, i have added the addtype .php inside httpd.conf
>
> not only that, i have also noticed that the  is not
> working also, this is  not displaying the test page,
>
> I am using netscape as a browser, do you guys know about any issue related
> to this?
>
> many thanks and happy x-mas/happy new year
>
>
>
> _
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] index.php

2001-12-30 Thread scott

well... a good first step is to think about what has
changed with your configuration.  did you turn on
any output handlers/buffering?  Compile a new
version?  Modify apache in any way?



> -Original Message-
> From: Caleb Carvalho [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 30, 2001 4:40 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] index.php
>
>
> Hi all,
>
> all the sudden my apache 1.3.22 is not showing my index.php page
> php-4.0.6, i have added the addtype .php inside httpd.conf
>
> not only that, i have also noticed that the  is not
> working also, this is  not displaying the test page,
>
> I am using netscape as a browser, do you guys know about any issue related
> to this?
>
> many thanks and happy x-mas/happy new year
>
>
>
> _
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]