allowoverride all nginx_override和new_override wamp(9)

电脑杂谈  发布时间:2017-04-06 10:09:28  来源:网络整理

AllowOverride All

</Directory>

<Directory "/usr/local/apache/htdocs">

Options Includes -Indexes FollowSymLinks

AllowOverride None

Order allow,deny

Allow from all

</Directory>

DefaultType text/plain

RewriteEngine on

AddType text/html .shtml

#AddHandler cgi-script .cgi .pl .plx .ppl .perl

AddHandler server-parsed .shtml

<IfModule mime_module>

TypesConfig conf/mime.types

AddType application/perl .pl .plx .ppl .perl

AddType application/x-img .img

AddType application/cgi .cgi

AddType text/x-sql .sql

AddType text/x-log .log

AddType text/x-config .cnf conf

AddType text/x-registry .reg

AddType application/x-compress .Z

AddType application/x-gzip .gz .tgz

AddType text/html .shtml

AddType application/x-tar .tgz

AddType application/rar .rar

AddType application/x-compressed .rar

AddType application/x-rar .rar

AddType application/x-rar-compressed .rar

AddType text/vnd.wap.wml .wml

AddType image/vnd.wap.wbmp .wbmp

AddType text/vnd.wap.wmlscript .wmls

AddType application/vnd.wap.wmlc .wmlc

AddType application/vnd.wap.wmlscriptc .wmlsc

</IfModule>

<IfModule dir_module>

DirectoryIndex index.html index.htm index.shtml index.php

</IfModule>

<Files ~ "^error_log$">

Order allow,deny

Deny from all

Satisfy All

</Files>

<FilesMatch "^\.ht">

Order allow,deny

Deny from all

Satisfy All

</FilesMatch>

ErrorLog "logs/error_log"

LogLevel warn

<IfModule log_config_module>

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-39787-9.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...