RE: [PHP] 404 error - DLL files needed ??

2005-07-14 Thread Grosz, Steve (IPG IT)
I pretty sure that it isn't checked, but I'll double check
againanything else?  I can't imagine that it should be this
difficult to get PHP running.

Steve 

-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 14, 2005 7:09 AM
Cc: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL files needed ??

In the extension manager for the site/directory where this is not
working, make sure the check box "Verify file exists" is not checked.  I
think I ran into a similar problem with a different extension and had
the same issue.



kgt




Grosz, Steve (IPG IT) wrote:

> Tjoekbezoer,
>
>I can tell you that it is there, because I manually added it, and it is

>set to 'allowed'.
>
>Steve
>
>-Original Message-
>From: Tjoekbezoer van Damme [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 13, 2005 3:52 PM
>To: php-general@lists.php.net
>Subject: Re: [PHP] 404 error - DLL files needed ??
>
>On 7/13/05, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]> wrote:
>  
>
>>I tried that, renamed a txt file to .php, but when I try to get the
>>
>>
>.php file, I just get a 404 error.
>
>Grosz, this might very well be your webserver invoking. By default, IIS

>6.0 all webserver extensions (like PHP). To check if your server still 
>does, open up your IIS manager
>(Start->Run->'c:\windows\system32\inetsrv\iis.msc') Then browse to Web 
>Service Extensions on the left. If you did install PHP correctly you 
>should see PHP appearing in the list on the right. Set it to 'Allowed'.
>Now try requesting the page via your browser again.
>
>
>Good luck!
>
>Tjoekbezoer
>
>--
>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] 404 error - DLL files needed ??

2005-07-14 Thread Kristen G. Thorson
In the extension manager for the site/directory where this is not 
working, make sure the check box "Verify file exists" is not checked.  I 
think I ran into a similar problem with a different extension and had 
the same issue.




kgt




Grosz, Steve (IPG IT) wrote:


Tjoekbezoer,

I can tell you that it is there, because I manually added it, and it is
set to 'allowed'.

Steve

-Original Message-
From: Tjoekbezoer van Damme [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 3:52 PM

To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL files needed ??

On 7/13/05, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]> wrote:
 


I tried that, renamed a txt file to .php, but when I try to get the
   


.php file, I just get a 404 error.

Grosz, this might very well be your webserver invoking. By default, IIS
6.0 all webserver extensions (like PHP). To check if your server still
does, open up your IIS manager
(Start->Run->'c:\windows\system32\inetsrv\iis.msc') Then browse to Web
Service Extensions on the left. If you did install PHP correctly you
should see PHP appearing in the list on the right. Set it to 'Allowed'.
Now try requesting the page via your browser again.


Good luck!

Tjoekbezoer

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

 



RE: [PHP] 404 error - DLL files needed ??

2005-07-13 Thread Grosz, Steve (IPG IT)
 Tjoekbezoer,

I can tell you that it is there, because I manually added it, and it is
set to 'allowed'.

Steve

-Original Message-
From: Tjoekbezoer van Damme [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 3:52 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL files needed ??

On 7/13/05, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]> wrote:
> I tried that, renamed a txt file to .php, but when I try to get the
.php file, I just get a 404 error.

Grosz, this might very well be your webserver invoking. By default, IIS
6.0 all webserver extensions (like PHP). To check if your server still
does, open up your IIS manager
(Start->Run->'c:\windows\system32\inetsrv\iis.msc') Then browse to Web
Service Extensions on the left. If you did install PHP correctly you
should see PHP appearing in the list on the right. Set it to 'Allowed'.
Now try requesting the page via your browser again.


Good luck!

Tjoekbezoer

--
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] 404 error - DLL files needed ??

2005-07-13 Thread Tjoekbezoer van Damme
On 7/13/05, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]> wrote:
> I tried that, renamed a txt file to .php, but when I try to get the .php 
> file, I just get a 404 error.

Grosz, this might very well be your webserver invoking. By default,
IIS 6.0 all webserver extensions (like PHP). To check if your server
still does, open up your IIS manager
(Start->Run->'c:\windows\system32\inetsrv\iis.msc') Then browse to Web
Service Extensions on the left. If you did install PHP correctly you
should see PHP appearing in the list on the right. Set it to
'Allowed'. Now try requesting the page via your browser again.


Good luck!

Tjoekbezoer

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



RE: [PHP] 404 error - DLL files needed ??

2005-07-13 Thread Grosz, Steve (IPG IT)
I tried that, renamed a txt file to .php, but when I try to get the .php file, 
I just get a 404 error. 

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 2:15 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL files needed ??

Dear Steve:
 php4ts.dll is needed by php4isapi.dll.
if you can visit your pages in wwwroot folder, just try to rename that page to 
php extension.
e.g: rename postinfo.html to postinfo.php  C:\PHP │ install.txt │ license.txt │ 
magic.mime │ news.txt │ php-cli.exe │ php.exe │ php.gif │ php.ini │ 
php.ini-dist │ php.ini-recommended │ php4embed.lib │ php4isapi.dll │ php4ts.dll 
│ php4ts.lib │ ├─dlls │ ├─extensions │ ├─mibs │ ├─openssl │ ├─pdf-related │ 
└─sapi



 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> I'm afraid it didn't help. I know the php4ts.dll need to be in the 
> path, and the instructions say that if that file is in the /php 
> directory, and there is a Path to that directory, all should be fine.
> 
> I'm curious if within IIS I use php4isapi.dll for my extension and 
> ISAPI filter.
> 
> -Original Message-
> From: Mikey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 1:38 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - DLL files needed ??
> 
> Grosz, Steve (IPG IT) wrote:
> 
> >In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll 
> >file is used on the ISAPI install.
> >
> >What is the php4ts.dll file used for? And do I need to add it into my 
> >ISAPI area within IIS or just use the php4isapi.dll file...
> >
> >Steve
> >
> >
> >
> Well, as per the installation instructions, that dll needs to be in 
> your system path - system32 is the best place for it.
> 
> hth,
> 
> Mikey
> 
> --
> 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
> 
>

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



Re: [PHP] 404 error - DLL files needed ??

2005-07-13 Thread glumtail
Dear Steve:
 php4ts.dll is needed by php4isapi.dll.
if you can visit your pages in wwwroot folder, just try to rename that page 
to php extension.
e.g: rename postinfo.html to postinfo.php
 C:\PHP
