linux 输入重定向(%3c),PHP中的URL重定向

不仅这个重定向,但每当我有任何东西旁边Joomla_1.5.7 /我试图将其附加到Joomla1.5 ..如何在PHP中执行此操作....如何识别该URL在Joomla_1.5.7之后包含的内容得到它??

编辑:##如果导致错误可以注释掉,请参阅上面的注释 . 选项FollowSymLinks

#

# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits

## If you experience problems on your site block out the operations listed below

## This attempts to block the most common type of exploit `attempts` to Joomla!

#

# Block out any script trying to set a mosConfig value through the URL

RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]

# Block out any script trying to base64_encode crap to send via URL

RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]

# Block out any script that includes a

RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]

# Block out any script trying to set a PHP GLOBALS variable via URL

RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]

# Block out any script trying to modify a _REQUEST variable via URL

RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})

#发送所有被阻止的请求到主页403 Forbidden错误! RewriteRule ^( . *)$ index.php [F,L] ########### End - 重写规则以阻止一些常见的漏洞利用

# Uncomment following line if your webserver's URL

# is not directly related to physical file paths.

# Update Your Joomla! Directory (just / for root)

# RewriteBase /

########## Begin - Joomla! core SEF Section

#RewriteCond%!-f RewriteCond%!-d RewriteCond%!^ / index.php RewriteCond%(/| .php|.html | .htm | .feed | .pdf | .raw | /[^.])$ [NC] RewriteRule( . )index.php RewriteRule . * - [E = HTTP_AUTHORIZATION:%{HTTP:Authorization},L] ###########结束 - Joomla!核心SEF科

RewriteEngine on

RewriteCond %{REQUEST_URI} ^/joomla/Joomla_1\.5\.7/.*

RewriteRule ^(.*)$ http://%{HTTP_HOST}/joomla/Joomla1.5/$1 [R=301,L]

是我的htaccess文件中的内容,但它仍显示我的网站中的任何更改 .

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值