Jail for users not working properly

Discussion in 'Installation/Configuration' started by bplgonzo, Jun 8, 2007.

Thread Status:
Not open for further replies.
  1. bplgonzo

    bplgonzo New Member

    When accessing website with ISPConfig's Web-FTP, user go to his directory and he is properly jailed. But when accessing with any client (WS-FTP, Firefox FTP) user go to his directory, but can navigate all the way to root. Where I should check for settings? What can cause this?

    this is for examle one of Site settings in Vhosts_ipconfig.conf:

    ######################################
    # Vhost: www.tennis-club-senjak.com:80
    ######################################
    #
    #
    <VirtualHost 89.149.226.220:80>
    ServerName www.tennis-club-senjak.com:80
    ServerAdmin webmaster@tennis-club-senjak.com
    DocumentRoot /var/www/web4/web
    ServerAlias tennis-club-senjak.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ScriptAlias /cgi-bin/ /var/www/web4/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web4/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode Off
    Alias /error/ "/var/www/web4/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
    </VirtualHost>
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. bplgonzo

    bplgonzo New Member

    Sorry, I found it later. You can delete this topic, I will continue there
     
Thread Status:
Not open for further replies.

Share This Page