Current time: 05-04-2024, 08:53 AM Hello There, Guest! (LoginRegister)


Post Reply 
htaccess funktioniert nicht
Author Message
Slowman Offline
Member
***

Posts: 332
Joined: Feb 2007
Reputation: 0
Post: #1
htaccess funktioniert nicht
Ich habe im Apache2 die htaccess eingestellt bzw. angepasst, nun wollte ich ein Verzeichnisschutz erstellen und bekomme diesen Fehler über ispCP

PHP Code:
Warningftp_rawlist() [function.ftp-rawlist]: open_basedir restriction in effectFile(/tmpis not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/include/vfs.php on line 260

Warning
ftp_rawlist() [function.ftp-rawlist]: Unable to create temporary fileCheck permissions in temporary files directoryin /var/www/ispcp/gui/include/vfs.php on line 260


Sie haben keinen Zugriff zu diesem Verzeichnis
!
Bitte kontaktieren Sie den Serveradministrator

In der Zeile 260 in der vfs.php steht folgendes:

$list = ftp_rawlist($this->_handle, '-a ' . $dirname, false);


Kann mir da Jemand weiterhelfen ?
(This post was last modified: 05-30-2008 02:42 AM by Slowman.)
05-30-2008 01:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: htaccess funktioniert nicht
Nimm mal /tmp in das open_base Dir mit auf und versuch es nochmal. Apache restart net vergessen. Smile
05-30-2008 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Slowman Offline
Member
***

Posts: 332
Joined: Feb 2007
Reputation: 0
Post: #3
RE: htaccess funktioniert nicht
Im ispCP-Verzeichnis ?
05-30-2008 02:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #4
RE: htaccess funktioniert nicht
ja, sieht mal nach der php.ini aus
05-30-2008 02:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Slowman Offline
Member
***

Posts: 332
Joined: Feb 2007
Reputation: 0
Post: #5
RE: htaccess funktioniert nicht
open_basedir = "/var/www/virtual/xxx/:/usr/share/php/:/tmp"

Funzt nicht Sad
(This post was last modified: 05-30-2008 04:48 AM by Slowman.)
05-30-2008 03:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: htaccess funktioniert nicht
Nein, das sollte in die ini rein, die für die GUI ist.
05-30-2008 02:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)