Safemode

Apache, Lighttpd, nginx, Cherokee
Post Reply
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Safemode

Post by tecci »

Hallo,

habe Safemode wg. Confixx an - muss also auch an bleiben. Jetzt habe ich aber ein Script das nicht im Safemode läuft - Gibt es eine Möglichkeit das Script trotzdem zu nutzen?

Gruß
Michael
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: Safemode

Post by chris76 »

Du kannst beim Indianer auch für einzelne verzeichniss den Safemode an/abschalten.
Gruß Christian
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Re: Safemode

Post by tecci »

hab ich mir schon halb gedacht, ich weiß aber den befehl dafür net :lol:

Code: Select all

<Directory "/opt/webx/html/meinscript">
_DEN BEFEHL SUCH ICH_
</Directory">
[EDIT] 2. Indianer, falls was zur Sache tut [/EDIT]
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: Safemode

Post by superuser1 »

Hi...

lesen bildet: http://de3.php.net/features.safe-mode

:roll:
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Re: Safemode

Post by tecci »

Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/php/config.php) is not within the allowed path(s): (/opt/web1/) in /opt/web1/html/spaceforfree.de/support/inc/header_mm.php on line 24
hab jetzt
<Directory /opt/web1/html/spaceforfree.de/support/inc>
php_admin _value open_basedir /opt/web1/html/spaceforfree.de/inc
</Directory>
hab dann apache gestoppt und wieder gestartet - geht trotzdem nicht...
flolein
Posts: 113
Joined: 2003-12-11 14:47
 

Re: Safemode

Post by flolein »

kann auch nicht gehen, weil das fragliche file (usr/share/php/config.php) nicht unterhalb des basedirs (/opt/web1/html/spaceforfree.de/inc) liegt. open_basedir ist unabhängig vom safe_mode.
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Re: Safemode

Post by tecci »

flolein wrote:kann auch nicht gehen, weil das fragliche file (usr/share/php/config.php) nicht unterhalb des basedirs (/opt/web1/html/spaceforfree.de/inc) liegt. open_basedir ist unabhängig vom safe_mode.
Sry ich raffs einfahc net :cry:
Ich hab jetzt

Code: Select all

<Directory /opt/web1/html/spaceforfree.de/support/inc> 
php_admin _value open_basedir /usr/share/php 
</Directory>
geht aber net...
Könnt ihr mir einfach mal sagen was ich eintragen muss? :lol:
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
Contact:
 

Re: Safemode

Post by cybermage »

erstmal das leerzeichen rausnehmen und in der phpinfo() kucken ob er die einstellungen übernimmt
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Re: Safemode

Post by tecci »

Leerzeichen is keins drinne, is mir im Forum beim "abtippen" passiert ;)

PHPINFO:
open_basedir /opt/web1/ no value
freeman76
Posts: 7
Joined: 2002-05-20 17:36
Location: nähe München
 

Re: Safemode

Post by freeman76 »

Es bewahrheitet sich wieder der Spruch - rtfm -

http://server.1und1.com/root_server/howto/9.html

Gruß Christian
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Re: Safemode

Post by tecci »

geht trotzdem nicht
tecci
Posts: 48
Joined: 2003-09-07 14:40
 

Re: Safemode

Post by tecci »

Erledigt - hab was anderes
Post Reply