Wrong document root?

Discussion in 'Installation/Configuration' started by marco114, Jun 20, 2006.

  1. marco114

    marco114 New Member


    I installed CentOS according to the guide located here. I used the proftpd server as it said it is "better supported" in ISPConfig

    Then I installed ISPConfig and it went fine also. It all appears to be working.

    I created a site and then logged in to FTP, however, after I've uploaded the files, I still get the default site page instead of my uploaded content.

    After investigation it looks like ISPConfig is looking in a different place than the FTP directory:

    Apache seems to be looking here:

    but content in FTP is uploading here:

    The setting under Server Settings > Web is: /home/www/

    It looks like there is also a AliasMatch directive, but I don't understand that at all as it uses a lot of RegEx.

    I have not modified anything yet, I wanted to fix this without modifying things by hand if possible as I think that is what is intended...

    ServerName www.camodog.com:80
    ServerAdmin [email protected]
    DocumentRoot /home/www/web5/web
    ServerAlias camodog.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
    ErrorLog /home/www/web5/log/error.log
    Alias /error/ "/home/www/web5/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/web5/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web5/user/$1/web/$3

    Thank you,
    Marc Pope
    Last edited: Jun 20, 2006
  2. adamluz

    adamluz New Member

    You need to click the box marked administrator when you setup a user account so it uploads in to the mail folder instead of the user folder. You can go back to the primary user you create and just place a check mark in that box. Changes take a few minutes to take effect on ispconfig so wait about 5 minutes then try to sign in and see where you upload. This should fix your problem.
  3. adrenalinic

    adrenalinic Member

    i have the same problems.

    have created some domains, but all domain pointig to default apache document page.!!

    i use precompiled vmware debian 3.1 image in my local network.
    all my domains are visibile from internet....

    any idea?!?!?

  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your Vhosts_ispconfig.conf, and what's the output of

Share This Page