│ install.txt
│ license.txt
│ magic.mime
│ news.txt
│ php-cli.exe
│ php.exe
│ php.gif
│ php.ini
│ php.ini-dist
│ php.ini-recommended
│ php4embed.lib
│ php4isapi.dll
│ php4ts.dll
│ php4ts.lib
│ 
├─dlls
│ 
├─extensions
│ 
├─mibs
│ 
├─openssl
│ 
├─pdf-related
│ 
└─sapi



 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> I'm afraid it didn't help. I know the php4ts.dll need to be in the
> path, and the instructions say that if that file is in the /php
> directory, and there is a Path to that directory, all should be fine.
> 
> I'm curious if within IIS I use php4isapi.dll for my extension and
> ISAPI filter.
> 
> -Original Message-
> From: Mikey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 1:38 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - DLL files needed ??
> 
> Grosz, Steve (IPG IT) wrote:
> 
> >In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll
> >file is used on the ISAPI install.
> >
> >What is the php4ts.dll file used for? And do I need to add it into my
> >ISAPI area within IIS or just use the php4isapi.dll file...
> >
> >Steve
> >
> >
> >
> Well, as per the installation instructions, that dll needs to be in your
> system path - system32 is the best place for it.
> 
> hth,
> 
> Mikey
> 
> --
> 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] 404 error - DLL files needed ??

2005-07-13 Thread Grosz, Steve (IPG IT)
I'm afraid it didn't help.  I know the php4ts.dll need to be in the
path, and the instructions say that if that file is in the /php
directory, and there is a Path to that directory, all should be fine.

I'm curious if within IIS I use  php4isapi.dll for my extension and
ISAPI filter.

-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 1:38 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - DLL files needed ??

Grosz, Steve (IPG IT) wrote:

>In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll 
>file is used on the ISAPI install.
> 
>What is the php4ts.dll file used for?  And do I need to add it into my 
>ISAPI area within IIS or just use the php4isapi.dll file...
> 
>Steve
>
>  
>
Well, as per the installation instructions, that dll needs to be in your
system path - system32 is the best place for it.

hth,

Mikey

--
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] 404 error - DLL files needed ??

2005-07-13 Thread Mikey

Grosz, Steve (IPG IT) wrote:


In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll file
is used on the ISAPI install.

What is the php4ts.dll file used for?  And do I need to add it into my
ISAPI area within IIS or just use the php4isapi.dll file...

Steve

 

Well, as per the installation instructions, that dll needs to be in your 
system path - system32 is the best place for it.


hth,

Mikey

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



[PHP] 404 error - DLL files needed ??

2005-07-13 Thread Grosz, Steve (IPG IT)
In installing PHP4 on Win2003/IIS 6, I have noticed that only 1 dll file
is used on the ISAPI install.
 
What is the php4ts.dll file used for?  And do I need to add it into my
ISAPI area within IIS or just use the php4isapi.dll file...
 
Steve


RE: [PHP] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
I appreciate the try, but no, I still get a 404 error. :) 

This is killing me!! 

