Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 조성남
- winscp
- utf8mb4
- 코드라마 #AI
- PID4
- putty
- 에디트플러스 #sftp안될때
- CenOS6.10
- 윈도우앱지우기
- php7
- IT제어
- CapsLock키보드 뽑기
- sftp
- 한글2 #hangul2_from_2024_01_17
- centos7
- windows19Server
- 신바람여비서win98
- root직접로그인
- ftp
- 인터넷안되는문제해결
- PHP4
- ubunto #네티워크설정
- MSSQL #TCP/IP Enabled
- 아이티제어
Archives
- Today
- Total
아이티제어
http 2.4에서 Forbidden You don't have permission to access 해결방법 본문
Linux
http 2.4에서 Forbidden You don't have permission to access 해결방법
프로그래머 파이브010-2629-0471 2022. 3. 17. 15:491) cat /etc/sysconfig/selinux 파일 수정 (enforcing => disabled 로)
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
2) httpd.conf 파일 수정 해당 홈페이지 폴더별 ( denied ==> granted 변경)
<Directory />
AllowOverride none
#Require all denied
Require all granted
</Directory>
3) 페이지내 파일 퍼미션 apache가 접근권한 부여확인
끝.
'Linux' 카테고리의 다른 글
utf8을utf8mb4로변환 업그레이드 php프로그램 (0) | 2022.05.11 |
---|---|
Linux에서 windows파일 shell명령MySQL dump오류 해결 방법 (0) | 2022.03.18 |
http2.4에서 html 파일 소스가 보일때 php처리 적용 방법 (0) | 2022.03.17 |
MySQL4버전Latin1에서UTF8로 변환 (0) | 2022.03.17 |
KT-cloud CentOS7에 MySQL 4 소스컴파일( 실패 ) (1) | 2022.03.05 |