저는 OpenLinespeed 웹 서버의 신규 사용자입니다. 이전에는 웹 서버에 Apache를 사용했습니다. 이제 OpenLitespeed에서 보안 목적으로 .htaccess에 대해 혼란스러워하고 있습니다. 내 htaccess로 규칙 아래OpenLitespeed htaccess
내가 OpenLiteSpeed 웹 서버에서이 규칙을 사용하는 방법
IndexIgnore *.css *.js *.png *.jpg
Options -Indexes
ErrorDocument 400 index.php
ErrorDocument 403 index.php
ErrorDocument 404 index.php
ErrorDocument 500 index.php
<Files ~ "\.optl$">
Order allow,deny
Deny from all
</Files>
아파치
에 좋은 작품? 당신이
동일한 문제가 발생했습니다. – harrrrrrry