Vhost_ISPConfig.conf problem

Discussion in 'Installation/Configuration' started by Alex1, Jun 3, 2007.

  1. Alex1

    Alex1 New Member

    I have setup ISPConfig + suphp
    all vhost work correct but when i add a new site i can't find it on Vhost_ISPConfig.conf and as normal the site is not viewable (all dir are created etc) there is a log to see what is the error?.
    Another problem (less important, but probably related) is:
    i add suPHP_Config /var/www/web11/php/ on apache directive of one site, on phpinfo i see
    Configuration File (php.ini) Path /var/www/web11/web/php.ini

    So it seems to be ok
    when i see the conf i have:
    ServerName www.site.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web11/web
    ServerAlias site.com pippo.site.com pippo.site.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/web11/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    ErrorLog /var/www/web11/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    suPHP_Engine on
    suPHP_UserGroup web11_webmaster web11
    AddHandler x-httpd-php .php .php3 .php4 .php5
    suPHP_AddHandler x-httpd-php
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    Alias /error/ "/var/www/web11/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/web11/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web11/user/$1/web/$3

    so no link to suphp config are written on conf ...
  2. Alex1

    Alex1 New Member

    you can't use suPHP_Config entry on apache directive
    php.ini must be put on web directory

Share This Page