marco114
20th June 2006, 21:44
Hello,
I installed CentOS according to the guide located here. I used the proftpd server as it said it is "better supported" in ISPConfig
http://www.howtoforge.com/perfect_setup_centos_4.3
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:
/home/www/web5/web
but content in FTP is uploading here:
/home/www/web5/user/web5_camodog
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...
<VirtualHost 208.53.1.50:80>
ServerName www.camodog.com:80
ServerAdmin webmaster@camodog.com
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
</VirtualHost>
Thank you,
Marc Pope
I installed CentOS according to the guide located here. I used the proftpd server as it said it is "better supported" in ISPConfig
http://www.howtoforge.com/perfect_setup_centos_4.3
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:
/home/www/web5/web
but content in FTP is uploading here:
/home/www/web5/user/web5_camodog
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...
<VirtualHost 208.53.1.50:80>
ServerName www.camodog.com:80
ServerAdmin webmaster@camodog.com
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
</VirtualHost>
Thank you,
Marc Pope