Viennamade: htaccess: $_SERVER['DOCUMENT_ROOT']?

Beitrag lesen

Hallo!

Mein Bedarf ergibt sich weil ich in der htaccess neuerdings
  php_value auto_prepend_file log.php
gesetzt habe. Das funktioniert leider nicht, da beim Zugriff auf die htaccess der include-Pfad noch nicht gesetzt ist. Also löschte ich aus meinem Script
  set_include_path($_SERVER['DOCUMENT_ROOT'] . "/inc");
und möchte das jetzt in die htaccess reintun .... und jetzt habe ich den Bedarf :-)

... individuelle .htaccess-Dateien - ist ja nicht so dramatisch, sind ja nur zwei verschiedene Server.

Ich versuchte mich jetzt an 2 individuellen .htaccess. Lokal ist das kein Problem. Wenn ich aber in jene des 'echten' Servers
   php_value include_path /var/users/xyz/www/inc
reinschreibe, dann gibts einen 'Internal Error 500'.
M.E. stimmt der Pfad, denn Dokument-Root ist "/var/users/xyz/www" und darunter existiert "/inc".

So sieht die .htaccess aus:

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
php_value include_path /var/users/xyz/www/inc <---
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName xyz.xyz.at
AuthUserFile /var/users/xyz/www/_vti_pvt/service.pwd
AuthGroupFile /var/users/xyz/www/_vti_pvt/service.grp
AuthLDAPURL ldap://corin.xyz.at/o=yti?uid
AuthLDAPAuthoritative off
AuthLDAPFrontPageHack on

Bitte um Hilfe.
Viennamade