Linux
  • Linux
  • Bash
  • Debian
  • Ubuntu
  • Shell
  • CentOS
  • SSH
☰

我想用重寫模組限制url中特殊字元的輸入

tag-icon 2024-6-27 • tag-icon apache-2.4 mod-rewrite
我想用重寫模組限制url中特殊字元的輸入

這是 Apache conf 檔案中的程式碼。

RewriteCond %{REQUEST_URI} (\.\.|%2e%2e|%252e%252e|%u002e%u002e) [OR]
RewriteCond %{QUERY_STRING} (\.\.|^%2e%2e|^%252e%252e|^%u002e%u002e)
RewriteRule ^(.*)$ /err_page.php [L]

我該改變什麼?

THE END
NFS NAS 磁碟空間僅指派給一個子目錄 NFS NAS 磁碟空間僅指派給一個子目錄
Strongswan 中可以有 2 個左 id 嗎? Strongswan 中可以有 2 個左 id 嗎?

相關內容

熱門問答

熱門問答

  • apache-2.4
  • mod-rewrite
  • linux
  • storage
  • nfs
  • vpn
  • centos7
  • strongswan
  • ikev2

© 2024 rvso.com 版權所有. 網站地圖