Apache 접속 인증 추가는 .htaccess에 인증 설정을 추가하는 방법이 가장 잘 알려져 있고, 많이 사용되고 있습니다. 단, .htaccess는 디렉토리 설정으로 Apache에서는 httpd.conf에 설정된 directory 설정과 해당 경로의 .htaccess 파일중 하나만 인식하는 문제가 있습니다. 그렇기 때문에 접속 인증만 추가해야하는 경우에는 virtualhost 설정에 location 설정을 통해서 .htaccess를 사용하지 않고, 인증 설정을 할 수 있습니다. 패스워드 파일 생성 # htpasswd -c /home/warpmemory/www/secret/.htpasswd warpmemory New password: mypassword Re-type new password: mypas..
123456789101112131415161718$homeDir = C:\home $items = New-Object System.Collections.ArrayList$items.Add($homeDir) $dirs = Get-ChildItem -Path $homeDir -Recurse | ?{ $_.PSIsContainer } | Select-Object FullNameforeach ($dir in $dirs) { $items.Add($dir.FullName)} $files = Get-ChildItem -Path $homeDir -Recurse | Select-Object DirectoryName,Name | where { $_.DirectoryName -ne $NULL }foreach ($file i..
- Total
- Today
- Yesterday
- configuration
- Windows
- monitoring
- command
- 코드
- example
- mysql
- client
- File
- httpd
- Ansible
- apache
- deview
- 이슈처리
- RESTful
- error
- Linux
- check
- 외부링크
- engineering
- Web
- limits
- 번역
- 예제
- PowerShell
- Module
- code
- MariaDB
- 명령어
- Python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |