虚拟主机配置

LoadModule fileiri_module     modules/mod_fileiri.so
<IfModule mod_fileiri.c>
  FileIRI          On
  FilenameCharset  GB2312
</IfModule>

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
<IfModule mod_proxy.c>
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.

ProxyRequests Off

<Proxy *>
#AddDefaultCharset off
Order deny,allow
#Deny from all
#Allow from .example.com
Allow from all
</Proxy>

# 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
</IfModule>

Listen 8080

NameVirtualHost *
<VirtualHost *>
    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/
</VirtualHost>

<VirtualHost *>
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
<Directory /opt/aspire/product/xxxxx/portal/>
    Allow from all
</Directory>
</VirtualHost>

<VirtualHost *>
DocumentRoot /opt/aspire/product/xxxxx/upload/
    ServerName localhost
    ErrorLog logs/localhost-error_log
    CustomLog logs/localhost-access_log common
<Directory /opt/aspire/product/xxxxx/upload/*/*>
    Allow from all
</Directory>
</VirtualHost>

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