-Original Message-
From: Joseph [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 12:34 PM
To: Grosz, Steve (IPG IT)
Cc: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Steve, I may have missed this response, if this is a repeat please
excuse me...

Make sure you have the correct mysql and php versions to run phpBB. I
had 404 errors with a blogging/forum application where the index file
moved to another page. But because there were some errors in setup the
page came up as 404.

You might try to put this in a page:  info.php







Then go to the page, this will let you know if php is running. I have a
feeling it is the BB which is having the problem.

jzf

Grosz, Steve (IPG IT) wrote:

>OK, you lost me, execute/write on which file?
>
>I don't use asp, I use Coldfusion, and .htm, I'm only installing PHP so

>I can use the phpBB system.
>
>-Original Message-
>From: glumtail [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 13, 2005 12:05 PM
>To: php-general@lists.php.net
>Subject: Re: [PHP] 404 error - why???!!
>
>Hello,
> it seems that your ISAPI is ok.
>1. with full permission? e.g: execute,write and so on...
>2. how about asp file?
>
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
>  
>
>>Ok, now it appears the ISAPI is loaded, I get the green up arrow, but 
>>the priority always shows as 'unknown'.
>>
>>Still get the 404 errors when trying to view .php pages
>>
>>Steve
>>
>>-Original Message-
>>From: glumtail [mailto:[EMAIL PROTECTED]
>>Sent: Wednesday, July 13, 2005 11:10 AM
>>To: php-general@lists.php.net
>>Subject: Re: [PHP] 404 error - why???!!
>>
>>Hello Steve,
>>Administrator tools -> Internet Services Manager -> Default Web Site
>>-> ISAPI 
>>
>>2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>>
>>
>>>I guess I'm not sure how to tell if its loading correctly. Can you 
>>>tell me how to confirm that it is?
>>>
>>>I'm using PHP 4.x as well.
>>>
>>>Steve
>>>
>>>-Original Message-
>>>From: glumtail [mailto:[EMAIL PROTECTED]
>>>Sent: Wednesday, July 13, 2005 11:00 AM
>>>To: php-general@lists.php.net
>>>Subject: Re: [PHP] 404 error - why???!!
>>>
>>>Hello Steve,
>>>is the ISAPI loaded success?
>>>what's your PHP version? Version 4.x works fine.
>>>
>>>2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
>>>  
>>>
>>>>Regular .htm files work just fine. Its kinda strange..
>>>>
>>>>-Original Message-
>>>>From: Richard Davey [mailto:[EMAIL PROTECTED]
>>>>Sent: Wednesday, July 13, 2005 10:18 AM
>>>>To: php-general@lists.php.net
>>>>Subject: Re: [PHP] 404 error - why???!!
>>>>
>>>>Hello Steve,
>>>>
>>>>Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
>>>>
>>>>GSII> Ok, I thought I had installed PHP correctly on my Win2003 
>>>>GSII> server, using ISAPI. I added the extension, and mapped it to
>>>>
>>>>
>
>  
>
>>>>GSII> the
>>>>
>>>>
>>>>GSII> php4isapi.dll file, added a path to my /php folder in Win2003,
>>>>
>>>>
>>>>GSII> edited my php.ini file which I copied to my
>>>>GSII> /windows/system32
>>>>folder.
>>>>
>>>>This won't fix the 404 (sorry), but the php.ini doesn't go in 
>>>>system32, it just goes in the Windows directory. Do you only get 
>>>>404s on PHP files? What happens if you copy an .html file into the
>>>>
>>>>
>
>  
>
>>>>same location and request that?
>>>>
>>>>Best regards,
>>>>
>>>>Richard Davey
>>>>--
>>>>http://www.launchcode.co.uk - PHP Development Services "I do not 
>>>>fear computers. I fear the lack of them." - Isaac Asimov
>>>>
>>>>--
>>>>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
>>>>
>>>>
>>>>
>>>>
>>>--
>>>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
>>
>>
>>
>>
>
>  
>

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



Re: [PHP] 404 error - why???!!

2005-07-13 Thread Joseph
Steve, I may have missed this response, if this is a repeat please 
excuse me...


Make sure you have the correct mysql and php versions to run phpBB. I 
had 404 errors with a blogging/forum application where the index file 
moved to another page. But because there were some errors in setup the 
page came up as 404.


You might try to put this in a page:  info.php







Then go to the page, this will let you know if php is running. I have a 
feeling it is the BB which is having the problem.


jzf

Grosz, Steve (IPG IT) wrote:


OK, you lost me, execute/write on which file?

I don't use asp, I use Coldfusion, and .htm, I'm only installing PHP so
I can use the phpBB system.

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 12:05 PM

To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello,
it seems that your ISAPI is ok.
1. with full permission? e.g: execute,write and so on...
2. how about asp file?

2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
 

Ok, now it appears the ISAPI is loaded, I get the green up arrow, but 
the priority always shows as 'unknown'.


Still get the 404 errors when trying to view .php pages

Steve

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,
Administrator tools -> Internet Services Manager -> Default Web Site 
-> ISAPI 


2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
   

I guess I'm not sure how to tell if its loading correctly. Can you 
tell me how to confirm that it is?


I'm using PHP 4.x as well.

Steve

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 11:00 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,
is the ISAPI loaded success?
what's your PHP version? Version 4.x works fine.

2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
 


Regular .htm files work just fine. Its kinda strange..

-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 10:18 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,

Wednesday, July 13, 2005, 5:11:58 PM, you wrote:

GSII> Ok, I thought I had installed PHP correctly on my Win2003 
GSII> server, using ISAPI. I added the extension, and mapped it to
   



 


GSII> the
   

GSII> php4isapi.dll file, added a path to my /php folder in 
GSII> Win2003,
   

GSII> edited my php.ini file which I copied to my 
GSII> /windows/system32

folder.

This won't fix the 404 (sorry), but the php.ini doesn't go in 
system32, it just goes in the Windows directory. Do you only get 
404s on PHP files? What happens if you copy an .html file into the
   



 


same location and request that?

Best regards,

Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services "I do not 
fear computers. I fear the lack of them." - Isaac Asimov


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


   


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



   



 



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



RE: [PHP] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
OK, you lost me, execute/write on which file?

I don't use asp, I use Coldfusion, and .htm, I'm only installing PHP so
I can use the phpBB system.

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 12:05 PM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello,
 it seems that your ISAPI is ok.
1. with full permission? e.g: execute,write and so on...
2. how about asp file?

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> Ok, now it appears the ISAPI is loaded, I get the green up arrow, but 
> the priority always shows as 'unknown'.
> 
> Still get the 404 errors when trying to view .php pages
> 
> Steve
> 
> -Original Message-
> From: glumtail [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 11:10 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> Administrator tools -> Internet Services Manager -> Default Web Site 
> -> ISAPI 
> 
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> >
> > I guess I'm not sure how to tell if its loading correctly. Can you 
> > tell me how to confirm that it is?
> >
> > I'm using PHP 4.x as well.
> >
> > Steve
> >
> > -Original Message-
> > From: glumtail [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 13, 2005 11:00 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] 404 error - why???!!
> >
> > Hello Steve,
> > is the ISAPI loaded success?
> > what's your PHP version? Version 4.x works fine.
> >
> > 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> > >
> > > Regular .htm files work just fine. Its kinda strange..
> > >
> > > -Original Message-
> > > From: Richard Davey [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, July 13, 2005 10:18 AM
> > > To: php-general@lists.php.net
> > > Subject: Re: [PHP] 404 error - why???!!
> > >
> > > Hello Steve,
> > >
> > > Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> > >
> > > GSII> Ok, I thought I had installed PHP correctly on my Win2003 
> > > GSII> server, using ISAPI. I added the extension, and mapped it to

> > > GSII> the
> >
> > > GSII> php4isapi.dll file, added a path to my /php folder in 
> > > GSII> Win2003,
> 
> > > GSII> edited my php.ini file which I copied to my 
> > > GSII> /windows/system32
> > > folder.
> > >
> > > This won't fix the 404 (sorry), but the php.ini doesn't go in 
> > > system32, it just goes in the Windows directory. Do you only get 
> > > 404s on PHP files? What happens if you copy an .html file into the

> > > same location and request that?
> > >
> > > Best regards,
> > >
> > > Richard Davey
> > > --
> > > http://www.launchcode.co.uk - PHP Development Services "I do not 
> > > fear computers. I fear the lack of them." - Isaac Asimov
> > >
> > > --
> > > 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
> > >
> > >
> >
> > --
> > 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
> 
>

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



Re: [PHP] 404 error - why???!!

2005-07-13 Thread glumtail
Hello,
 it seems that your ISAPI is ok.
1. with full permission? e.g: execute,write and so on...
2. how about asp file?

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> Ok, now it appears the ISAPI is loaded, I get the green up arrow, but
> the priority always shows as 'unknown'.
> 
> Still get the 404 errors when trying to view .php pages
> 
> Steve
> 
> -Original Message-
> From: glumtail [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 11:10 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> Administrator tools -> Internet Services Manager -> Default Web Site ->
> ISAPI 
> 
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> >
> > I guess I'm not sure how to tell if its loading correctly. Can you
> > tell me how to confirm that it is?
> >
> > I'm using PHP 4.x as well.
> >
> > Steve
> >
> > -Original Message-----
> > From: glumtail [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 13, 2005 11:00 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] 404 error - why???!!
> >
> > Hello Steve,
> > is the ISAPI loaded success?
> > what's your PHP version? Version 4.x works fine.
> >
> > 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> > >
> > > Regular .htm files work just fine. Its kinda strange..
> > >
> > > -Original Message-
> > > From: Richard Davey [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, July 13, 2005 10:18 AM
> > > To: php-general@lists.php.net
> > > Subject: Re: [PHP] 404 error - why???!!
> > >
> > > Hello Steve,
> > >
> > > Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> > >
> > > GSII> Ok, I thought I had installed PHP correctly on my Win2003
> > > GSII> server, using ISAPI. I added the extension, and mapped it to
> > > GSII> the
> >
> > > GSII> php4isapi.dll file, added a path to my /php folder in Win2003,
> 
> > > GSII> edited my php.ini file which I copied to my /windows/system32
> > > folder.
> > >
> > > This won't fix the 404 (sorry), but the php.ini doesn't go in
> > > system32, it just goes in the Windows directory. Do you only get
> > > 404s on PHP files? What happens if you copy an .html file into the
> > > same location and request that?
> > >
> > > Best regards,
> > >
> > > Richard Davey
> > > --
> > > http://www.launchcode.co.uk - PHP Development Services "I do not
> > > fear computers. I fear the lack of them." - Isaac Asimov
> > >
> > > --
> > > 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
> > >
> > >
> >
> > --
> > 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] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
Ok, now it appears the ISAPI is loaded, I get the green up arrow, but
the priority always shows as 'unknown'.

Still get the 404 errors when trying to view .php pages

Steve 

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,
 Administrator tools -> Internet Services Manager -> Default Web Site ->
ISAPI 

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> I guess I'm not sure how to tell if its loading correctly. Can you 
> tell me how to confirm that it is?
> 
> I'm using PHP 4.x as well.
> 
> Steve
> 
> -Original Message-
> From: glumtail [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 11:00 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> is the ISAPI loaded success?
> what's your PHP version? Version 4.x works fine.
> 
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> >
> > Regular .htm files work just fine. Its kinda strange..
> >
> > -Original Message-
> > From: Richard Davey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 13, 2005 10:18 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] 404 error - why???!!
> >
> > Hello Steve,
> >
> > Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> >
> > GSII> Ok, I thought I had installed PHP correctly on my Win2003 
> > GSII> server, using ISAPI. I added the extension, and mapped it to 
> > GSII> the
> 
> > GSII> php4isapi.dll file, added a path to my /php folder in Win2003,

> > GSII> edited my php.ini file which I copied to my /windows/system32
> > folder.
> >
> > This won't fix the 404 (sorry), but the php.ini doesn't go in 
> > system32, it just goes in the Windows directory. Do you only get 
> > 404s on PHP files? What happens if you copy an .html file into the 
> > same location and request that?
> >
> > Best regards,
> >
> > Richard Davey
> > --
> > http://www.launchcode.co.uk - PHP Development Services "I do not 
> > fear computers. I fear the lack of them." - Isaac Asimov
> >
> > --
> > 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
> >
> >
> 
> --
> 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] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
Ok, I don't think it is loaded.  I manually added it, restarted w3svc,
and the status still shows as *unknown*

 

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,
 Administrator tools -> Internet Services Manager -> Default Web Site ->
ISAPI 

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> I guess I'm not sure how to tell if its loading correctly. Can you 
> tell me how to confirm that it is?
> 
> I'm using PHP 4.x as well.
> 
> Steve
> 
> -Original Message-
> From: glumtail [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 11:00 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> is the ISAPI loaded success?
> what's your PHP version? Version 4.x works fine.
> 
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> >
> > Regular .htm files work just fine. Its kinda strange..
> >
> > -Original Message-
> > From: Richard Davey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 13, 2005 10:18 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] 404 error - why???!!
> >
> > Hello Steve,
> >
> > Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> >
> > GSII> Ok, I thought I had installed PHP correctly on my Win2003 
> > GSII> server, using ISAPI. I added the extension, and mapped it to 
> > GSII> the
> 
> > GSII> php4isapi.dll file, added a path to my /php folder in Win2003,

> > GSII> edited my php.ini file which I copied to my /windows/system32
> > folder.
> >
> > This won't fix the 404 (sorry), but the php.ini doesn't go in 
> > system32, it just goes in the Windows directory. Do you only get 
> > 404s on PHP files? What happens if you copy an .html file into the 
> > same location and request that?
> >
> > Best regards,
> >
> > Richard Davey
> > --
> > http://www.launchcode.co.uk - PHP Development Services "I do not 
> > fear computers. I fear the lack of them." - Isaac Asimov
> >
> > --
> > 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
> >
> >
> 
> --
> 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] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
Ohthat!! :) 

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 11:10 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,
 Administrator tools -> Internet Services Manager -> Default Web Site ->
ISAPI 

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> I guess I'm not sure how to tell if its loading correctly. Can you 
> tell me how to confirm that it is?
> 
> I'm using PHP 4.x as well.
> 
> Steve
> 
> -Original Message-
> From: glumtail [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 11:00 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> is the ISAPI loaded success?
> what's your PHP version? Version 4.x works fine.
> 
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> >
> > Regular .htm files work just fine. Its kinda strange..
> >
> > -Original Message-
> > From: Richard Davey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 13, 2005 10:18 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] 404 error - why???!!
> >
> > Hello Steve,
> >
> > Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> >
> > GSII> Ok, I thought I had installed PHP correctly on my Win2003 
> > GSII> server, using ISAPI. I added the extension, and mapped it to 
> > GSII> the
> 
> > GSII> php4isapi.dll file, added a path to my /php folder in Win2003,

> > GSII> edited my php.ini file which I copied to my /windows/system32
> > folder.
> >
> > This won't fix the 404 (sorry), but the php.ini doesn't go in 
> > system32, it just goes in the Windows directory. Do you only get 
> > 404s on PHP files? What happens if you copy an .html file into the 
> > same location and request that?
> >
> > Best regards,
> >
> > Richard Davey
> > --
> > http://www.launchcode.co.uk - PHP Development Services "I do not 
> > fear computers. I fear the lack of them." - Isaac Asimov
> >
> > --
> > 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
> >
> >
> 
> --
> 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] 404 error - why???!!

2005-07-13 Thread glumtail
Hello Steve,
 Administrator tools -> Internet Services Manager -> Default Web Site -> 
ISAPI 

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> I guess I'm not sure how to tell if its loading correctly. Can you tell
> me how to confirm that it is?
> 
> I'm using PHP 4.x as well.
> 
> Steve
> 
> -Original Message-
> From: glumtail [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 11:00 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> is the ISAPI loaded success?
> what's your PHP version? Version 4.x works fine.
> 
> 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>:
> >
> > Regular .htm files work just fine. Its kinda strange..
> >
> > -Original Message-
> > From: Richard Davey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 13, 2005 10:18 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] 404 error - why???!!
> >
> > Hello Steve,
> >
> > Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> >
> > GSII> Ok, I thought I had installed PHP correctly on my Win2003
> > GSII> server, using ISAPI. I added the extension, and mapped it to the
> 
> > GSII> php4isapi.dll file, added a path to my /php folder in Win2003,
> > GSII> edited my php.ini file which I copied to my /windows/system32
> > folder.
> >
> > This won't fix the 404 (sorry), but the php.ini doesn't go in
> > system32, it just goes in the Windows directory. Do you only get 404s
> > on PHP files? What happens if you copy an .html file into the same
> > location and request that?
> >
> > Best regards,
> >
> > Richard Davey
> > --
> > http://www.launchcode.co.uk - PHP Development Services "I do not fear
> > computers. I fear the lack of them." - Isaac Asimov
> >
> > --
> > 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
> >
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>


RE: [PHP] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
I guess I'm not sure how to tell if its loading correctly.  Can you tell
me how to confirm that it is?

I'm using PHP 4.x as well.

Steve 

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 11:00 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,
 is the ISAPI loaded success?
what's your PHP version? Version 4.x works fine.

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> Regular .htm files work just fine. Its kinda strange..
> 
> -Original Message-
> From: Richard Davey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 10:18 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> 
> Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> 
> GSII> Ok, I thought I had installed PHP correctly on my Win2003 
> GSII> server, using ISAPI. I added the extension, and mapped it to the

> GSII> php4isapi.dll file, added a path to my /php folder in Win2003, 
> GSII> edited my php.ini file which I copied to my /windows/system32
> folder.
> 
> This won't fix the 404 (sorry), but the php.ini doesn't go in 
> system32, it just goes in the Windows directory. Do you only get 404s 
> on PHP files? What happens if you copy an .html file into the same 
> location and request that?
> 
> Best regards,
> 
> Richard Davey
> --
> http://www.launchcode.co.uk - PHP Development Services "I do not fear 
> computers. I fear the lack of them." - Isaac Asimov
> 
> --
> 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
> 
>

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



Re: [PHP] 404 error - why???!!

2005-07-13 Thread glumtail
Hello Steve,
 is the ISAPI loaded success?
what's your PHP version? Version 4.x works fine.

 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> Regular .htm files work just fine. Its kinda strange..
> 
> -Original Message-
> From: Richard Davey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 10:18 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] 404 error - why???!!
> 
> Hello Steve,
> 
> Wednesday, July 13, 2005, 5:11:58 PM, you wrote:
> 
> GSII> Ok, I thought I had installed PHP correctly on my Win2003 server,
> GSII> using ISAPI. I added the extension, and mapped it to the
> GSII> php4isapi.dll file, added a path to my /php folder in Win2003,
> GSII> edited my php.ini file which I copied to my /windows/system32
> folder.
> 
> This won't fix the 404 (sorry), but the php.ini doesn't go in system32,
> it just goes in the Windows directory. Do you only get 404s on PHP
> files? What happens if you copy an .html file into the same location and
> request that?
> 
> Best regards,
> 
> Richard Davey
> --
> http://www.launchcode.co.uk - PHP Development Services "I do not fear
> computers. I fear the lack of them." - Isaac Asimov
> 
> --
> 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] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
Regular .htm files work just fine.  Its kinda strange.. 

-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 10:18 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hello Steve,

Wednesday, July 13, 2005, 5:11:58 PM, you wrote:

GSII> Ok, I thought I had installed PHP correctly on my Win2003 server, 
GSII> using ISAPI.  I added the extension, and mapped it to the 
GSII> php4isapi.dll file, added a path to my /php folder in Win2003, 
GSII> edited my php.ini file which I copied to my /windows/system32
folder.

This won't fix the 404 (sorry), but the php.ini doesn't go in system32,
it just goes in the Windows directory. Do you only get 404s on PHP
files? What happens if you copy an .html file into the same location and
request that?

Best regards,

Richard Davey
--
 http://www.launchcode.co.uk - PHP Development Services  "I do not fear
computers. I fear the lack of them." - Isaac Asimov

--
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] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
Yes, the dll file is on the server, in the /php directory

Steve 

-Original Message-
From: glumtail [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 13, 2005 10:18 AM
To: php-general@lists.php.net
Subject: Re: [PHP] 404 error - why???!!

Hi:
 1. did you copy php4isap.dll to /php folder?
2. in local disk?


 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> Ok, I thought I had installed PHP correctly on my Win2003 server, 
> using ISAPI. I added the extension, and mapped it to the php4isapi.dll

> file, added a path to my /php folder in Win2003, edited my php.ini 
> file which I copied to my /windows/system32 folder.
> 
> In IIS, I made sure that the application extension for .php was added,

> also pointing to the php4isap.dll file, and in the documents, added 
> the index.php file, moved it to the top of the list.
> 
> So, after all that, why am I still getting 404- file not found errors.
> This is on a IE browse that is running on the same machine as IIS/PHP!
> 
> Any help is appreciated, this is getting very frustrating.
> 
> Thanks,
> Steve
> 
>

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



Re: [PHP] 404 error - why???!!

2005-07-13 Thread glumtail
Hi:
 1. did you copy php4isap.dll to /php folder?
2. in local disk?


 2005/7/14, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]>: 
> 
> Ok, I thought I had installed PHP correctly on my Win2003 server, using
> ISAPI. I added the extension, and mapped it to the php4isapi.dll file,
> added a path to my /php folder in Win2003, edited my php.ini file which
> I copied to my /windows/system32 folder.
> 
> In IIS, I made sure that the application extension for .php was added,
> also pointing to the php4isap.dll file, and in the documents, added the
> index.php file, moved it to the top of the list.
> 
> So, after all that, why am I still getting 404- file not found errors.
> This is on a IE browse that is running on the same machine as IIS/PHP!
> 
> Any help is appreciated, this is getting very frustrating.
> 
> Thanks,
> Steve
> 
>


Re: [PHP] 404 error - why???!!

2005-07-13 Thread Richard Davey
Hello Steve,

Wednesday, July 13, 2005, 5:11:58 PM, you wrote:

GSII> Ok, I thought I had installed PHP correctly on my Win2003 server, using
GSII> ISAPI.  I added the extension, and mapped it to the php4isapi.dll file,
GSII> added a path to my /php folder in Win2003, edited my php.ini file which
GSII> I copied to my /windows/system32 folder.

This won't fix the 404 (sorry), but the php.ini doesn't go in
system32, it just goes in the Windows directory. Do you only get 404s
on PHP files? What happens if you copy an .html file into the same
location and request that?

Best regards,

Richard Davey
-- 
 http://www.launchcode.co.uk - PHP Development Services
 "I do not fear computers. I fear the lack of them." - Isaac Asimov

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



[PHP] 404 error - why???!!

2005-07-13 Thread Grosz, Steve (IPG IT)
Ok, I thought I had installed PHP correctly on my Win2003 server, using
ISAPI.  I added the extension, and mapped it to the php4isapi.dll file,
added a path to my /php folder in Win2003, edited my php.ini file which
I copied to my /windows/system32 folder.
 
In IIS, I made sure that the application extension for .php was added,
also pointing to the php4isap.dll file, and in the documents, added the
index.php file, moved it to the top of the list.
 
So, after all that, why am I still getting 404- file not found errors.
This is on a IE browse that is running on the same machine as IIS/PHP!  
 
Any help is appreciated, this is getting very frustrating.
 
Thanks,
Steve


[PHP] 404 error triggered by Include error??

2002-04-02 Thread Craig Donnelly

Is there a way to setup either the apache/php directives to produce a custom
404 if a file "fails to be included" ??

Or is this a job for .HTACCESS??

Regards,

~Craig



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




Re: [PHP] 404 error

2001-09-24 Thread Christian Reiniger

On Monday 24 September 2001 12:30, Tim Ward wrote:
> But if the file has an extension that you have told Apache to associate
> with PHP, it gets sent to the parser before Apache checks to see if it
> exists. 

No. If it really does that you misconfigured apache.

> The paresr then sends back an html page with the error on, so
> Apache thinks it has found the page. At least that's what happens on
> our server. Am I missing something in Apache that will tell the server
> to check a file exits before it sends the request to the server?

Check your ErrorDocument clauses

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

Results 1 - 10 of about 201,000,000. Search took 0.08 seconds

- http://www.google.com/search?q=e

--
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] 404 error

