2,023   Apache

Apache的conf配置内容

<VirtualHost 10.123.98.54:80>
# ServerAdmin webmasterdummy-host.example.com
DocumentRoot /var/www/html/
ServerName 10.123.98.54
ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/general_%Y%m%d_80_error_log 86400 480"
CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/general_%Y%m%d_80_access_log 86400 480" common

Alias "/images" "/data/wcs_upload/images"
<Directory "/data/wcs_upload/images">
SetHandler default-handler
# AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

</VirtualHost>



Leave a Reply

Your email address will not be published. Required fields are marked *