Apache Webserver访问Windows上的外部硬盘

时间:2016-12-29 17:40:27

标签: windows apache webserver

如何从网络服务器访问外部USB驱动器,其中webroot为C:\ xampp \ htdocs \ 192.168.1.101 \,外部硬盘驱动器为F:\

这是我试过的配置:

<VirtualHost *:80>
    ServerAdmin damn@mail.com
    DocumentRoot "C:/WebServer/htdocs/192.168.1.101"
    ServerName local.mydomain.org
    ServerAlias local.mydomain.org
    ErrorLog "logs/local-101-error.log"
    CustomLog "logs/local-101-access.log" common

    Alias "/extern" "F:/"
    <Directory F:/>
        Options +Indexes
    </Directory>

</VirtualHost>

0 个答案:

没有答案