¿ä±¸ URL /server-status ¶Ç´Â 404 ÆäÀÌÁö ã¾Æ³»Áö ¾ÊÀº ¾ÆÆÄÄ¡ °ú½Ç
Apache Web Server¿¡¼´Â, ÇàÁ¤°üÀÌ ¸í·É "apachectl »óÅÂ"¿Í Apache Server »óŸ¦ °Ë»çÇϰñ ½ÍÀ» "Æ÷ź ±æÀâÀÌ¿¡ httpd fullstatus"¸¦ ¼ºñ½ºÇÒ ¶§, µÚ¿¡ ¿À´Â °ú½ÇÀº ¹ß»ýÇÒÁöµµ ¸ð¸¥´Ù:
ã¾Æ³»Áö ¾Ê´Â
¿ä±¸µÈ URL /server-status´Â ÀÌ ¼¹ö¿¡ ã¾Æ³»Áö ¾Ê¾Ò´Ù.
´ç½ÅÀÌ http://domain_name/server-status ¿¬°á À§Ä¡¸¦ Àü¸ÁÇØ¼ À¥ ÆäÀÌÁö¿¡¼ ¾ÆÆÄÄ¡ »óŸ¦ ¿ä±¸ÇÏ´Â °æ¿ì¿¡, 404 ÆäÀÌÁö ã¾Æ³»Áö ¾ÊÀº °ú½ÇÀº À¥ ºê¶ó¿ìÀú¿¡ ÀÇÇØ µ¹·Áº¸³»Áú °ÍÀÌ´Ù.
ÀÌ ¹®Á¦ ±øÅëÀÌ »ý±äÁö ¿Ö ¸î¸î ÀÌÀ¯°¡ ÀÖ´Ù. °Ë»çÇÒ °ÍÀ̴٠ù¹øÂ° °ÍÀº mod_status »óÅ ´Ù·ç°³°¡ httpd.conf ±¸¼º ÆÄÀÏ¿¡¼ Á¦´ë·Î ¼³Ä¡µÇ°í ÀûÀçµÈ¤¤´Ù´Â °ÍÀ» º¸ÁõÇϱâ À§ÇÑ °ÍÀÌ´Ù. APXS¸¦ »ç¿ëÇÏ¿©, µÚ¿¡ ¿À´Â 2°³ÀÇ ¼±Àº Á¸ÀçÇØ¾ß ÇÑ´Ù:
LoadModule status_module /path/to/apache/modules/mod_status.so
AddModule mod_status.c
¼±ÀÌ Á¸ÀçÇÏ´Â °æ¿ì¿¡, ¹®Á¦´Â »ç½Ç»ó ÁÖÀÎ ¼±¾ð¿¡ ¾Æ¸¶ ¼ÓÀδÙ. ÁÖ¼®À¸·Î, ´ç½ÅÀº ¶ÇÇÑ Á¤º¸¸¦ ´õ º¸¿©ÁÖ±â À§ÇÏ¿© »óÅ ´Ù·ç°³°¡ httpd.conf (°úÅ ¶³¾îÁ®)¿¡ ÀÖ´Â µÚ¿¡ ¿À´Â ¼±À» ã¾Æ³»¾î¼ (±×·¯³ª ¹Ù»Û ¼¹ö¸¦ °¨¼ÓÇÒ °ÍÀÌ´Ù) Ȱ¼ºÈµÇ´ÂÁö °Ë»çÇÒ ¼ö ÀÖ´Ù:
À§¿¡ ExtendedStatus
¼¹ö »óŸ¦ À§ÇÑ »ç½Ç»ó ÁÖÀÎÀ» À§ÇØ, µÚ¿¡ ¿À´Â ¼±ÀÌ ´ç½ÅÀÇ ¾ÆÆÄÄ¡ ±¸¼º ÆÄÀÏ¿¡¼ Á¸ÀçÇѤ¤´Ù´Â °ÍÀ» È®ÀÎÇϽʽÿÀ:
SetHandler ¼¹ö »óÅÂ
¼ø¼´Â Çã¿ëÇϰí, ºÎÁ¤ÇÑ´Ù
¸ðµÎ¿¡°Ô¼ ºÎÁ¤ÇϽʽÿÀ
localhost¿¡°Ô¼ Çã¿ëÇϽʽÿÀ
´ç½ÅÀº .example.com¿Í °°Àº ´ç½ÅÀÇ µµ¸ÞÀÎ À̸§¿¡ (¿µ¿ªÀÇ ¾Õ¿¡ ¸¦ Æ÷ÇÔÇÏ¿© Á¡) ¿µ¿ª ÁÖ¼Ò¿¡¼ Á¢±ÙÀ» Çã¿ëÇϱâ À§ÇÏ¿© localhost¸¦ ¹Ù²Ü ¼ö ÀÖ´Ù. ±× ¿Ü¿¡ localhost´Â Á¢±ÙÀ» Çã¿ëÇÏÁö ¾Ê´Â´Ù ¼¹ö »óÅ¿¡ ½ÃûÀÚ Á¦ÀÛ ÇÁ·Î±×·¥À» Á¦ÇÑÇϰí, ÇöÁöÀÇ ÃÖ°í ¸í·É Æ÷ź Á¢±ÙÀº °¡´ÉÇÏ´Ù.
´ç½ÅÀÌ NameVirtualHost¸¦ »ç¿ëÇÏ´Â °æ¿ì¿¡ * Àú°ÍÀ» ¶ÇÇÑ ÁÖÀÇÇϽʽÿÀ: 80 Áö½Ã, ¶Ç´Â ¹«¾ùÀ̵ç *: ´Ù¼ö À̸§¿¡ ±Ù°ÅÇÑ »ç½Ç»ó ÁÖÀÎÀ» ´Þ¸®´Â Ç×±¸ Áö½Ã´Â, ÀÌ À±°û °øÁßÀ¸·Î Á¢±Ù °¡´ÉÇÑ ÁÖ¼Ò ¾î¶²¿¡ ¼¹ö »óŸ¦ Çã¿ëÇÏÁö ¾Ê´Â´Ù. ÀÌÀ¯´Â Áö½Ã¿¡ Àִ ù¹øÂ° »ç½Ç»ó ÁÖÀÎÀÌ "°úÅ »ç½Ç»ó ÁÖÀÎÀ̶ó°í" ¿©°ÜÁø´Ù ÀÌ´Ù, »ç¿ëÀÚ ¶Ç´Â °úÁ¤ÀÌ ¾Æ¹« IP ÁÖ¼Ò³ª¿¡ Á¡°Ë±¸ 80¿¡ ½ÃµµÇÑ´Ù ¾ðÁ¦µçÁö NameVirtualHost °ø°£¿¡ ¾î¶² ºÒ¸íÇÑ ÀÔÀåµçÁö ºÎÀü½ÂÀ¸·Î ÀÌ »ç½Ç»ó ÁÖÀο¡, °¥ °ÍÀÌ´Ù. ±×·¯¹Ç·Î 404 ÆäÀÌÁö ã¾Æ³»Áö ¾ÊÀº °ú½ÇÀº µ¹·Áº¸³»Áø´Ù. °Ô´Ù°¡ ¼¹ö »óÅ À±°ûÀº °¡µæ Â÷ÀÖ´Â µµ¸ÞÀÎ À̸§¿¡¼ ÀÐÈú VirtualHost Áö½ÃÀÇ ¾ÈÂÊ¿¡ µÑ ¼ö ¾ø´Ù.
2s ÇØ°áÃ¥ÀÌ ÀÖ°í ÀÌ ´ëº», ¼¹ö¸¦ ¸¸µé¾î¼ ¾î´À ÂÊÀ̵çÀ» À§ÇÑ workarounds´Â ¾çÀÚÅÃÀÏ Ç×±¸ (Ç×±¸ 8080¿Í °°Àº) ¶Ç´Â ´ÜÁö ³»ºÎ ÇöÁö Á¢±Ù Çã¿ëÇϱ⿡ µè´Â´Ù.
°£´ÜÇÏ°Ô "¡È´Â Ãß°¡ÇÏ´Â ´Ù¸¥ Ç×±¸·Î, ¹Ù²î±â À§ÇÏ¿©´Â 8080 À±°ûÀ» µè°í, ´ç½ÅÀº ¾î¶² À¥ ºê¶ó¿ìÀúµçÁö¿¡ ÀÖ´Â http://domain:8080/server-status¸¦ »ç¿ëÇØ¼ ¿ÜºÎ¿¡¼ ¼¹ö »óÅ¿¡ Á¢±ÙÇÒ ¼ö ÀÖ´Ù.
To allow only local access for commands such as ¡®apachectl status¡¯ or ¡¯service httpd fullstatus¡¯, simply switch each * to the actual IP address to work from, then accessing from localhost (127.0.0.1) will work.
For example, change from:
NameVirtualHost *:80
to
NameVirtualHost 10.0.0.3:80
Once configuration file is modified correctly, restart Apache HTTPD server.
IMPORTANT: This is a machine translated page which is provided "as is" without warranty. Machine translation may be difficult to understand. Please refer to original English article whenever possible.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- cPanel WHM Failed to Receive Status Information From Apache Error
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page
- Running apachectl status Returns lynx: not found Error
- Add Trailing Slash to the End of the URL with .htaccess Rewrite Rules
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log
- WordPress Permalinks Does Not Work in xampp Setup
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 4
- PHP 5 Unable to Open HTTP Request Stream with fopen or fsockopen Functions
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files

























December 28th, 2007 01:37
Hi,
I hope you dont mind me asking you, but i¡¯ve been searching on Google for some help as i¡¯m totally stuck - and then I found you !!
My website went down about 3 weeks ago and I cant get in touch wih the man who set my site up for me.
I¡¯m trying to get onto my site and its just telling me that the certificate has expired, but I dont know what to do.
I am desperate for help but am not too good on computers so dont understand all the ¡®lingo¡¯ and any advise would need to be in simple terms.
I would be very very grateful if you could point me in the right direction.
Thanks hopefully,
Lynda
December 28th, 2007 02:23
You can still visit even though SSL certificate is expired. Just accept the security warning. Looks like your site is having configuration error on web server, probably virtual hosts or redirection error.