httpd.conf
AllowOverride All 으로 수정
<Directory /var/www/html>
AllowOverride All
</Directory>
.htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]'인프라(infra)' 카테고리의 다른 글
| apache 응답헤더 수정 (0) | 2025.09.26 |
|---|---|
| openssl tomcat 실행 오류 Invalid keystore format (1) | 2024.10.29 |
| ubuntu 18.04 + Janus Gateway 설치 (0) | 2023.06.30 |
| xampp 기본설정 (0) | 2023.04.12 |
| git username / password 저장 (1) | 2023.03.30 |