0

joomla Web サイトの htaccess ファイルに次のコードがあります。

## Back-end protection
## This also blocks fingerprinting attacks browsing for XML and INI files
RewriteRule ^administrator/?$ - [L]
RewriteRule ^administrator/index\.(php|html?)$ - [L]
RewriteRule ^administrator/index[23]\.php$ - [L]
RewriteRule ^administrator/(components|modules|templates|images|plugins)/([^/]+/)*   ([^/.]+\.)+(jp(e?g|2)?|png|gif|bmp|css|js|swf|html?|mp(eg?|[34])|avi|wav|og[gv]|xlsx?|docx?|pptx?|zip|rar|pdf|xps|txt|7z|svg|od[tsp]|flv|mov)$ - [L]
RewriteRule ^administrator/ - [F]

このコードを htaccess ファイルに追加して以来、スクリプト notify.php を介して Paypal からの通知に関する問題に対処してきました。次のコードをチェックして、notify.php が自分のサイトで機能することを許可しようとしていますが、成功しませんでした。

## Allow PayPal Notify
#RewriteRule ^/administrator/components/com_virtuemart/(notify\.php)?$ - [L]

¿解決策を見つけるのを手伝っていただけますか?

前もって感謝します!

4

1 に答える 1

0

これを試してみませんか?

# Allow PayPal Notify
RewriteRule ^/administrator/components/com_virtuemart/notify\.php - [L]

上記の行を最後の書き換えルールのすぐ上に配置します

これが機能しない場合は、paypal からの失敗した要求を示す apache error.log からいくつかの行を投稿してください。

于 2013-10-30T21:33:26.913 に答える