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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 include them.

This means you'd have to REALLY mess up a vhost somewhere in
httpd.conf to get your class files exposed, which is awfully
unlikely...

You can also configure apache to not display .inc files, but it's
easier to lose that configuration (especially in .htaccess).
E.g., tar -cvf export.tar public_html will "miss" the .htaccess files,
and then if you expert on a new home, you've got your class files
exposed without realizing it.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux