|
Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
|
|
|
|
ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
ÁøÀÌ ¼Õ´Ô
|
¿Ã·ÁÁü: 2009.9.21 ¿ù, 1:12 pm ÁÖÁ¦: htaccess Á» ºÁÁÖ¼¼¿ä |
|
|
¼ö°íÇϽʴϴÙ.
ƯÁ¤ ¾÷¹« ¶§¹®¿¡.htaccess¿¡¼ ó¸®ÇØ¾ß ÇÒ °ÍÀÌ ÀÖ¾î ´ÙÀ½°ú °°ÀÌ htaccess¸¦ ´ÙÀ½°ú °°ÀÌ Á¦ÀÛÇÏ¿´½À´Ï´Ù.
(htaccess Áö½ÄÀÌ ¹ÌõÇÏ¿© ÀÌÁ¤µµ ¸¸°¡´ÉÇÏ³×¿ä ¤Ì.¤Ð)
RewriteEngine On
RewriteCond %{REMOTE_HOST} ^.* //--> ¸ðµç È£½ºÆ® Á¢¼Ó½Ã collection/skin_header.php ¼öÇà
RewriteRule ^/(.*) ./collection/skin_header.php [R,L]
RewriteCond %{REMOTE_HOST} ^.* //--> collection/skin_header.php ¸¦ ¼öÇàÇÏ°í ¸ðµç È£½ºÆ® Á¢¼Ó½Ã Á¤»óÀûÀÎ »çÀÌÆ® Á¢¼Ó
RewriteRule ^/(.*) - [R,L]
À§¿Í °°ÀÌ ÇÏ¸é ¹«Á¶°Ç RewriteRule ^/(.*) - [R,L]ÀÌ ¼öÇàµÇ¾î ¹ö¸®³×¿ä ;;
±×·¡¼ ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇØ º¸¾Ò½À´Ï´Ù.
RewriteEngine On
RewriteCond %{REMOTE_HOST} ^(.*)
RewriteRule ^(.*) collection/skin_header.php
RewriteRule ^(.*) http://test.com/$2 [L]
À§¿Í °°ÀÌ º¯°æÇϸé
RewriteRule ^(.*) collection/skin_header.php
RewriteRule ^(.*) http://test.com/$2 [L]
º»ÀÎÀÌ ¿øÇÏ´Â °Í ó·³ µ¿ÀÛÀº ÇÏÁö¸¸ À§ ºÎºÐÀÌ °è¼Ó ¹Ýº¹(¹«ÇÑ) ¼öÇàµÇ¾î ¹ö¸®³×¿ä ;;;
°á±¹
RewriteEngine On
RewriteRule ^(.*) collection/skin_header.php
RewriteRule ^(.*) http://test.com/$2 [L]
ó·³ µÇ¾î ¹ö·È½À´Ï´Ù.
ÀÌ°ÍÀ» Çѹø¸¸ ¼öÇàµÇ°Ô ²û ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ¾øÀ»±î¿ä??
Á¶¾ð ºÎŹµå¸®°Ú½À´Ï´Ù. |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
|
|
»õ·Î¿î ÁÖÁ¦¸¦ ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù ´ä±ÛÀ» ¿Ã¸± ¼ö ÀÖ½À´Ï´Ù ÁÖÁ¦¸¦ ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù ¿Ã¸° ±ÛÀ» »èÁ¦ÇÒ ¼ö ¾ø½À´Ï´Ù ÅõÇ¥¸¦ ÇÒ ¼ö ¾ø½À´Ï´Ù
|
Powered by phpBB © 2001, 2005 phpBB Group
|