2001-09-24 Thread Richard Baskett

You need to create an .htaccess file with this inside of it:

ErrorDocument 404 /yourfulldirectory/404.php

What this does is tells your server where to look when it has a 404 error.
You can put an .htaccess file in each directory so each directory will have
a different 404 error.  Or you can put it in the root "/404.php" since the
file is recursive within directories.

And then I have inside my 404.php file a little script that emails me the
referrer page and the link that created the error, plus a little to tell the
user that the page was not found of course :)

The Page with error is $HTTP_REFERER
The Link on that Page is $REDIRECT_SCRIPT_URI

I hope that helps!

Rick

> But if the file has an extension that you have told Apache to associate with
> PHP, it gets sent to the parser before Apache checks to see if it exists.
> The paresr then sends back an html page with the error on, so Apache thinks
> it has found the page. At least that's what happens on our server. Am I
> missing something in Apache that will tell the server to check a file exits
> before it sends the request to the server?
> 
> 
> Tim Ward
> Senior Systems Engineer
> 
> Please refer to the following disclaimer in respect of this message:
> http://www.stivesdirect.com/e-mail-disclaimer.html
> 
> 
>> -Original Message-
>> From:Christian Reiniger [SMTP:[EMAIL PROTECTED]]
>> Sent:Monday, September 24, 2001 11:10 AM
>> To:Tim Ward
>> Cc:PHP General
>> Subject:Re: [PHP] 404 error
>> 
>> On Monday 24 September 2001 10:08, Tim Ward wrote:
>>> But how did you get the PHP code to run if the file doesn't exist? If a
>>> file with a php extension is requested Apache thinks the error returned
>>> by the PHP parser is a valid response to the request and auto_prepend
>>> only seems to work after the parser has got the file for parsing.
>> 
>> Simple :)
>> You tell apache to serve, say, 404.php on a 404, and in *that* file you
>> place the code :)
>> 
>> If you want to send a 404 from an existing php file, do a
>> 
>> header ('HTTP/1.0 404 Not Found');
>> include ("404.php");
>> exit ();
>> 
>> 
>> -- 
>> Christian Reiniger
>> LGDC Webmaster (http://lgdc.sunsite.dk/)
>> 
>> Results 1 - 10 of about 201,000,000. Search took 0.08 seconds
>> 
>> - http://www.google.com/search?q=e
> 
> -- 
> 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] 404 error

