webppliance & include - aaargh!
| From: | pan | Date: | Sun, 19 Oct 2003 02:22:30 +0000 |
| Subject: | webppliance & include - aaargh! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166634@lists.php.net to get a copy of this message | ||
Anyone know how to get include to work with a webppliance web site?
If (web-server:document-root = x){
switch(include-dir){
case 'below document-root:
<!---php.include works--->
break;
case 'above document-root':
<!---php-include failes--->
break;
default:
<!---intense frustration ensues--->
}
}
ini_set('include_path') works except for directories above
the virtual server document rooot
of course keeping .php includes with sensitive data in a directory
inaccesible
to browsers is a best-practice issue - it doesn't seem possible within a
webpplicance controlled virtual web server environment (unless someone has
figured out how)
Pan ' peeve:clients who buy web hosting accounts on MS2000/IIS5.0 instead of
a nice *nix server'