View Single Post
  #15  
Old 24th February 2006, 16:39
dfriis dfriis is offline
Junior Member
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, as a test I changed the site settings for the server in ispconfig. I changed the dokument root from /home/www to /var/www and then back again, so the former error message I had is now gone and has been replaced with another one. You can see the result at http://friisweb.se and now the error messages in error.log looks like:
Code:
[Fri Feb 24 14:48:45 2006] [error] [client 217.***.**.***] (13)Permission denied: access to /web1/Maildir/index.html
denied, referer: http://friisweb.se/
I guess that's because of the file structure that now shows when you browse the site so everytime you browse friisweb.se the browser tries to check the mail folder.
I noticed that both sites-available/default and sites-enabled/000-default has /var/www as document root, but Vhosts_ispconfig.conf has /home/www/web1/web as document root. Still, friisweb.se still points to the same root as friisonline.com, my server domain.
Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 195.38.5.139:80
<VirtualHost 195.38.5.139:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.friisweb.se:80
######################################
#
#
<VirtualHost 195.38.5.139:80>
ServerName www.friisweb.se:80
ServerAdmin webmaster@friisweb.se
DocumentRoot /home/www/web1/web
ServerAlias friisweb.se
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.$
ScriptAlias  /cgi-bin/ /home/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /home/www/web1/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/ "/home/www/web1/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/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web1/user/$1/web/$3
</VirtualHost>
#
#
#
This config file seems to be alright, and so does all the others. What other files would you like me to post? I'll post them all if you want
Reply With Quote