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

Code:
###################################                                                                               
#                                                                                                                  
# ISPConfig vHost Configuration File                                                                               
#         Version 1.0                                                                                              
#                                                                                                                  
###################################                                                                                
#                                                                                                                  
NameVirtualHost 82.143.129.50:80                                                                                   
<VirtualHost 82.143.129.50:80>                                                                                       
ServerName localhost                                                                                               
ServerAdmin root@localhost                                                                                         
DocumentRoot /var/www/sharedip                                                                                   
</VirtualHost>                                                                                                     
#                                                                                                                  
#                                                                                                                  
######################################                                                                             
# Vhost: server.name.com:80                                                                                        
######################################                                                                             
#                                                                                                                  
#                                                                                                                  
<VirtualHost 82.143.129.50:80>                                                                                     
ServerName server.name.com:80                                                                                      
ServerAdmin webmaster@name.com                                                                                        
DocumentRoot /var/www/web1/web                                                                                     
ServerAlias name.company.com                                                                                        
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl 
indexErrorLog /var/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/ "/var/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 ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3                                                         
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3                                                    
</VirtualHost>                                                                                                     
#

Last edited by rannia_ptaha; 24th January 2007 at 14:34.
Reply With Quote