文件服务器的搭建

apache服务器

<VirtualHost *:81>
    ServerAdmin [email protected]
    DocumentRoot "/data/file"
    ServerName 4f39a990.www.file.com
    ServerAlias www.file.com 47.37.178.39

    ErrorLog ${APACHE_LOG_DIR}/error_log
    CustomLog ${APACHE_LOG_DIR}/access_log combined

    <Directory "/data/file">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

未完,后续更新。。

猜你喜欢

转载自www.cnblogs.com/jjxhp/p/11421589.html