2001-09-24 Thread Tim Ward

But if the file has an extension that you have told Apache to associate with
PHP, it gets sent to the parser before Apache checks to see if it exists.
The paresr then sends back an html page with the error on, so Apache thinks
it has found the page. At least that's what happens on our server. Am I
missing something in Apache that will tell the server to check a file exits
before it sends the request to the server? 


Tim Ward
Senior Systems Engineer

Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html


> -Original Message-
> From: Christian Reiniger [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 11:10 AM
> To:   Tim Ward
> Cc:   PHP General
> Subject:  Re: [PHP] 404 error
> 
> On Monday 24 September 2001 10:08, Tim Ward wrote:
> > But how did you get the PHP code to run if the file doesn't exist? If a
> > file with a php extension is requested Apache thinks the error returned
> > by the PHP parser is a valid response to the request and auto_prepend
> > only seems to work after the parser has got the file for parsing.
> 
> Simple :)
> You tell apache to serve, say, 404.php on a 404, and in *that* file you 
> place the code :)
> 
> If you want to send a 404 from an existing php file, do a
> 
> header ('HTTP/1.0 404 Not Found');
> include ("404.php");
> exit ();
> 
> 
> -- 
> Christian Reiniger
> LGDC Webmaster (http://lgdc.sunsite.dk/)
> 
> Results 1 - 10 of about 201,000,000. Search took 0.08 seconds
> 
> - http://www.google.com/search?q=e

-- 
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] 404 error

