Apache .htacess 格式转换成 lighttpd 格式,求高人指点 程序:oscommerce 5
#########OrderDeny,AllowDenyfrom206.53.147.211#########<IfModulemod_setenvif.c><IfDef...
#########
Order Deny,Allow
Deny from 206.53.147.211
#########
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
<IfModule expires_module>
ExpiresActive On
ExpiresDefault A3600
ExpiresByType image/gif A3600
ExpiresByType image/jpeg A3600
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl|jpg|png|gif)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)-p-(.*).html$ index.php?products_id=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/pm/(.*)/ps(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/ps/(.*)/pm(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/pm/(.*)/page(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/page/(.*)/pm(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/page/(.*)/ps(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/ps/(.*)/page(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/pm/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/ps/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/pm/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/page/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/ps/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/page/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/ps(.*)/page(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/page(.*)/ps(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/ps(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/page(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pfp-(.*).html$ account_products_favourites.php?pfPage=$2&%{QUERY_STRING}
RewriteRule ^(.*)-shp-(.*).html$ support_history.php?shPage=$2&%{QUERY_STRING}
RewriteRule feeds_data.txt googlebase.php 展开
Order Deny,Allow
Deny from 206.53.147.211
#########
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
<IfModule expires_module>
ExpiresActive On
ExpiresDefault A3600
ExpiresByType image/gif A3600
ExpiresByType image/jpeg A3600
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl|jpg|png|gif)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)-p-(.*).html$ index.php?products_id=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/pm/(.*)/ps(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/ps/(.*)/pm(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/pm/(.*)/page(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/page/(.*)/pm(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/page/(.*)/ps(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/ps/(.*)/page(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/pm/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*)/ps/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/pm/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*)/page/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/ps/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*)/page/(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/page(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/ps(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-c-(.*)/pm(.*).html$ index.php?cPath=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/ps(.*)/page(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/page(.*)/ps(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/ps(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*)/page(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING} [QSA,L]
RewriteRule ^(.*)-sk-(.*).html$ advanced_search_result.php?keywords=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pfp-(.*).html$ account_products_favourites.php?pfPage=$2&%{QUERY_STRING}
RewriteRule ^(.*)-shp-(.*).html$ support_history.php?shPage=$2&%{QUERY_STRING}
RewriteRule feeds_data.txt googlebase.php 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询