虚拟主机配置


LoadModule fileiri_module modules/mod_fileiri.so

FileIRI On
FilenameCharset GB2312


LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_http_module modules/mod_proxy_balancer.so
#LoadModule proxy_http_module modules/mod_proxy_ajp.so

#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.

ProxyRequests Off


#AddDefaultCharset off
Order deny,allow
#Deny from all
#Allow from .example.com
Allow from all


# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block

# ProxyVia On


Listen 8080

NameVirtualHost *

ServerName admin.xxxxx.net
#ErrorLog logs/admin.xxxxx.net-error_log
#CustomLog logs/admin.xxxxx.net-access_log common
ProxyRequests Off
ProxyPass /upload http://localhost:8080/
ProxyPassReverse /upload http://localhost:8080/
ProxyPass / http://localhost:8088/
ProxyPassReverse / http://localhost:8088/



DocumentRoot /opt/aspire/product/xxxxx/portal/
ServerName www.xxxxx.net
ErrorLog logs/www.xxxxx.net-error_log
CustomLog logs/www.xxxxx.net-access_log common

Allow from all




DocumentRoot /opt/aspire/product/xxxxx/upload/
ServerName localhost
ErrorLog logs/localhost-error_log
CustomLog logs/localhost-access_log common

Allow from all



你可能感兴趣的:(Apache,.net,Access)