2001-09-24 Thread Christian Reiniger

On Monday 24 September 2001 10:08, Tim Ward wrote:
> But how did you get the PHP code to run if the file doesn't exist? If a
> file with a php extension is requested Apache thinks the error returned
> by the PHP parser is a valid response to the request and auto_prepend
> only seems to work after the parser has got the file for parsing.

Simple :)
You tell apache to serve, say, 404.php on a 404, and in *that* file you 
place the code :)

If you want to send a 404 from an existing php file, do a

header ('HTTP/1.0 404 Not Found');
include ("404.php");
exit ();


-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

Results 1 - 10 of about 201,000,000. Search took 0.08 seconds

- http://www.google.com/search?q=e

--
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] 404 error

2001-09-24 Thread Tim Ward

But how did you get the PHP code to run if the file doesn't exist? If a file
with a php extension is requested Apache thinks the error returned by the
PHP parser is a valid response to the request and auto_prepend only seems to
work after the parser has got the file for parsing.

I've tried everything I can to solve this. Has no-one else out there found
this a problem?

Tim Ward

--
From:  Richard Baskett [SMTP:[EMAIL PROTECTED]]
Sent:  23 September 2001 22:22
To:  Christian Reiniger
Cc:  PHP General
Subject:  Re: [PHP] 404 error

Thank you :)  Yeah someone mentioned using phpinfo() to figure out
what I
wanted and it worked beautifully and $REQUEST_URI was indeed the one
I
needed.  Thank you!

Rick

> On Sunday 23 September 2001 20:46, Richard Baskett wrote:
>> I don't think I said it clear enough :)  Sorry abou that.  This
is what
>> I did:
>> 
>> > echo "Page with error: $HTTP_REFERER";
>> echo "Error Link: $PHP_SELF";
>> ?>
> 
> Try $REQUEST_URI
> 
> -- 
> Christian Reiniger
> LGDC Webmaster (http://lgdc.sunsite.dk/)
> 
> Those who will not reason, are bigots,
> those who cannot, are fools,
> and those who dare not, are slaves.
> 
> - George Gordon Noel Byron (1788-1824), [Lord Byron]
> 
> -- 
> 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] 404 error

