View Single Post
  #9  
Old 24th January 2007, 13:39
rannia_ptaha rannia_ptaha is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default

Code:
######################################                                                                            
# Vhost: company.com:80                                                                                          
######################################                                                                            
#                                                                                                                 
#                                                                                                                 
<VirtualHost 82.142.129.51:80>                                                                                    

ServerName www.company.com:80                                                                                        
ServerAdmin webmaster@company.com                                                                                    
DocumentRoot /var/www/web6/web                                                                                    
ServerAlias wowlg.ru www.company.com                                                                                 
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl 
indeErrorLog /var/www/web6/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/ "/var/www/web6/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/web6/user/$1/web/$3                                                        
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3                                                   
</VirtualHost>                                                                                                    
#
Reply With Quote