View Single Post
  #29  
Old 18th April 2008, 11:07
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

it's done, now Vhosts_ispconfig.conf:
Code:
<VirtualHost 62.85.27.11:80>
ServerName www.komunalserviss.lv:80
ServerAdmin webmaster@komunalserviss.lv
DocumentRoot /wwwroot/web3/web
ServerAlias komunalserviss.lv
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
Alias  /cgi-bin/ /wwwroot/web3/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /wwwroot/web3/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
php_admin_flag safe_mode Off
Alias /error/ "/wwwroot/web3/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 ^/~([^/]+)(/(.*))? /wwwroot/web3/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /wwwroot/web3/user/$1/web/$3
</VirtualHost>
But problem is not solved!
Reply With Quote