[아파치]외부링크 차단
# Web&WAS/Apache2024. 2. 14. 08:31[아파치]외부링크 차단

RewriteEngine On # Allow example.com domain RewriteCond %{HTTP_REFERER} !^https?://(www\.)?example\.com [NC] # Log blocked requests RewriteRule .* - [L,R=403] # Custom log format for blocked requests LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" blocked_requests CustomLog "/path/to/your/logs/blocked_requests.log" blocked_requests

apache tomcat minor version update
# Web&WAS/Tomcat2023. 2. 20. 17:43apache tomcat minor version update

최신 마이너 버전 다운로드 후 압축해제하여 lib폴더에 있는 라이브러리 파일을 기존 버전의 lib폴더에 복사하면 끝!! 재기동하기전에도 version.sh실행하면 버전이 변경된것 확인 가능. 원복해야할지도 모르니 lib폴더를 백업해두자!! https://endoflife.date/tomcat Apache Tomcat Check End of Life, Support Schedule, and release timelines for AlmaLinux OS, Alpine Linux, Amazon Corretto, Amazon Linux, Android OS, Angular, Ansible-core, Ansible, antiX Linux, Apache Airflow, Apache Camel, Apache Cass..

apache jmeter 설치 및 테스트
# Web&WAS/Apache2022. 11. 17. 18:50apache jmeter 설치 및 테스트

다운로드 https://jmeter.apache.org/download_jmeter.cgi Apache JMeter - Download Apache JMeter Download Apache JMeter We recommend you use a mirror to download our release builds, but you must verify the integrity of the downloaded files using signatures downloaded from our main distribution directories. Recent releases (48 hours) may not yet be ava jmeter.apache.org 설치 플러그인 매니저설치 http://jmeter-plugi..

워드프레스 업데이트 에러
# Web&WAS2022. 11. 17. 16:47워드프레스 업데이트 에러

업데이트 에러 내용 업데이트 압축 풀기… 일부 파일이 복사가 안돼 업데이트가 설치되지 않았습니다. 이것은 보통 일관되지 않은 파일 권한 때문입니다.: wp-admin/includes/update-core.php 설치 실패함. 원인 파일권한으로 인한 문제 해결방법 # 권한문제로 아래와 같이 하면됩니다. [darksharavim]find ./ -type f | xargs chmod 644 [darksharavim]find ./ -type d | xargs chmod 755 [darksharavim]chown -R apache:apache ./*

워드프레스 오류 Call to undefined function wp_cache_get()
# Web&WAS2022. 11. 10. 15:47워드프레스 오류 Call to undefined function wp_cache_get()

오류 워드프레스 업데이트 도중 실수로 뒤로가기 누르고 난뒤에 아래와 같이 오류발생 PHP Fatal error: Uncaught Error: Call to undefined function wp_cache_get() in /home/darkshravim/html/wp-i ncludes/option.php:165\nStack trace:\n#0 /home/darkshravim/html/wp-includes/l10n.php(63): get_option()\n#1 /home/darkshravim/html/wp-includes/l10n.php(139): get_locale()\n#2 /home/darkshravim/html/wp-includes/l10n.php(766): d etermine_locale()\n#..

image