how to stop ispconfig add some lines

Discussion in 'Installation/Configuration' started by Salvis, Jul 30, 2006.

  1. Salvis

    Salvis New Member

    How to stop add ispconfig these lines to vhosts_ispconfig.conf ?
    Code:
    Alias /error/ "/home/www/web160/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 ^/~([^/]+)(/(.*))? /home/www/web160/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web160/user/$1/web/$3
    
    how i can remove these lines permanently?
     
  2. TheRudy

    TheRudy ISPConfig Developer ISPConfig Developer

    Check if they are in /root/ispconfig/isp/conf/vhost.conf.master if so, remove them from template.. Next time you add a change or new site in ISPConfig, lines will be removed..

    If its not in template file, its in config file in /root/ispconfig/scripts/lib/
    Function make_vhost and change it there..
     
  3. Salvis

    Salvis New Member

    o! big tnx!
    After editing /root/ispconfig/isp/conf/vhost.conf.master all works perfectly! :D
     

Share This Page