Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
*
HanIRCÀÇ #coffeenix ¹æ
[
Àåºñ ¹× ȸ¼± ÈÄ¿ø
]
> Forum <
IT ÀÏÁ¤
N
e
w
!
ÀÚµ¿È ÇÁ·ÎÁ§Æ®
HOME
>
³×Æ®¿öÅ©(network)
>
À¥ ¼¹ö(web, httpd, apache)
µµ¿ò¸»
°Ë»ö :
»çÀÌÆ®
WHOIS
À¥¼¹ö Á¾·ù
WebDAV
(7, ±Û 1, ÀÚ·á 4)
À¥¼¹ö Æ©´×
(5, ±Û 4, ÀÚ·á 2)
À¥¼¹ö »ç¿ë Åë°è ÀÚ·á
(2, ÀÚ·á 1)
Apache SSL / mod_ssl
(4, ±Û 3, ÀÚ·á 2)
À¥¿¡¼ ´Ù¸¥ µµ¸ÞÀÎÀ¸·Î Æ÷¿öµù
ÀÛ¼ºÀÏ : 2006/11/22 10:25
±Û¾´ÀÌ : ÁÁÀºÁøÈ£ (
http://coffeenix.net/
)
Á¶È¸¼ö : 8180
[
ÀÌÀüȸé
/
¼öÁ¤
] ºñ¹Ð¹øÈ£ :
Á¦ ¸ñ : À¥¿¡¼ ´Ù¸¥ µµ¸ÞÀÎÀ¸·Î Æ÷¿öµù
ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel,
http://coffeenix.net/
)
ÀÛ¼ºÀÏ : 2006.10.30(¿ù)
ÇϳªÀÇ À¥ÆäÀÌÁö¿¡ coffeenix.net, www.coffeenix.netó·³ 2°³ ÀÌ»ó ÁÖ¼Ò¸¦ »ç¿ëÇÏ°í ÀÖ´Ù°í
°¡Á¤ÇÏÀÚ. ¹æ¹®ÀÚ´Â À§ ÁÖ¼Ò ¸ðµÎ Á¢¼ÓÀ» ÇÒÅÙµ¥, ¹æ¹®Àº www.coffeenix.netÀ¸·Î¸¸ ÀÌ·ïÁö±æ
¹Ù¶õ´Ù¸é ¾î¶»°Ô ÇؾßÇÒ±î? ÀÌ ¹æ¹ýÀ» °£´ÜÈ÷ Á¤¸®Çß´Ù.
1. apacheÀÇ RewriteRuleÀ» ÀÌ¿ëÇÏ´Â ¹æ¹ý
RewriteEngine on
RewriteCond %{HTTP_HOST} ^coffeenix.net$ [OR]
RewriteCond %{HTTP_HOST} net.$
RewriteRule ^/(.*)
http://www.coffeenix.net/
$1 [L,R]
coffeenix.netµµ¸ÞÀÎÀ¸·Î Á¢¼ÓÇÒ °æ¿ì URI±îÁö Æ÷ÇÔÇؼ( Á¤±ÔÇ¥Çö½Ä ^/(.*) ) www.coffeenix.net
À¸·Î Æ÷¿öµùÇÑ´Ù. coffeenix.net/bbs/ ¶ó¸é www.coffeenix.net/bbs/ ·Î À̵¿ÇÏ°Ô µÈ´Ù.
.org, .com, .net. .co.kr µîÀÇ ¿©·¯ µµ¸ÞÀÎÀ» µî·ÏÇص×Áö¸¸ ´ëÇ¥ µµ¸ÞÀÎÀ¸·Î .comÀ» »ç¿ëÇÏ°í
½ÍÀ» ¶§µµ À§ÀÇ ¹æ¹ýÀ» ÀÌ¿ëÇÏ¸é µÈ´Ù.
¡Ø Ä¿ÇǴнº´Â À§Ã³·³ ¼³Á¤µÇÁö´Â ¾Ê¾ÒÀ¸´Ï Å×½ºÆ®ÇÏÁö ¸¶¼¼¿ä. ^^*
2. apacheÀÇ 404ÆäÀÌÁö ¼³Á¤°ú php¸¦ ÀÌ¿ëÇÏ´Â ¹æ¹ý
¸ÕÀú ¼³¸íÇÑ RewriteRuleÀ» »ç¿ëÇÒ °æ¿ì ¾È³»ÆäÀÌÁö ¾øÀÌ ¹Ù·Î À̵¿ÇÑ´Ù.
¾È³»ÆäÀÌÁö¸¦ º¸¿©ÁÖ°í, 5ÃÊÈÄ¿¡ ´Ù¸¥ µµ¸ÞÀÎÀ¸·Î À̵¿Çϱ⸦ ¿øÇÑ´Ù¸é
- apacheÀÇ VirtualHost ¼³Á¤
- apacheÀÇ 404ÆäÀÌÁö ¼³Á¤
- php·Î µÈ index.html ÆÄÀÏ Çϳª¸¦ ÀÌ¿ëÇؼ ó¸®ÇÒ ¼ö ÀÖ´Ù.
1) VirtualHost ¼³Á¤
coffeenix.net°ú www.coffeenix.netÀ» º°µµÀÇ virtual host·Î ¼³Á¤ÇÑ´Ù.
2) coffeenix.netÀÇ VirtualHost ¿¡ ErrorDocument ¼³Á¤À» ÇÑ´Ù.
ErrorDocument 404 /index.html
3) php ÇÁ·Î±×·¥
$_SERVER["REQUEST_URI"]À¸·Î URI¸¦ ¾ò¾î³½ ÈÄ meta tagÀ¸·Î 5ÃÊµÚ À̵¿Çϵµ·Ï ÇÏ¸é µÈ´Ù.
<?
$szURI = $_SERVER["REQUEST_URI"];
?>
<html>
<head>
<title>Ä¿ÇǴнº</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="
http://www.coffeenix.net/css/coffeenix.css
" rel="stylesheet" type="text/css">
</head>
<meta http-equiv="refresh" Content="5; url=http://www.coffeenix.net<?= $szURI?>">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
http://www.coffeenix.net
µµ¸ÞÀÎÀ» »ç¿ëÇؼ Á¢¼ÓÇϼ¼¿ä.
5ÃÊ µÚ¿¡ ÀÚµ¿À¸·Î À̵¿ÇÕ´Ï´Ù.
</body>
</html>
Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
[12/25]
Àνº
[10/20]
Cross Compiler ±ò
[07/14]
SSL ¬¡¬°
[04/26]
Re: µµ½ºÈ¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
[04/25]
µµ½ºÈ¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
[10/30]
Cshell¿¡¼ ³¼ö ¼³Á¤
[10/23]
°øÇ×öµµÁÖ½Äȸ»ç SE ±¸ÀÎ Ëì
[01/26]
Re: wgetÀ¸·Î ´Ù¸¥¼¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
[01/25]
wgetÀ¸·Î ´Ù¸¥¼¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
[01/11]
ƯÁ¤ ¾Èµå·ÎÀ̵å WebView ¹öÀü¿¡¼ SSL ¹®Á¦ (WebView ¹ö±×)
[08/01]
DNS forwarder (Àü´ÞÀÚ) ¼¹ö¸¦ ÅëÇؼ Äõ¸®ÇÏ¸é ¿ª¹æÇâÀ» ¹Þ¾Æ¿ÀÁú ¸øÇÕ´Ï´Ù.
[05/16]
(ÁÖ)ÈÄÀÌÁî ½Ã½ºÅÛ¿£Áö´Ï¾î (°æ·ÂÀÚ) ¸ðÁý
[02/15]
[AWS] Cloudfront edge È®ÀÎÇϱâ
[01/20]
Mobile Service/eCommerce ±â¾÷¿¡¼ Server / Java / PHP °³¹ßÀÚ ±¸ÀÎ
[01/11]
źźÇÑ ÆÛºí¸®½Ì ¸ð¹ÙÀϱâ¾÷¿¡¼ Mobile °³¹ßÀÚ¸¦ ¸ð½Ê´Ï´Ù.
N
e
w
! ÃÖ±Ù¿¡ µî·ÏÇÑ ÆäÀÌÁö
KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
¿ÀÇÂij½ºÄÉÀ̵å ijµå (OpenCASCADE CAD)
QCad for Windows --- GNU GPL (Free Software)
The Hello World Collection
IPMI¸¦ È°¿ëÇÑ ¸®´ª½º ¼¹ö°ü¸®
DNS ¼³Á¤ °Ë»ç
nagiosgraph ¼³Ä¡ ¹æ¹ý
Slony-I ¼³Ä¡ ¹æ¹ý (postgresql replication tool)
Qmail±â¹ÝÀÇ Anti spam ½Ã½ºÅÛ ±¸ÃàÇϱâ
clusterssh
[ ÇÔ²²ÇÏ´Â »çÀÌÆ® ]
¿î¿µÁø :
ÁÁÀºÁøÈ£(truefeel)
, ¾ß¼ö(yasu), ¹ü³ÃÀÌ, sCag
2003³â 8¿ù 4ÀÏ~