Re: [PHP] suphp and header (Status: xxx yyyyy) not seeing default error page

2007-03-15 Thread Puskás Zsolt ( Errotan )
Thanks for replying, but header("HTTP/1.0 404 Not Found"); only works if php is an apache module I tried it and tried lots of other stuff. I think it is not possible to use apache's error documents because php-cgi don't really communicate with apache ( apache specific functions don't work [ like

Re: [PHP] suphp and header (Status: xxx yyyyy) not seeing default error page

2007-03-15 Thread Richard Lynch
On Thu, March 15, 2007 7:26 am, Puskás Zsolt ( Errotan ) wrote: > My main goal is to hide class php files and directories and of course > other > error pages would be useful :) . Actually, for the class files, you can move them completely out of the web tree and use php.ini include_path to let PHP

Re: [PHP] suphp and header (Status: xxx yyyyy) not seeing default error page

2007-03-15 Thread Tijnema !
On 3/15/07, Puskás Zsolt ( Errotan ) <[EMAIL PROTECTED]> wrote: Hello everybody. Sorry for my bad english. I'm using apache 2.2.3-3.3 ; php 5.2.0-8-cgi ; suphp 0.6.2-1 on debian "etch". I'm running php as cgi ( using suphp ). I can't get header ("Status: 404 Not found"); and other header (xxx) c

[PHP] suphp and header (Status: xxx yyyyy) not seeing default error page

2007-03-15 Thread Puskás Zsolt ( Errotan )
Hello everybody. Sorry for my bad english. I'm using apache 2.2.3-3.3 ; php 5.2.0-8-cgi ; suphp 0.6.2-1 on debian "etch". I'm running php as cgi ( using suphp ). I can't get header ("Status: 404 Not found"); and other header (xxx) commands to send default error page like http://example.com/nonexi