Mailinglisten-Archive |
hallo tobias,
> Andreas, poste doch mal in die PHP-Dev-Liste... ein offizielles 3.0.12 für
> Windows wäre ja nicht schlecht.
bevor ich das mache wuerde ich gerne rauskriegen wo in der datei config.w32.h
ich folgendes einstellen kann:
aus dem skript configure des source fuer 3.0.12
[...]
ac_help="$ac_help
--enable-force-cgi-redirect Enable the security check for internal server
redirects. You should use this if you are
running the CGI version with Apache. "
ac_help="$ac_help
--enable-discard-path If this is enabled, the PHP CGI binary
can safely be placed outside of the
web tree and people will not be able
to circumvent .htaccess security. "
[...]
das scheint ja bisher nicht aktiviert gewesen zu sein, weshalb es bei einigen
anwendungen, z. b. phplib zu unschoenen und angeblich gefaehrlichen ergebnissen
in der adresszeile des browsers kommt
[...]
erst
http://matrix/test2.php3 aufrufen,
enthaelt
<?php
page_open(
array("sess" => "Example_Session",
"auth" => "Example_Auth",
"perm" => "Example_Perm"));
?>
html inhalt beginnt und
<?php
if ($perm->have_perm("admin")):
?>
<?php
$db = new DB_Example;
print "It works without error messages.<br>\n";
?>
<HR></HR>
<?php
include("table.inc"); // requires include_path to be functioning
$db = new DB_Example;
$db->query("select * from auth_user");
$t = new Table;
$t->heading = "on";
$t->show_result($db);
?>
<?php
endif
?>
und html inhalt schluss und
<?php page_close(); ?>
jetzt name und pwd eingeben ergibt folgendes in der adresszeile des browsers
http://matrix/php/php.exe/test2.php3
[...]
falls wir also enable cgi redirect fuer die win32 version aktivieren koennen,
wuerde ich gerne noch mit dem posting warten.
liebe gruesse,
andreas
----------
Andreas Otto
NoHo Digital Ltd,
Floor 2, Canberra House,
315 -317 Regent Street
London W1R 7YB
Reception 0171 299 3434
Fax 0171 631 5050
http://www.noho.co.uk
php::bar PHP Wiki - Listenarchive