apache under windows

 Reference address:

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

 

Open the specified directory listing index

Revise

<Directory />

    AllowOverride none

    Require all denied

 

</Directory>

for

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

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

#Enable directory listing index mode

Options Indexes

Order allow,deny

IndexOptions NameWidth=25 Charset=UTF-8

Allow from all

#Allow cross-domain access to files (for font files)

Header set Access-Control-Allow-Origin *

</Directory>

 

 

Enable https function:

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

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

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326517308&siteId=291194637