2014-06-06 84 views
0

我有一個奇怪的問題,也許有人可以幫助我。當我分享我的網站(wordpress)víafacebook的鏈接時,在PC中一切正常,但在IPAD或cellullar中,當我點擊facebook鏈接時,我得到403禁止的錯誤。奇怪的問題WordPress的鏈接和便攜式設備

更新:我想,也許錯誤可能是在.htaccess從l.facebook.com/l.php

# BEGIN All In One WP Security 
#AIOWPS_BLOCK_WP_FILE_ACCESS_START 
<Files license.txt> 
order allow,deny 
deny from all 
</files> 
<Files wp-config-sample.php> 
order allow,deny 
deny from all 
</Files> 
<Files readme.html> 
order allow,deny 
deny from all 
</Files> 
#AIOWPS_BLOCK_WP_FILE_ACCESS_END 
#AIOWPS_BASIC_HTACCESS_RULES_START 
<Files .htaccess> 
order allow,deny 
deny from all 
</Files> 
ServerSignature Off 
LimitRequestBody 10240000 
<Files wp-config.php> 
order allow,deny 
deny from all 
</Files> 
#AIOWPS_BASIC_HTACCESS_RULES_END 
#AIOWPS_DISABLE_INDEX_VIEWS_START 
Options -Indexes 
#AIOWPS_DISABLE_INDEX_VIEWS_END 
#AIOWPS_DISABLE_TRACE_TRACK_START 
RewriteEngine On 
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) 
RewriteRule .* - [F] 
#AIOWPS_DISABLE_TRACE_TRACK_END 
#AIOWPS_FORBID_PROXY_COMMENTS_START 
RewriteCond %{REQUEST_METHOD} =POST 
RewriteCond %{HTTP:VIA}%{HTTP:FORWARDED}%{HTTP:USERAGENT_VIA}%{HTTP:X_FORWARDED_FOR}%{HTTP:PROXY_CONNECTION} !^$ [OR] 
RewriteCond %{HTTP:XPROXY_CONNECTION}%{HTTP:HTTP_PC_REMOTE_ADDR}%{HTTP:HTTP_CLIENT_IP} !^$ 
RewriteCond %{REQUEST_URI} !^/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC] 
RewriteRule .* - [F,NS,L] 
#AIOWPS_FORBID_PROXY_COMMENTS_END 
#AIOWPS_DENY_BAD_QUERY_STRINGS_START 
RewriteCond %{QUERY_STRING} tag=  [NC,OR] 
RewriteCond %{QUERY_STRING} ftp:  [NC,OR] 
RewriteCond %{QUERY_STRING} http: [NC,OR] 
RewriteCond %{QUERY_STRING} https: [NC,OR] 
RewriteCond %{QUERY_STRING} mosConfig [NC,OR] 
RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR] 
RewriteCond %{QUERY_STRING} (\;|'|\"|%22).*(request|insert|union|declare|drop) [NC] 
RewriteRule ^(.*)$ - [F,L] 
#AIOWPS_DENY_BAD_QUERY_STRINGS_END 
#AIOWPS_FIVE_G_BLACKLIST_START 
# 5G BLACKLIST/FIREWALL (2013) 
# @ http://perishablepress.com/5g-blacklist-2013/ 

# 5G:[QUERY STRINGS] 
<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase/
RewriteCond %{QUERY_STRING} (\"|%22).*(<|>|%3) [NC,OR] 
RewriteCond %{QUERY_STRING} (javascript:).*(\;) [NC,OR] 
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3) [NC,OR] 
RewriteCond %{QUERY_STRING} (\\|\.\./|`|='$|=%27$) [NC,OR] 
RewriteCond %{QUERY_STRING} (\;|'|\"|%22).*(union|select|insert|drop|update|md5|benchmark|or|and|if) [NC,OR] 
RewriteCond %{QUERY_STRING} (base64_encode|localhost|mosconfig) [NC,OR] 
RewriteCond %{QUERY_STRING} (boot\.ini|echo.*kae|etc/passwd) [NC,OR] 
RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|\[|%) [NC] 
RewriteRule .* - [F] 
</IfModule> 

# 5G:[USER AGENTS] 
<IfModule mod_setenvif.c> 
# SetEnvIfNoCase User-Agent ^$ keep_out 
SetEnvIfNoCase User-Agent (binlar|casper|cmsworldmap|comodo|diavol|dotbot|feedfinder|flicky|ia_archiver|jakarta|kmccrew|nutch|planetwork|purebot|pycurl|skygrid|sucker|turnit|vikspider|zmeu) keep_out 
<limit GET POST PUT> 
Order Allow,Deny 
Allow from all 
Deny from env=keep_out 
</limit> 
</IfModule> 

# 5G:[REQUEST STRINGS] 
<IfModule mod_alias.c> 
RedirectMatch 403 (https?|ftp|php)\:// 
RedirectMatch 403 /(https?|ima|ucp)/ 
RedirectMatch 403 /(Permanent|Better)$ 
RedirectMatch 403 (\=\\\'|\=\\%27|/\\\'/?|\)\.css\()$ 
RedirectMatch 403 (\,|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\||\\\"\\\") 
RedirectMatch 403 \.(cgi|asp|aspx|cfg|dll|exe|jsp|mdb|sql|ini|rar)$ 
RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$ 
RedirectMatch 403 (base64|crossdomain|localhost|wwwroot|e107\_) 
RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml) 
RedirectMatch 403 \.well\-known/host\-meta 
RedirectMatch 403 /function\.array\-rand 
RedirectMatch 403 \)\;\$\(this\)\.html\(
RedirectMatch 403 proc/self/environ 
RedirectMatch 403 msnbot\.htm\)\.\_ 
RedirectMatch 403 /ref\.outcontrol 
RedirectMatch 403 com\_cropimage 
RedirectMatch 403 indonesia\.htm 
RedirectMatch 403 \{\$itemURL\} 
RedirectMatch 403 function\(\) 
RedirectMatch 403 labels\.rdf 
RedirectMatch 403 /playing.php 
RedirectMatch 403 muieblackcat 
</IfModule> 

# 5G:[REQUEST METHOD] 
<ifModule mod_rewrite.c> 
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) 
RewriteRule .* - [F] 
</IfModule> 
#AIOWPS_FIVE_G_BLACKLIST_END 
# END All In One WP Security 

# BEGIN WordPress 
<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase/
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /index.php [L] 
</IfModule> 

# END WordPress 
php_value upload_max_filesize 64M 
php_value post_max_size 64M 
php_value max_execution_time 300 
php_value max_input_time 300 

# block visitors referred from semalt.com 
RewriteEngine on 
RewriteCond %{HTTP_REFERER} semalt\.com [NC] 
RewriteRule .* - [F] 

有人知道交通閉塞怎麼回事?

在此先感謝

回答

0

這是部分答案。我收到了一個我以前沒有工作過的人的問題,因爲他們的一些觀衆也收到了403錯誤。我無法在我的任何設備上覆制錯誤,但公司的一些員工能夠重現錯誤。具體來說,似乎錯誤與互聯網連接的類型有關。迄今爲止,我們的測試表明,它可能與使用智能設備生成的熱點有關。使用RedirectMatch 403語句註釋整個代碼塊可修復訪問,但我們無法將其隔離爲一行代碼 - 將它們打開和關閉以及測試網站。