2001-09-23 Thread Richard Baskett

Thank you :)  Yeah someone mentioned using phpinfo() to figure out what I
wanted and it worked beautifully and $REQUEST_URI was indeed the one I
needed.  Thank you!

Rick

> On Sunday 23 September 2001 20:46, Richard Baskett wrote:
>> I don't think I said it clear enough :)  Sorry abou that.  This is what
>> I did:
>> 
>> > echo "Page with error: $HTTP_REFERER";
>> echo "Error Link: $PHP_SELF";
>> ?>
> 
> Try $REQUEST_URI
> 
> -- 
> Christian Reiniger
> LGDC Webmaster (http://lgdc.sunsite.dk/)
> 
> Those who will not reason, are bigots,
> those who cannot, are fools,
> and those who dare not, are slaves.
> 
> - George Gordon Noel Byron (1788-1824), [Lord Byron]
> 
> -- 
> 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] 404 error

2001-09-23 Thread Christian Reiniger

On Sunday 23 September 2001 20:46, Richard Baskett wrote:
> I don't think I said it clear enough :)  Sorry abou that.  This is what
> I did:
>
>  echo "Page with error: $HTTP_REFERER";
> echo "Error Link: $PHP_SELF";
> ?>

Try $REQUEST_URI

-- 
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)

Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.

- George Gordon Noel Byron (1788-1824), [Lord Byron]

--
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] 404 error

2001-09-23 Thread Richard Baskett

I don't think I said it clear enough :)  Sorry abou that.  This is what I
did:

";
echo "Error Link: $PHP_SELF";
?>

This definitely did not work.  $HTTP_REFERER did not output anything and if
I understand correctly this just gives me the page that has the link that
was clicked on.

$PHP_SELF I was hoping would give me the link that gave the error since in
your browser it shows the address of the broken link, but alas this gave me
my 404.htm page instead, which was expected.

What I want is that a person on "index.htm" clicks on a link "hello.htm",
that file is not found so at this point I want to be able to echo

Page with error: index.htm
Error Link: hello.htm

I hope that was a little clearer :)

Rick


> So sprach »Richard Baskett« am 2001-09-23 um 05:40:52 -0700 :
>> I know how to get the web page that created the 404 error, but how do I get
>> the link that created the 404 error?  Is there a way of doing this?  Im sure
> 
> Check the referer.
> 
> Alexander Skwar
> -- 
> How to quote:http://learn.to/quote (german) http://quote.6x.to (english)
> Homepage:http://www.digitalprojects.com   |   http://www.iso-top.de
>  iso-top.de - Die günstige Art an Linux Distributionen zu kommen
> Uptime: 3 hours 59 minutes
> 


--
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] 404 error

2001-09-23 Thread Alexander Skwar

So sprach »Richard Baskett« am 2001-09-23 um 05:40:52 -0700 :
> I know how to get the web page that created the 404 error, but how do I get
> the link that created the 404 error?  Is there a way of doing this?  Im sure

Check the referer.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 3 hours 59 minutes

--
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] 404 error

2001-09-23 Thread Richard Baskett

I know how to get the web page that created the 404 error, but how do I get
the link that created the 404 error?  Is there a way of doing this?  Im sure
there is and that's why I am coming to you wonderful people! :)

Rick


-- 
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] 404 error checker

2001-02-01 Thread Louis LeBlanc

You may be getting emails, but for some reason, when I try the links
provided as a demo:

BAD LINK--
http://www.social-ecology.org/new/indexbog.html


PAGE WITH BAD LINK--
http://www.social-ecology.org/indexbogus.html

My browser pops up the save as dialog.  I do have javascript enabled, so
I don't understand it.

I have been working on a similar 404 - actually just trying to modify
the one at phpbuilder.com to work with my system (PHP mail() won't work
because user nobody does not have permissions to execute the deliver
daemon in the Cyrus Imap server).

Are you seeing the page itself?  I can't bring it up.

Lou

John Huggins wrote:
> 
> Ah yes, this seems to stem from the fact the "ErrorDocument 404 /404.php" is
> really a kind if redirect.  What's weird about this is if you use it one way
> (in the .htaccess) the PHP variables that appear are pre-redirect.  If you
> put "Errordocument 404 /404.php" into the httpd.conf the PHP variables are
> post-redirect and are just as if you went straight to the 404.php page.  I
> am sure I am missing some kind of Apache "point-of-view," but is it working
> for most of my URLs now.  Some ancient CGI accesses come in now and again
> and they show this problem.
> 
> However, thanks for the idea and code.  Even as just a 404 trigger, this is
> very useful.  The emails are starting to show just how many old URLs exist
> on my servers.
> 
> John
> 
> > -Original Message-
> > From: Institute for Social Ecology [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 01, 2001 2:32 PM
> > To: John Huggins
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] 404 error checker
> >
> >
> > John,
> >
> > I had the same problem, but it was a matter of how I was refering the teh
> > 404 file in htaccess.  It is working fine for me now.  An example of my
> > output is below.  I wish I knew more about appache and htaccess to help
> > you out, but I don't.
> >
> > michael
> >
> 
> --
> 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]

-- 
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.net

-- 
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] 404 error checker

2001-02-01 Thread John Huggins

After some experimenting I find this 404.php program only shows the original
missing file when the .htaccess file has the "ErrorDocument 404 /404.php"
phrase.  One might assume that putting this directly into the httpd.conf
file of the Apache server would perform the same thing.  Indeed, the value
of where the link came from does survive, but the value of the missing file
is always 404.php, not the actual missing page.

Strange.

>
> Jason,
>
> Thanks for the pointer. Worked like a charm, well almost.  I had to tweak
> my .htaccess file as it was messing up some global variables cause i was
> using absolute URLS to point to my error script.
>
> Someone else ask to see the script.  You can check it
> at:  http://www.social-ecology.org/404.txt  The top part of the script
> actually does all the funky passing of error info to a selected email, and
> the bottom part is the page that is displayed upon a 404 error.  You'll
> have to mess with your .htaccess so it looks something like this:
>
> ErrorDocument 404 /404.php
>
> Thanks again!
>
> Michael
>
> On Thu, 1 Feb 2001, Jason Murray wrote:
>
> > > I am writing a script that will send me an email every time a 404
> > > error is returned for an http request.  So far I have the script
> > > working so that it will email me and inform me of the URL of the
> > > page that has the offending link by using the HTTP_REFERER
> environment
> > > variable.  I would also like to find out what the requested
> page URL is.
> > > I have checked phpinfo() for info on other Apache enviro variables,
> > > but can't seem to find anything that would work. How can I do this?
> > > Is it possible?
> >
> > Sure - $REQUEST_URI is what you're looking for.
> >
> > Example of its use: http://www.inww.com/typesomecrapinhere :)
> >
> > Jason
> >
> > --
> > 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]
>


