配置 apache

    技术2022-05-12  23

    目的:windows 访问 Linux-like 系统资源

     

    1. linux 中:  /etc/apache2/default-server.conf 中

     

    Alias /rootfile "/"

     

    <Directory "/">

     Options Indexes FollowSymlinks

     AllowOverride None

     Order allow,deny

     Allow from all

    </Directory>

     

    参考文件:/etc/apache2/conf.d/inst_server.conf.in

     

    2. 进入/usr/sbin/rcapache2     run   rcapache2 restart

     

    3. 访问 http://localhost/rootfile  或者 http://<IP>/rootfile

     

     


    最新回复(0)