window 下 apache

 参考地址:

 http://www.cnblogs.com/Liang-Blog/p/5756259.html

 

开启指定的目录列表索引

修改

<Directory />

    AllowOverride none

    Require all denied

</Directory>

Alias /style "C:/Program Files/Apache Software Foundation/Apache2.4/style"

<Directory "C:/Program Files/Apache Software Foundation/Apache2.4/style">

#开启目录列表索引模式

Options Indexes

Order allow,deny

IndexOptions NameWidth=25 Charset=UTF-8

Allow from all

#允许跨域访问文件(针对字体文件)

Header set Access-Control-Allow-Origin *

</Directory>

开启https功能:

http://blog.csdn.net/happyqyt/article/details/9335397

http://www.server110.com/apache/201404/9462.html

猜你喜欢

转载自1634801662.iteye.com/blog/2357585