-- 
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] 404 error checker

2001-02-01 Thread John Huggins

Ah yes, this seems to stem from the fact the "ErrorDocument 404 /404.php" is
really a kind if redirect.  What's weird about this is if you use it one way
(in the .htaccess) the PHP variables that appear are pre-redirect.  If you
put "Errordocument 404 /404.php" into the httpd.conf the PHP variables are
post-redirect and are just as if you went straight to the 404.php page.  I
am sure I am missing some kind of Apache "point-of-view," but is it working
for most of my URLs now.  Some ancient CGI accesses come in now and again
and they show this problem.

However, thanks for the idea and code.  Even as just a 404 trigger, this is
very useful.  The emails are starting to show just how many old URLs exist
on my servers.

John

> -Original Message-
> From: Institute for Social Ecology [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 2:32 PM
> To: John Huggins
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] 404 error checker
>
>
> John,
>
> I had the same problem, but it was a matter of how I was refering the teh
> 404 file in htaccess.  It is working fine for me now.  An example of my
> output is below.  I wish I knew more about appache and htaccess to help
> you out, but I don't.
>
> michael
>


-- 
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] 404 error checker

2001-02-01 Thread Institute for Social Ecology

John,

I had the same problem, but it was a matter of how I was refering the teh
404 file in htaccess.  It is working fine for me now.  An example of my
output is below.  I wish I knew more about appache and htaccess to help
you out, but I don't.

michael

WEBSITE--
www.social-ecology.org


BAD LINK--
http://www.social-ecology.org/new/indexbog.html


PAGE WITH BAD LINK--
http://www.social-ecology.org/indexbogus.html


TYPE--
404 File Not Found


WHO WAS ACCESSING--
ch5blm.bellglobal.com


USER AGENT
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT
5.0; CNETHomeBuild051099; DigExt)


On Thu, 1 Feb 2001, John Huggins wrote:

> After some experimenting I find this 404.php program only shows the original
> missing file when the .htaccess file has the "ErrorDocument 404 /404.php"
> phrase.  One might assume that putting this directly into the httpd.conf
> file of the Apache server would perform the same thing.  Indeed, the value
> of where the link came from does survive, but the value of the missing file
> is always 404.php, not the actual missing page.
> 
> Strange.
> 
> >
> > Jason,
> >
> > Thanks for the pointer. Worked like a charm, well almost.  I had to tweak
> > my .htaccess file as it was messing up some global variables cause i was
> > using absolute URLS to point to my error script.
> >
> > Someone else ask to see the script.  You can check it
> > at:  http://www.social-ecology.org/404.txt  The top part of the script
> > actually does all the funky passing of error info to a selected email, and
> > the bottom part is the page that is displayed upon a 404 error.  You'll
> > have to mess with your .htaccess so it looks something like this:
> >
> > ErrorDocument 404 /404.php
> >
> > Thanks again!
> >
> > Michael
> >
> > On Thu, 1 Feb 2001, Jason Murray wrote:
> >
> > > > I am writing a script that will send me an email every time a 404
> > > > error is returned for an http request.  So far I have the script
> > > > working so that it will email me and inform me of the URL of the
> > > > page that has the offending link by using the HTTP_REFERER
> > environment
> > > > variable.  I would also like to find out what the requested
> > page URL is.
> > > > I have checked phpinfo() for info on other Apache enviro variables,
> > > > but can't seem to find anything that would work. How can I do this?
> > > > Is it possible?
> > >
> > > Sure - $REQUEST_URI is what you're looking for.
> > >
> > > Example of its use: http://www.inww.com/typesomecrapinhere :)
> > >
> > > Jason
> > >
> > > --
> > > 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]
> >
> 
> 
> -- 
> 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] 404 error checker

2001-02-01 Thread Institute for Social Ecology

Jason, 

Thanks for the pointer. Worked like a charm, well almost.  I had to tweak
my .htaccess file as it was messing up some global variables cause i was
using absolute URLS to point to my error script.  

Someone else ask to see the script.  You can check it
at:  http://www.social-ecology.org/404.txt  The top part of the script
actually does all the funky passing of error info to a selected email, and
the bottom part is the page that is displayed upon a 404 error.  You'll
have to mess with your .htaccess so it looks something like this:

ErrorDocument 404 /404.php

Thanks again!

Michael

On Thu, 1 Feb 2001, Jason Murray wrote:

> > I am writing a script that will send me an email every time a 404 
> > error is returned for an http request.  So far I have the script 
> > working so that it will email me and inform me of the URL of the 
> > page that has the offending link by using the HTTP_REFERER environment 
> > variable.  I would also like to find out what the requested page URL is. 
> > I have checked phpinfo() for info on other Apache enviro variables, 
> > but can't seem to find anything that would work. How can I do this? 
> > Is it possible?
> 
> Sure - $REQUEST_URI is what you're looking for.
> 
> Example of its use: http://www.inww.com/typesomecrapinhere :)
> 
> Jason
> 
> -- 
> 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] 404 error checker

2001-01-31 Thread Jason Murray

> I am writing a script that will send me an email every time a 404 
> error is returned for an http request.  So far I have the script 
> working so that it will email me and inform me of the URL of the 
> page that has the offending link by using the HTTP_REFERER environment 
> variable.  I would also like to find out what the requested page URL is. 
> I have checked phpinfo() for info on other Apache enviro variables, 
> but can't seem to find anything that would work. How can I do this? 
> Is it possible?

Sure - $REQUEST_URI is what you're looking for.

Example of its use: http://www.inww.com/typesomecrapinhere :)

Jason

-- 
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] 404 error checker

2001-01-31 Thread Institute for Social Ecology


Hi,

Im rather a novice at PHP, so I appologize if this question is rather
basic.  Also, to be sure, I have looked through the PHP site and archives
for answers to this question with no luck.  Sorry if it is repetative.

I am writing a script that will send me an email every time a 404 error is
returned for an http request.  So far I have the script working so that it
will email me and inform me of the URL of the page that has the offending
link by using the HTTP_REFERER environment variable.  I would also like to
find out what the requested page URL is.  I have checked phpinfo() for
info on other Apache enviro variables, but can't seem to find anything
that would work.  How can I do this?  Is it possible?

Thank you,

Michael



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