선생님들의 도움으로 메인페이지까지는 여는데 성공하였는데 하위 페이지가 열리지 않습니다.. ㅠㅠ
(www.bundesmania.com)
서브페이지에서 모두 404 오류가 뜬다면 rewrite 문제일 가능성이 높습니다. 코어에 포함된 .htaccess 파일이 정상적으로 업로드되었는지 확인해 보세요. 파일명이 점으로 시작하는 바람에 누락되는 경우가 은근히 많아요.
도메인/xe/게시판/글번호 형태의 주소는 404 오류가 뜨는데
도메인/xe/index.php?mid=게시판&document_srl=글번호 형태로 바꿨을 때 정상 접속이 된다면
빼박 rewrite 문제입니다.
라고 기진곰님이 올려주셔서 확인해봤는데 정상파일이었습니다.
글번호 url로는 정상적으로 페이지 열리더라구요,,
[Sun Apr 02 03:19:26.749961 2023] [:error] [pid 20280] [client 66.249.77.46:64757] [client 66.249.77.46] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1rppJ69xfgOCR2tG2EQAAAAQ"]
[Sun Apr 02 03:19:26.750192 2023] [:error] [pid 20280] [client 66.249.77.46:64757] [client 66.249.77.46] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1rppJ69xfgOCR2tG2EQAAAAQ"]
[Sun Apr 02 03:19:27.676144 2023] [:error] [pid 20293] [client 66.249.77.46:56505] [client 66.249.77.46] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1r3UeyMn6BsxA05GfOQAAAAU"]
[Sun Apr 02 03:19:27.676407 2023] [:error] [pid 20293] [client 66.249.77.46:56505] [client 66.249.77.46] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1r3UeyMn6BsxA05GfOQAAAAU"]
[Sun Apr 02 03:19:28.610333 2023] [php7:error] [pid 20299] [client 159.192.123.2:52968] PHP Fatal error: Uncaught Error: Class 'Object' not found in /web/home/chan999/html/xe/classes/db/queryparts/Query.class.php:3\nStack trace:\n#0 /web/home/chan999/html/xe/classes/db/DB.class.php(44): require()\n#1 /web/home/chan999/html/xe/config/config.inc.php(175): require('/web/home/chan9...')\n#2 /web/home/chan999/html/xe/index.php(42): require('/web/home/chan9...')\n#3 {main}\n thrown in /web/home/chan999/html/xe/classes/db/queryparts/Query.class.php on line 3, referer: http://bundesmania.com/
[Sun Apr 02 03:19:28.610807 2023] [:error] [pid 20299] [client 159.192.123.2:52968] [client 159.192.123.2] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1sAW4XjQ2MLrFc-79RAAAAAY"], referer: http://bundesmania.com/
[Sun Apr 02 03:19:28.611045 2023] [:error] [pid 20299] [client 159.192.123.2:52968] [client 159.192.123.2] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1sAW4XjQ2MLrFc-79RAAAAAY"], referer: http://bundesmania.com/
[Sun Apr 02 03:19:28.879818 2023] [php7:error] [pid 20301] [client 159.192.123.2:50389] PHP Fatal error: Uncaught Error: Class 'Object' not found in /web/home/chan999/html/xe/classes/db/queryparts/Query.class.php:3\nStack trace:\n#0 /web/home/chan999/html/xe/classes/db/DB.class.php(44): require()\n#1 /web/home/chan999/html/xe/config/config.inc.php(175): require('/web/home/chan9...')\n#2 /web/home/chan999/html/xe/index.php(42): require('/web/home/chan9...')\n#3 {main}\n thrown in /web/home/chan999/html/xe/classes/db/queryparts/Query.class.php on line 3, referer: http://bundesmania.com/
[Sun Apr 02 03:19:28.880288 2023] [:error] [pid 20301] [client 159.192.123.2:50389] [client 159.192.123.2] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1sMLLOKzOrSXpdpUmtAAAAAc"], referer: http://bundesmania.com/
[Sun Apr 02 03:19:28.881664 2023] [:error] [pid 20301] [client 159.192.123.2:50389] [client 159.192.123.2] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1sMLLOKzOrSXpdpUmtAAAAAc"], referer: http://bundesmania.com/
[Sun Apr 02 03:19:29.125586 2023] [php7:error] [pid 20293] [client 159.192.123.2:60343] PHP Fatal error: Uncaught Error: Class 'Object' not found in /web/home/chan999/html/xe/classes/db/queryparts/Query.class.php:3\nStack trace:\n#0 /web/home/chan999/html/xe/classes/db/DB.class.php(44): require()\n#1 /web/home/chan999/html/xe/config/config.inc.php(175): require('/web/home/chan9...')\n#2 /web/home/chan999/html/xe/index.php(42): require('/web/home/chan9...')\n#3 {main}\n thrown in /web/home/chan999/html/xe/classes/db/queryparts/Query.class.php on line 3, referer: http://bundesmania.com/
[Sun Apr 02 03:19:29.125866 2023] [:error] [pid 20293] [client 159.192.123.2:60343] [client 159.192.123.2] ModSecurity: Audit log: Failed to lock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1sXUeyMn6BsxA05GfOgAAAAU"], referer: http://bundesmania.com/
[Sun Apr 02 03:19:29.126081 2023] [:error] [pid 20293] [client 159.192.123.2:60343] [client 159.192.123.2] ModSecurity: Audit log: Failed to unlock global mutex: Permission denied [hostname "bundesmania.com"] [uri "/xe/index.php"] [unique_id "ZCh1sXUeyMn6BsxA05GfOgAAAAU"], referer: http://bundesmania.com/
에러코드입니다. 구글님께 Audit log: Failed to lock global mutex: Permission denied로 물어봤는데
아파치로 사용하는 서버 예시만 나와서 ..
사이트가 문이 닫힌지 벌써 1주일이라 마음만 급하네요 쩝.. ㅠㅠ
고수님들의 고견 부탁드립니다 (_ _)
혹시 최근에 서버에서 아파치, PHP 등을 업데이트하시면서 mod_rewrite 기능이 꺼진 것은 아닐까요?
예를 들어 우분투 리눅스에서 아파치를 새로 설치하면 이게 꺼져있을 수 있습니다.
a2enmod rewrite 명령으로 켠 후, 아파치를 재시작해야 합니다.
그 문제가 아닌데도 mod_rewrite가 작동하지 않는다면 AllowOverride 설정을 손봐야 할 수도 있고,
그래도 정 안되면 XE 설정에서 짧은 주소 사용 옵션을 꺼버리면
모든 글 주소가 강제로 긴주소(index.php?mid=로 시작하는, 정상 작동하는 주소)로 나오게 되니
문제가 해결될 때까지 시간을 벌 수 있을 거예요.