aai1.5 사용중인데 이슈가 있습니다.
페이지 정보
본문
제가 특정 스크립트를 홈서버에 설치를 해서 테스트중입니다.
centos7 입니다. 그런데 실행하면
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at @localhost" rel="nofollow">root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log.
이에러가 떠서 에러로그름 보니
[Sun Feb 09 14:10:30.894723 2020] [core:alert] [pid 5937:tid 140456336873216] [client 218.157.59.152:14321] /home/hwik/public_html/api/.htaccess: Options not allowed here
이게 나옵니다..
제서버 환경에 무엇이 문제일까요? .htaccess을 허용해야 한다는 뜻인거 같은데요. AAI 가 .htaccess 허용이 안되었을리는 없다고 생각하는데요.
혹시 스크립트에 맞게 무얼 설정해야 할까요?
.htaccess 내용입니다.
<IfModule mod_rewrite.c>
#Enable URL rewriting
RewriteEngine On
#Uncomment the following lines as instructed to redirect all http:// requests to https://
#If using Cloudflare SSL, uncomment this line
#RewriteCond %{HTTP:CF-Visitor} {"scheme":"http"}
#If NOT using Cloudflare SSL and using HTTP Proxy (e.g., OVH Load Balancer), uncomment this line
#RewriteCond %{HTTP:X-Forwarded-Proto} !https
#If NOT using Cloudflare SSL or HTTP Proxy, uncomment this line
#RewriteCond %{HTTPS} off
#Always uncomment these lines
#RewriteCond %{REQUEST_URI} (.*[^\.][^m][^p][^3])$ [or]
#RewriteCond %{REQUEST_URI} ^(/)$
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#If using Cloudflare SSL
RewriteCond %{HTTP:CF-Visitor} {"scheme":"https"}
RewriteCond %{REQUEST_URI} (\.mp3)$
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
#Redirect to robots.txt
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(robots\.txt)$ store/$1 [QSA,L]
#Test URL Rewriting (config check only)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (test-url-rewriting)$ inc/version.php [QSA,L]
#Redirect to active template
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?req=$1&%{QUERY_STRING} [QSA,L]
</IfModule>