‚T‚æ‚į‚ń‚Ė‚é šƒXƒ}ƒz”Łš ”ŒfŽ¦”Ā‚ɖ߂達 ‘S•” 1- ÅV50  

” ‚±‚ĢƒXƒŒƒbƒh‚Ķ‰ß‹ŽƒƒO‘qŒÉ‚ÉŠi”[‚³‚ź‚Ä‚¢‚Ü‚·

yApachezmod_rewrite‚É‚Ā‚¢‚ÄŒź‚éƒXƒŒ

1 Fnobody‚³‚ńF02/06/11 19:29 ID:wH0rV3+D
Apache‚Ģƒ‚ƒWƒ…[ƒ‹wmod_rewritex‚ÉŠÖ˜A‚·‚éƒXƒŒ‚Å‚·B

Šī–{“I‚Č“ą—e‚Ķ«ƒy[ƒW‚š“Ē‚Ž‚±‚ʁB
http://japache.infoscience.co.jp/rewriteguide/
http://japache.infoscience.co.jp/japanese_1_3_6/manual/mod/mod_rewrite.html

‚»‚ź‚Å‚ĶĻĄ°ŲĄ‚«‚Ü‚µ‚傤B

2 Fnobody‚³‚ńF02/06/11 19:30 ID:???
”‚¾! 2ƒQƒbƒg«««!
PPPPPÉPPP@@@@@@@(LL
@@@@ ČČ@@@j@@@@@@(LÜ(L
@@¼i߄tß ‚Āßßß(LÜ;;;ßßß
@(G)@@@@@ PP@ (LÜ(LÜ;;


3 F3F02/06/11 20:03 ID:???
3

4 FŽF02/06/11 22:12 ID:???
mod_rewrite‚Å‹Ć‚Į‚½Ž–‚ā‚Į‚Ä‚é‚Ęsendmail.cf‘‚¢‚Ä‚é‚ꂤ‚Č‹C•Ŗ‚É‚Č‚ē‚Č‚¢?
•ĻŠ·’†‚ĢURI•¶Žš—ń‚É‹ó”’‹ęŲ‚č‚ŏó‘Ō‚š•Ū‘¶‚µ‚½‚č‚³B

5 F‚©‚Ø‚č‚ńÕ‚č ŸKAORinK6 F02/06/11 23:37 ID:???
¹8ƒmƒnR8ø
@ i@O¤OjQQ_ @@@@@@@@@@@@@@@@@@@|=ßßß`oƒmƒnRo`
@i‚Ā‚Āi@@@ij|=ßßVƒXƒŒ‚Ø‚ß‚Å‚Ę‚¤‚Č‚Ģ‚ź‚·|ō@@ @(@LśDM)
@@Ɂ@lɁ@PP@@@@@@@@@@@@@@@@@@@@@@|=ßßßQQ‚Ā
@i__Qj__j



6 FƒfƒtƒHƒ‹ƒg‚Ģ–¼–³‚µ‚³‚ń F02/06/12 17:40 ID:???
>4
—]Œv‚Č‚±‚Ę‚µ‰ß‚¬‚āAƒ‹[ƒv‚ɊׂĮ‚Ä‚µ‚Ü‚¤‚±‚Ę‚ą‚ ‚č‚Ü‚·‚ŖA‰½‚©H

Rewrite‚·‚鎞‚ÉContent-type‚Į‚ďķ‚É text/html ‚Č‚ń‚¾‚ė‚¤‚©H
text‚©‚ēimage‚ÉRewrite‚·‚é‚ʁAtext/html ‚Ģ‚Ü‚Ü‚Å image/xxx ‚É•Ļ‚ķ‚ē‚ńB
ŠĀ‹«‚É‚ę‚Į‚Ä‚Ķ•s–”B
‰ń”šō‚ ‚ź‚ĪA•ń·ĪŽ°ĒB

7 Fnobody‚³‚ńF02/06/12 23:23 ID:QxWRW/Qr
>>1Œ©‚½‚Æ‚ĒA‚³‚Į‚Ļ‚č‚ķ‚©‚ē‚ńB
Œ‹‹Ē‚±‚ź‚Ķ‰½‚Č‚Ģ‚©B

8 Fnobody‚³‚ńF02/06/12 23:44 ID:K447s2+V
RewriteMap + prgŽg‚Į‚Ĉź’莞ŠŌ“ą‚Ģ“ÆŽžƒAƒNƒZƒX”§ŒĄ‚ÉŽg‚Į‚Ä‚éB
Œv‘ŖƒvƒƒOƒ‰ƒ€‘¤‚ĶPerl‚¾‚Æ‚Ē‹N“®‚µ‚Į‚Ļ‚Č‚µ‚¾‚©‚ē‘‚­‚ăCƒC‚ĖB

mod_proxy‚Ę‚Ģ‘g‚Ż‡‚ķ‚¹‚ŖŠy‚µ‚­‚čD‚«‚¾‚ȁB

9 Fnobody‚³‚ńF02/06/18 14:58 ID:???
ŽN‚µ

10 Fnobody‚³‚ńF02/06/19 01:10 ID:???
htaccess‚¾‚Æ‚Ģ‹Lq‚Å‘Ńˆę§ŒĄ‚Ę‚©max_connections‚Ę‚©Ż’č‚Å‚«‚é‚ꂤ‚É‚Č‚ē‚ń‚©‚ȁB
mod_throttle‚Ę‚©‚ĶOS‚ŖUnixELinuxŒn‚µ‚©ƒ_ƒ‚¾‚µB

11 Fnobody‚³‚ńF02/06/23 02:28 ID:???
>>10–³—‚¾‚ė‚¤B‚»‚ź‚ĶAƒT[ƒo[‘¤‚ĢƒI[ƒo[‚Å‚©‚¢‚ĘŽv‚ķ‚Č‚¢‚©H
uƒT[ƒo[Ż’čv•Ļ‚¦‚é‚ꂤ‚Č‚ą‚ń‚¾‚©‚ēc

12 Fnobody‚³‚ńF02/08/22 22:33 ID:???
age

‚Ā[‚©A”Ā‚ĢŽĄ—Ķ‚š”½‰f‚µ‚½ƒXƒŒ‚¾‚ȁEEEB

13 Fnobody‚³‚ńF02/09/23 14:05 ID:YqX96leN
[P] ‹@”\‚ŖD‚«

14 Fnobody‚³‚ńF02/09/24 16:25 ID:/2P4+h33
mod_rewrite‚ŖŽg‚¦‚éƒT[ƒo‚Į‚Ä‚Ē‚±‚Ŗ‚ ‚é‚ĢH


15 Fnobody‚³‚ńF02/09/24 17:54 ID:???
•³½Ų±

16 Fnobody‚³‚ńF02/09/24 17:59 ID:cTjjUirZ
‚¢‚æ‚¢‚æ–ā‚¢‡‚ķ‚¹‚ø‚É‚ķ‚©‚ń‚Č‚¢‚ą‚ń‚©‚Č

17 Fnobody‚³‚ńF02/10/02 13:14 ID:6JgGwrqz
CGI‚ŖŽg‚¦‚é‚Ę‚±‚ė‚Č‚ēsystem('httpd -l')‚µ‚Ä‚Ż‚é‚Ę‚©

18 Fnobody‚³‚ńF02/10/07 22:30 ID:bKtEI8Ri
@mod_rewrite ‚É‚Ā‚¢‚Ä’²‚ׂĂ¢‚½‚ēA‚±‚±‚šŒ©‚Ā‚Æ‚Ü‚µ‚½B
@‰ŗ‹L‚Ģ‚±‚Ę‚š‚µ‚½‚¢‚Ģ‚Å‚·‚ŖAmod_rewrite ‚Å‚Å‚«‚é‚Å‚µ‚傤‚©H

-----------------------
@‚ ‚éƒfƒBƒŒƒNƒgƒŠˆČ‰ŗ‚šŒÄ‚яo‚·‚ʁA•K‚øˆź‚Ā‚ĢƒXƒNƒŠƒvƒg‚šŒÄ‚яo‚µA
“Į’čƒfƒBƒŒƒNƒgƒŠˆČ‰ŗ‚ĢAƒpƒXī•ń‚šƒpƒ‰ƒ[ƒ^‚Ę‚µ‚ÄŽę“¾‚·‚邱‚Ę‚Ķ‚Å‚«‚é‚Å‚µ‚傤‚©H

—įF
@http://hogehoge.com/test/param1/param2

‚PDtest/ ˆČ‰ŗ‚ĢƒpƒXī•ń‚Ķ–³Ž‹‚³‚ź‚āAhoge.php ‚ŖŒÄ‚Ī‚ź‚éB
‚QDtest/ ˆČ‰ŗ‚Ģ param1/param2 ‚Ģī•ń‚š hoge.php ‚Ģ’†‚ÅŽg—p‚·‚éB

@‚æ‚Č‚Ż‚É tomcat ‚Å‚Ķ web.xml ‚Å
<servlet-mapping>
<servlet-name>
HogeHogeServlet
</servlet-name>
<url-pattern>
/test/*
</url-pattern>
</servlet-mapping>

@‚Ę‚¢‚¤‚ꂤ‚ȐŻ’č‚š‚µ‚čs‚Į‚Ä‚¢‚Ü‚µ‚½B

-----------------------------
@’Pƒ‚É test/* ‚Å‘¼‚ĢźŠ‚É‚ ‚éƒXƒNƒŠƒvƒg‚É‚Ę‚Ī‚·•ū–@‚Ķ‚ķ‚©‚Į‚½‚Ģ‚Å‚·‚ŖA
ŠY“–ƒpƒX‚ĢŒć‚ė‚É•t‰Į‚³‚ź‚Ä‚¢‚éƒpƒX‚šAƒpƒ‰ƒ[ƒ^‚Ę‚µ‚Ä“n‚·‚±‚Ę‚Ŗ‚Å‚«‚é‚Ģ‚©
‚Ŗ‚ķ‚©‚č‚Ü‚¹‚ńB
@‚Ę‚Ī‚µ‚½ę‚ĢƒXƒNƒŠƒvƒg‚ŁAŒ³‚ĢPATH_INFOH‚šŽQĘ‚·‚ź‚Ī‚¢‚¢‚¾‚Æ‚©‚ȁH‚»‚ą‚»‚ą
ŽQĘ‚Å‚«‚é‚Ģ‚©‚ȁH
@‚ ‚Ę‚ÅŽŽ‚µ‚Ä‚Ż‚Ü‚·B‚Å‚ąŒoŒ±ŽŅ‚¢‚½‚ēA‹³‚¦‚Ä‚­‚¾‚³‚¢B

19 Fnobody‚³‚ńF02/10/07 23:20 ID:???
test ‚šƒfƒBƒŒƒNƒgƒŠ‚Å‚Ķ‚Č‚­A
hoge.php ‚š test ‚Ę‚¢‚¤ƒtƒ@ƒCƒ‹‚ɃŠƒl[ƒ€‚µ‚āA
.htaccess ‚© httpd.conf ‚Å
<Files test>
SetType application/x-httpd-php
</Files>
‚Ę PHP ƒXƒNƒŠƒvƒg‚Ę‚µ‚Ä‹N“®‚Å‚«‚é‚ꂤ‚ɐŻ’肵‚Ä‚Ø‚Æ‚ĪA
mod_rewrite ‚Č‚µ‚Å PATH_INFO ‚©‚ēī•ńŽę“¾‚Å‚«‚éB

‚ ‚é‚¢‚ĶAhttpd.conf ‚Å
Action hoge-handler /somewhere/hoge.php
<Location /test>
SetHandler hoge-handler
</Location>
‚Ę‚µ‚Ä‚ą‚¢‚¢‚©‚ą‚µ‚ź‚ńB‚±‚Ģź‡‚Ķ PATH_TRANSLATED ‚¾‚Į‚½‚©‚ȁH

ˆČćA‚Ü‚Į‚½‚­“®ģŠm”F‚µ‚Ä‚Č‚¢‚Ģ‚ŁAƒEƒ\‘‚¢‚Ä‚é‚©‚ą‚µ‚ź‚ńB


20 FhmkF02/10/07 23:28 ID:???
>>18
Ś‚µ‚¢‚±‚Ę‚Ķ‚ę‚­‰Æ‚¦‚Ä‚¢‚Č‚¢‚Ģ‚ŁA‚Å‚«‚é‚Ę‚¾‚ÆŒ¾‚Į‚Ä‚Ø‚±‚¤B
Šm‚©³‹K•\Œ»‚šŽg‚Į‚½‚ꂤ‚ȁAAA


21 Fnobody‚³‚ńF02/10/08 01:39 ID:HuLBTBG+
>>19
@‚ ‚č‚Ŗ‚Ę‚¤‚²‚“‚¢‚Ü‚·AŽŽ‚µ‚Ä‚Ż‚Ü‚·B

>>20
@S‹­‚¢‚ØŒ¾—tA‚ ‚č‚Ŗ‚Ę‚¤‚²‚“‚¢‚Ü‚·B

22 Fnobody‚³‚ńF02/10/08 01:50 ID:NmxcT/YZ
‚»‚¤‚¢‚¦‚ĪA‚Ü‚½AV‚µ‚¢apache‚Å‚½‚Ė`
ƒAƒbƒv‚µ‚Č‚«‚įB

23 Fnobody‚³‚ńF02/10/08 01:50 ID:???
>>20

«‚Ģ‚ꂤ‚ȉļ˜b‚µ‚Ä‚Ø‚¢‚Ă؂߂łā[‚ȁB

http://pc.2ch.net/test/read.cgi/php/1031721334/n363-365

24 Frģ‘¾˜YF02/10/08 10:57 ID:HuLBTBG+
>>21
>>23

@‚ß‚Å‚½‚¢‚±‚Ę‚É‚Å‚«‚Ü‚µ‚½B

http://hogehoge.com/redirecttest4/
‚Å
/home/www/html/pathinfo.php
‚šŒÄ‚яo‚µ‚Ä‚¢‚Ü‚·B

Ż’č‚ĶˆČ‰ŗ‚Å‚·B
--/usr/local/apache/conf/httpd.conf--

Action hoge-handler /pathinfo.php
<Location /redirecttest4>
SetHandler hoge-handler
</Location>
--

@ŠF—lA‚ ‚č‚Ŗ‚Ę‚¤‚²‚“‚¢‚Ü‚µ‚½B

25 FhmkF02/10/08 11:43 ID:???
‚ß‚Å‚½‚µA‚ß‚Å‚½‚µB
³‹K•\Œ»Žg‚ķ‚Č‚©‚Į‚½‚Å‚·‚ĖBŽø—ē‚µ‚Ü‚µ‚½B

>>23
‚ę‚­Œ©‚Ä‚é‚ȁA‰Él‚߁B‘fl‚Ķ‹ų‚Å‚ąH‚Į‚Ä‚ėB

26 Fnobody‚³‚ńF02/11/07 11:24 ID:5CKaXlWW
‚·‚Ż‚Ü‚¹‚ńA‚æ‚å‚Į‚Ę‹³‚¦‚Ä‚­‚¾‚³‚¢B
Apache2.0.43‚šŽg‚Į‚Ä‚¢‚Ü‚·BconfigureŽž‚É
--enable-rewrite
‚Å‘g‚Żž‚ń‚Å‚ą
--enable-rewrite=shard
‚Å‘g‚Żž‚ń‚Å‚ą‚¤‚Ü‚­“®‚¢‚Ä‚­‚ź‚Ü‚¹‚ńB

httpd.conf‚É‚Ķ
RewriteEngine On
RewriteRule ^old\.html$ new.html
‚ʏ‘‚¢‚ăeƒXƒg‚µ‚Ä‚¢‚é‚Ģ‚Å‚·‚ŖB

‘¼‚É‹Lq‚µ‚Č‚«‚į‚¢‚Æ‚Č‚¢‚±‚Ę‚Į‚Ä‚Č‚ń‚Å‚µ‚傤H
modules/ ‚Ģ‰ŗ‚É mod_rewrite.so ‚Ŗ‚Č‚¢‚Ģ‚ŖŒ“ˆö‚Å‚µ‚傤‚©H

27 F26F02/11/07 11:34 ID:5CKaXlWW
httpd -l
‚ĢŒ‹‰Ź‚Å‚Ķ mod_rewrite.c ‚Ķ•\Ž¦‚³‚ź‚Ü‚·B

Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_deflate.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_so.c

28 Fnobody‚³‚ńF02/11/07 11:46 ID:???
>>26
mod_rewrite‚Ķ‚æ‚į‚ń‚Ę‘g‚Żž‚Ü‚ź‚Ä‚éB‘g‚Żž‚Ü‚ź‚Ä‚Č‚¢‚Ģ‚É
.htaccess‚Å‚Ķ‚Č‚­httpd.conf ‚ɏ‘‚¢‚½‚Ģ‚Č‚ēA‚»‚ą‚»‚ąƒGƒ‰[‚Ŗo‚Ä
apache‚Ŗ‹N“®‚µ‚Č‚¢B

‚Ę‚č‚ ‚¦‚øAmod_rewrite‚ÉŠÖ‚·‚éƒhƒLƒ…ƒƒ“ƒg‚š‚ą‚¤ˆź“x‚ę‚­“Ē‚Ż’¼‚¹B
‚»‚ĢŻ’č‚Årewrite‚³‚ź‚é‚Ķ‚ø‚Ŗ‚Č‚¢B


29 Fnobody‚³‚ńF02/11/07 11:55 ID:???
RewriteBase‚Ę‚©‚ąŻ’č‚š

30 F26F02/11/07 13:00 ID:5CKaXlWW
‚ń[A‚±‚¤‚¢‚¤‚Ę‚«‚ÉŽ©•Ŗ‚Ģ—‰š—Ķ‚Ģ‚Č‚³‚šŽĄŠ“‚µ‚Ü‚·BBB

http://japache.infoscience.co.jp/japanese_1_3_6/manual/mod/mod_rewrite.html
‚Ę‚©‚ą“Ē‚ń‚Å‚¢‚é‚Ģ‚Å‚·‚ŖARewriteBase‚Į‚Ä•K‚øŻ’č‚Ŗ•K—v‚Č‚Ģ‚Å‚µ‚傤‚©H
­‚Č‚­‚Ę‚ą“Æ‚¶ƒfƒBƒŒƒNƒgƒŠ‚É’u‚¢‚Ä‚éƒtƒ@ƒCƒ‹‚Ö‚ĢƒŠƒ_ƒCƒŒƒNƒg‚Č‚ē•s—v‚Å‚·‚©H

ę‚Ł‚Ē‘‚«–Y‚ź‚Ü‚µ‚½‚ŖA
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^old\.html$ new.html
</IfModule>
‚Ģ‚ꂤ‚ɁA IfModule ‚ňĶ‚ń‚Å‚Ķ‚ ‚č‚Ü‚·B

‚ŁAhttp://www.hoge.com/old.html
‚ɃAƒNƒZƒX‚µ‚Ä‚ą‚»‚Ģ‚Ü‚Ü•\Ž¦‚³‚ź‚æ‚į‚¢‚Ü‚·BB

‚ą‚¤­‚µ‚¾‚ƃqƒ“ƒg‚š‚­‚¾‚³‚¢B‚ØŠč‚¢‚µ‚Ü‚·B

31 F26F02/11/07 13:46 ID:???
‚ A‚Č‚ń‚©‚Å‚«‚½‚Į‚Ū‚¢‚Å‚·B
<Directory /home/www/htdocs>
</Directory>
‚Ģ’†‚ɏ‘‚¢‚Ä‚ ‚°‚½‚ē‚Å‚«‚Ü‚µ‚½B
‚Ü‚¾‚æ‚į‚ń‚Ę—‰š‚µ‚Ä‚Č‚¢‚Ģ‚Å‚æ‚å‚Į‚ʐ®—‚µ‚čl‚¦‚Ä‚Ż‚Ü‚·B
28‚³‚ńA29‚³‚ń‚ ‚č‚Ŗ‚Ę‚¤‚²‚“‚¢‚Ü‚µ‚½B

32 FŽRčĀF03/01/15 13:46 ID:???
iOOj

33 FŽRčĀF03/03/13 17:35 ID:???
iOOj

34 FŽRčĀF03/04/17 12:18 ID:???
iOOj

35 FŽRčĀF03/04/20 06:16 ID:???
@@ ČQČ
@@i@@OO jƒ ‚Ź‚é‚ŪiOOj

36 FŽ„‚Ģ‚Ø‹ą‚Ŗ‘‚¦‚Ä‚¢‚éF03/05/18 23:41 ID:c9BgLl5+
‚Ø‹ą‚Ŗ—~‚µ‚¢l‚ĶŒ©‚Ä‚ĖI‰Ņ‚°‚él‚Ķ“w—Ķ‚µ‚½l‚Ģ‚ŻI
‹M•ū‚Ģl¶‚Ķ•Ļ‚¦‚½‚¢‚Å‚·‚©H
ƒnƒbƒs[ƒoƒXƒfƒF[ƒcƒD[ƒ†ƒE[
‚Ø’a¶“ś‚Ø‚ß‚Å‚Ę‚¤B
Ž„‚ą¶‚Ü‚ź‚½‚Ī‚©‚č‚Å‚·B
http://www.c-gmf.com/index3.htm
http://www.c-gmf.com/index2.htm
http://www.c-gmf.com/mail.htm

37 FŽRčĀF03/05/22 02:00 ID:???
„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ[JRŽRč‰wiOOj]„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\„Ŗ\

38 FŽRčĀF03/05/28 17:20 ID:???
@@@ @ČQČ
Ėß­.°@(@@OO j ƒ‚±‚ź‚©‚ē‚ą–l‚š‰ž‰‡‚µ‚ĉŗ‚³‚¢‚ĖiOOjB
@@k~¾PPl
@@ \\ @@@@@@@@@@@@@@@@@@@@@ŽRčĀ

39 FŽRč ĀF03/07/15 11:14 ID:???

@__ČQČ_
@|i@@OO j|@ƒQ‚é‚ŪiOOj
@|_ÜÜÜ_
@_ |ÜÜÜ~|@@@@@@@@@ŽRčĀ
@@ ~PPPP

40 FŽRč ĀF03/08/02 02:37 ID:???
@@ ČQČ
@@i@@OO jƒ ‚Ź‚é‚ŪiOOj

41 F‚Ś‚邶‚å‚  ŸySd1dMH5Gk F03/08/02 05:19 ID:???
@@@ @ČQČ@ ČQČ
Ėß­.°@i@ E‚REj (@@OO j ƒ‚±‚ź‚©‚ē‚ą–l‚½‚æ‚š‰ž‰‡‚µ‚ĉŗ‚³‚¢‚ĖiOOjB
@@k~¾PPP¾PPl
@@ \\\\\\ @@@@@@@@@@@@@@@@@@@@@ŽRčĀ&‚Ś‚邶‚å‚ 

42 FŽRč ĀF03/08/15 23:00 ID:???
@@@ (ÜVÜ)
@@@„  O O „ ƒ‚±‚ź‚©‚ē‚ą–l‚š‰ž‰‡‚µ‚ĉŗ‚³‚¢‚ĖiOOjB
@@¼|@@@@|‚Ā
@@@iQjiQj@@@@@@@@@@@@@@@@@@@@@@ŽRčƒpƒ“

43 Fnobody‚³‚ńF03/08/16 14:03 ID:R1l09wg/
http://server/index.cgi/test/
‚Č‚Ē‚šrewrite‚š‚Ā‚©‚Į‚Ä
http://server/test/
‚ňµ‚¦‚é‚ꂤ‚É‚µ‚½‚¢‚Ģ‚Å‚·‚ŖA‚Ē‚Ģ‚ꂤ‚É‚ā‚ź‚Ī—Ē‚¢‚Ģ‚Å‚µ‚傤‚©H
”A.htaccess‚É
RewriteRule ^/rewrite(.*) http://server/index.cgi/$1
‚Ę‚©‚ā‚Į‚ÄŒ©‚½‚肵‚Ä‚¢‚Ü‚·‚ŖAƒGƒ‰[‚É‚Č‚Į‚½‚čA–³ŒĄƒ‹[ƒv‚É‚Č‚Į‚½‚čEEEiGG
‚Ē‚Č‚½‚©‚²‰ń“š‚ØŠč‚¢‚µ‚Ü‚·

44 Fnobody‚³‚ńF03/08/16 17:52 ID:???
‚ā‚č•ū’m‚Į‚Ä‚é‚Æ‚ĒA‹³‚¦‚Č‚¢B
ƒ}ƒjƒ…ƒAƒ‹‚Ę‚©‚»‚Ģ•ÓŒŸõ‚ą‚µ‚Č‚¢‚Å‹³‚¦‚ÄŒN‚Č‚ń‚Ä‘ŠŽč‚É‚³‚ź‚Č‚¢

45 F43F03/08/16 19:57 ID:???
ƒ}ƒjƒ…ƒAƒ‹‚Č‚Ē‚Ķgoogle‚ÅŒŸõ‚µ‚Ü‚µ‚½‚ŖA‘Ź–Ś‚Å‚µ‚½B
’²‚ׂ½‚Ę‚±‚ėmod_rewrite‚Ŗ–³‚¢‚Ę”»–¾‚µ‚Ü‚µ‚½i||

46 F‚Ø‹C‚É“ü‚čW ™http://beauty.h.fc2.com/F03/08/16 22:27 ID:grNQSJhA
‚Ø‹C‚É“ü‚čW ™
http://beauty.h.fc2.com/


47 Fnobody‚³‚ńF03/08/17 00:28 ID:???
>>44
‚ą‚µ‚ā‚ ‚Č‚½‚Ķ‚«‚Ģ‚¤•Ź‚ĢƒXƒŒ‚Å If-Modified-Since: ‚É‚Ā‚¢‚Ä
‰R‚š‚Ā‚¢‚Ä‚¢‚½l‚Å‚·‚©H
‚ą‚µ‚»‚¤‚Å‚ ‚ź‚ĪA‚ ‚Č‚½‚ąƒGƒ‰‚»‚¤‚ɐą‹³‚·‚é‘O‚É
RFC ‚Č‚čƒhƒLƒ…ƒƒ“ƒg‚Č‚č‚š‚æ‚į‚ń‚Ę“Ē‚ń‚Å—‰š‚µ‚½•ū‚Ŗ‚¢‚¢‚Å‚·‚ęB

48 Fnobody‚³‚ńF03/08/17 02:06 ID:???
ŖƒAƒtƒHH

49 Fnobody‚³‚ńF03/08/18 19:16 ID:???
‚Ł‚µ‚ć

50 Fnobody‚³‚ńF03/11/07 22:11 ID:K7agUunN
http://www.example.com/foo/bar/fuga/hoge/
‚ɃAƒNƒZƒX‚³‚ź‚½ź‡AŽĄŪ‚É‚Ķ
http://www.example.com/index.php?cat=hoge
‚ɃAƒNƒZƒX‚µ‚Ä‚é‚ꂤ‚É•\Ž¦‚³‚¹‚½‚¢‚ĘŽv‚Į‚Ä‚¢‚Ü‚·B
i—v‚ĶAcom/ˆČ‰ŗ‚ĢA“r’†‚ĢƒpƒX–¼‚Ķ‚Ē‚¤‚Å‚ą‚ę‚­AURI‚ĢÅŒć‚Ģ/‚Ę/‚ĢŠŌ‚Ģ•¶Žš—ń‚šŽó‚ÆŽę‚Į‚Ä
ŽĄŪ‚É‚ĶAhttp://www.example.com/index.php?cat=‚»‚Ģ•¶Žš—ń
‚š•\Ž¦‚³‚¹‚½‚­Žv‚Į‚Ä‚Ü‚·Bj
‚ŁA
RewriteRule ([^/]*)/?$ /index.php?cat=$1
‚Ę‚µ‚½‚ēA‚¤‚Ü‚­‚¢‚«‚Ü‚µ‚½B

‚½‚¾A‚»‚µ‚½‚ē‚±‚ń‚Ē‚ĶA
http://www.example.com/phpMyAdmin/
‚Ż‚½‚¢‚Č‚ą‚Ģ‚Ü‚Å‚±‚ź‚š‰šŽß‚µ‚Ä‚µ‚Ü‚¤‚ꂤ‚É‚Č‚Į‚Ä‚µ‚Ü‚¢‚Ü‚µ‚½EE
i‚»‚č‚į‚»‚¤‚¾j
‚ŁA‚½‚Ę‚¦‚ĪuphpMyAdminvuAnalogvuxoopsv‚ĢA
ƒfƒBƒŒƒNƒgƒŠ”z‰ŗ‚Ģź‡‚ɃAƒNƒZƒX‚³‚ź‚½‚Ę‚«‚É‚¾‚ƁA
‚±‚Ģumod_rewrite‚š–³Œų‚É‚·‚é‚É‚ĶA‚Ē‚¤‚·‚ź‚Ī‚¢‚¢‚Ģ‚Å‚µ‚傤‚©H


51 Fnobody‚³‚ńF03/11/07 23:01 ID:???
lČAn—AƒŒƒYA–ģŠO˜IoA•””ƒvƒŒƒCAƒŒƒCƒvA
ŌŠOüŽŌ’†“ŽBAƒgƒCƒŒ“ŽBAƒTƒEƒi“ŽBEEE
http://www.excitehole.com/

52 F50F03/11/09 00:06 ID:???
³‹K•\Œ»ƒXƒŒĄ‚Į‚Ä‚«‚Ü‚·

53 F50F03/11/09 01:46 ID:8TU+xjrC
‚·‚¢‚Ü‚¹‚ńAŽ„‚Ķ>>50 ‚Å‚·‚ŖA•Ź‚Ģ–ā‘č‚Å”Y‚ń‚Å‚é‚Ģ‚ŁA
‚±‚±‚ŏ‘‚©‚¹‚Ä‚¢‚½‚¾‚«‚Ü‚·Bi“r’†‚Ü‚Å‚Ķ>>50‚Ę“Æ‚¶•¶Ķ‚Å‚·‚ŖEEEj

http://www.example.com/foo/bar/fuga/hoge/
‚ɃAƒNƒZƒX‚³‚ź‚½ź‡AŽĄŪ‚É‚Ķ
http://www.example.com/index.php?cat=hoge
‚ɃAƒNƒZƒX‚µ‚Ä‚é‚ꂤ‚É•\Ž¦‚³‚¹‚½‚¢‚ĘŽv‚Į‚Ä‚¢‚Ü‚·B
i—v‚ĶAcom/ˆČ‰ŗ‚ĢA“r’†‚ĢƒpƒX–¼‚Ķ‚Ē‚¤‚Å‚ą‚ę‚­AURI‚ĢÅŒć‚Ģ/‚Ę/‚ĢŠŌ‚Ģ•¶Žš—ń‚šŽó‚ÆŽę‚Į‚Ä
ŽĄŪ‚É‚ĶAhttp://www.example.com/index.php?cat=‚»‚Ģ•¶Žš—ń
‚š•\Ž¦‚³‚¹‚½‚­Žv‚Į‚Ä‚Ü‚·Bj
‚ŁA
RewriteRule ([^/]*)/?$ /index.php?cat=$1
-------------------------------------------------------------

‚Ę‚ā‚Į‚Ä‚¤‚Ü‚­‚¢‚Į‚½‚ĘŽv‚¦‚½‚Ģ‚Å‚·‚ŖA
‚Ē‚¤‚ąA–³ŒĄƒ‹[ƒv‚µ‚Ä‚µ‚Ü‚Į‚Ä‚¢‚é‚ꂤ‚Å‚·B
‚P‰ń‚¾‚Æ‚±‚Ģurewritev‚šs‚¢AˆČ‰ŗA’†Ž~‚Ę‚¢‚¤‚±‚Ę‚Ķ‚Å‚«‚Č‚¢‚Å‚µ‚傤‚©H
iP.S. MaxRedirects=number‚Ę‚¢‚¤‚Ģ‚Ŗ‚ ‚é‚ꂤ‚Å‚·‚ŖA‚±‚ź‚¾‚ʁA‚±‚±‚ÅŽw’肵‚½‰ń”ƒ‹[ƒv‚·‚é‚Ę
500ƒGƒ‰[‚É‚Č‚Į‚Ä‚µ‚Ü‚¤‚ꂤ‚Å‚·j

‚Ē‚Č‚½‚©A‚Ø“š‚¦’ø‚Æ‚ź‚ĪK‚¢‚Å‚·B


54 Fnobody‚³‚ńF03/11/17 02:10 ID:???
>>50
RewriteCond %{REQUEST_URI} !/phpMyAdmin/(.*)$
RewriteCond %{REQUEST_URI} !/analog/(.*)$
RewriteCond %{REQUEST_URI} !/xoops/(.*)$
RewriteRule ([^/]*)/?$ /index.php?cat=$1 [L]

‚±‚ń‚Č‚Å‚¢‚Æ‚é‚Ę‚Ø‚ą[B
–³ŒĄƒ‹[ƒv‚Ŗ‚Ē‚±‚Å”­¶‚µ‚Ä‚é‚©‚ķ‚©‚ē‚Č‚¢‚Æ‚ĒAˆź‰ž[L]‚ÅŽ~‚ß‚Ä‚é(‚ĘŽv‚¤)B

‚µ‚©‚µA‹Ø‚ČŽg‚¢•ūBB

55 Fnobody‚³‚ńF04/01/31 09:42 ID:???

‘åŠw‚ĢƒT[ƒo[‚Ģ `USER/public_html/ ‚ŖƒfƒtƒH‚Å‚Ķ Index •\Ž¦o—ˆ‚Č‚¢‚Ģ‚Å‚·‚ŖA
.htaccess ‚Å Index •\Ž¦‚³‚¹‚Ä‚¢‚Ü‚·B
‚ŖAŠĒ—ŽŅ‚Ŗƒ^ƒR‚Č‚Ģ‚©A/icons ƒtƒHƒ‹ƒ_‚šŻ’肵‚Ä‚¢‚Č‚­‚Į‚āA
Index •\Ž¦‚Å ? ƒ}[ƒN‚Ŗ‚½‚­‚³‚ńo‚Ä‚¢‚āAƒCƒ„`‚ń‚ČŠ“‚¶BAlias ‚Ķ‚Ę‚ß‚ē‚ź‚Ä‚¢‚½‚Ģ‚ŁA
mod_rewrite ‚šŽg‚Į‚Ä‚Ż‚ꂤ‚ĘŽv‚Į‚½‚Ģ‚Å‚·‚ŖA‚¤‚Ü‚­s‚«‚Ü‚¹‚ńEEE
ˆČ‰ŗ‚Ŗó‹µ‚Å‚·B

/icons --> /var/www ‚ɃGƒCƒŠƒAƒX‚³‚ź‚Ä‚é‚Į‚Ū‚¢B
`USER/public_html/.icons ‚ɃAƒCƒRƒ“‚ĢŽĄ‘Ģ‚š’u‚¢‚½B
`USER/public_html/.htaccess ‚ĶˆČ‰ŗ‚Ģ’Ź‚čB

------------------------------------
Options +Indexes

RewriteEngine on
RewriteBase /icons
RewriteRule ^/icons/$ /home/USER/public_html/.icons/ [R]
------------------------------------

‚Ē‚¤‚·‚ź‚Ī‚¢‚¢‚ń‚Å‚µ‚傤‚©H‹³‚¦‚Ä‚­‚č‚­‚čB

56 Fnobody‚³‚ńF04/01/31 11:37 ID:???
Alias ‚Ę <Directory>ƒRƒ“ƒeƒi‚Å icon Ż’č‚Å‚«‚Č‚¢H

57 Fnobody‚³‚ńF04/01/31 12:25 ID:???
/icons ‚ɃAƒNƒZƒX‚³‚ź‚½‚Ę‚«‚É“Ē‚Ü‚ź‚é‚Ģ‚Ķ icons ‚Ģ‰ŗ‚Ģ .htaccess ‚¾‚·B
~user/public_html/.htaccess ‚Ŗ“Ē‚Ü‚ź‚é‚Ķ‚ø‚Ŗ‚ ‚é‚ķ‚Æ‚Č‚¢‚Ģ‚ŁA
‚Ø‚Ü‚¢‚³‚ń‚Ŗ‚Ē‚ń‚ȐŻ’肵‚Ä‚ą–³ˆÓ–”‚¾‚·BŠĒ—ŽŅ‚É‚ØŠč‚¢‚·‚ׂµB

58 F55F04/01/31 13:50 ID:???
>>56

Alias ‚ĶŽ~‚ß‚ē‚ź‚Ä‚é‚Į‚ď‘‚¢‚½‚¶‚į‚ńB

>>57

‚Ø‚¢‚ē‚ą‚»‚¤‚©‚Č‚ĘŽv‚Į‚½‚ń‚¾‚Æ‚Ē‚³A‚¢‚­‚Ā‚©‚¢‚¶‚Į‚čs‚­’†‚ŁEE
[Fri Jan 30 19:20:07 2004] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/icons^/home/USER/public_html/.icons
‚Į‚Ä‚¢‚¤‚Ģ‚šo‚µ‚ĂāA‚Č‚é‚Ł‚ĒARewriteBase ‚ĢŠO‚ɃAƒNƒZƒX‚Å‚«‚é‚ꂤ‚É‚Č‚ź‚ĪA‚Č‚ń‚Ę‚©‚Č‚č‚»‚¤A‚ĘŽv‚Į‚½‚ń‚¾‚Æ‚ź‚ĒB‚Ē‚¤‚©‚ȁH


59 Fnobody‚³‚ńF04/01/31 22:17 ID:???
‚¢‚āA‚Å‚«‚½‚ēƒZƒLƒ…ƒŠƒeƒBƒz[ƒ‹‚Č‚Ģ‚ŁB
mod_autoindex ‚Ģ AddIcon ‚Ę‚©‚šŽg‚Į‚ăAƒCƒRƒ“‚Ģ URL ‚š•Ļ‚¦‚é‚Ģ‚Ŗ³“¹B

60 F58F04/02/01 00:02 ID:???
>>59
‚ā‚Į‚Ä‚Ż‚½B

AddIconByType (IMG,/home/USER/public_html/.icons/image2.gif) image/*


[Sat Jan 31 09:49:29 2004] [error] [client xxx.xxx.xxx.xxx]
File does not exist: /opt/www/html/home/USER/public_html/.icons/image2.gif

‚Ā‚Ü‚č‚ ‚ź‚Å‚·‚ĖBDocRoot ŠO‚É‚Ķo‚ē‚ź‚Č‚¢‚Į‚Ä‚±‚Ę‚Å‚·‚ĖHEEE
‚Å‚ą `USER ‰ŗ‚Į‚āAUSER Œ ŒĄ‚Å‹N“®‚µ‚Ä‚é‚ń‚¶‚į‚Č‚¢‚ń‚¾H
‚æ‚Č‚Ż‚ɍ”X‚Å‚·‚ŖAHTTPD version ‚Ķ 1.3.27 ‚Å‚·B

‚Į‚Ä‚ą‚¤ƒXƒŒˆį‚¢‚Į‚·‚ĖB
‚Ø‚Ę‚Č‚µ‚­ŠĒ—ŽŅ‚Ƀ[ƒ‹‚µ‚Ü‚·EE

61 FnobodyF04/03/14 16:38 ID:+av6o+/D
apache 2.0.48‚É‚Ä

Œg‘Ń‚ĢƒLƒƒƒŠƒA•Ź‚Ɂiau,docomo,vodafone)‚Ę‚¢‚¤ƒfƒBƒŒƒNƒgƒŠ‚šģ¬‚µ
REMOTE_ADDR‚š‚ą‚Ę‚É‚»‚ź‚¼‚ź‚ĢDIR‚֐U‚č•Ŗ‚Æ‚½‚¢‚ĘŽv‚Į‚Ä‚¢‚Ü‚·B

210.169.40.0/24@‚ČƒAƒhƒŒƒX‚Ķ
RewriteCond %{REMOTE_ADDR} 210\.169\.40\.*
‚ČŠ“‚¶‚Å‚¢‚¢‚ĘŽv‚¤‚ń‚Å‚·‚Ŗ

210.196.3.192/26@‚ČƒAƒhƒŒƒX‚Ķ‚Ē‚¤‹Lq‚µ‚½‚ē‚¢‚¢‚Ģ‚Å‚µ‚傤H


‚·‚¢‚Ü‚¹‚ń‚ŖA‹³‚¦‚Ä‚­‚¾‚³‚¢B


62 Fnobody‚³‚ńF04/03/14 17:42 ID:???
>>61
.htaccessŽæ–āƒR[ƒi[
http://pc2.2ch.net/test/read.cgi/hp/1065608009/

63 FnobodyF04/03/15 00:16 ID:hT+Orm0+
‚Ē‚ą‚Å‚·B
‚ā‚Ķ‚č³‹K•\Œ»‚Å’n“¹‚ɏ‘‚¢‚Ä‚¢‚­‚µ‚©‚Č‚¢‚Ģ‚Å‚·‚ĖEEE
‚ ‚č‚Ŗ‚Ę‚¤‚²‚“‚¢‚Ü‚µ‚½B

64 FalexF04/05/05 13:53 ID:ma1zwts1
‹¤—LƒT[ƒo[‚Å‚Ģhtaccess‚É‚Ø‚Æ‚émod_rewrite‚Ģ•ū–@‚É‚Ā‚¢‚Ä‹³‚¦‚Ä‚­‚¾‚³‚¢B
•¶Ķ‚Ŗ’·‚¢‚Ģ‚Å“ń“x‚É•Ŗ‚Æ‚Ü‚·B


Œ»ŻAi‰¼‚Ģ–¼Ģ‚Łj
http://www.example.com@@i“ą•”ƒpƒX‚Ķ/home/www/public_html/j
‚Ę‚¢‚¤ƒTƒCƒg‚Ę•Ź‚ĢƒT[ƒo[‚Å‚ ‚é
http://www.example2.com@@i“ą•”ƒpƒX‚Ķ/home/www2/public_html/j
‚Ę‚¢‚¤ƒTƒCƒg‚šŒo‰c‚µ‚Ä‚¢‚é‚Ę‚µ‚Ü‚·B

http://www.example.com/php/‚ĘƒAƒNƒZƒX‚·‚é‚Ę
------------------------------
RewriteEngine on
RewriteBase /
RewriteRule (.+)$ index.php?$1
------------------------------
‚Ę‚¢‚¤.htaccess‚ĢŻ’č‚Ŗƒ‹[ƒg‚É’u‚©‚ź‚Ä‚¢‚é‚Ģ‚Å
www.example.com/index.php?/php/
‚Ę‚¢‚¤ƒ†[ƒU[‚©‚ēŽĄŪ‚ĢURL‚ĶŒ©‚¦‚Č‚¢“ą•”ƒAƒNƒZƒX‚Ę‚Č‚čA
index.php‚Ģ“ą•”‚Å‚Ķ“®“I‚ČƒtƒŒ[ƒ€“]‘—‚šs‚Į‚Ä‚¢‚Ü‚·B

‚Ę‚±‚ė‚ŖA
http://www.example.com/something/@@i“ą•”ƒpƒX‚Ķ/home/www/public_html/something/j
‚Ę‚¢‚¤ƒfƒBƒŒƒNƒgƒŠ‚ɃtƒŒ[ƒ€“]‘—‚µ‚½‚­‚Č‚¢ƒRƒ“ƒeƒ“ƒc‚Ŗ‚ ‚é‚Ģ‚ŁA
------------------------------
RewriteRule /something(.+) something$1 [C]
------------------------------

65 FalexF04/05/05 13:54 ID:ma1zwts1
‚Ę‚¢‚¤‹Lq‚É‚Č‚čAę’ö‚ʍ‡‚ķ‚¹‚Ä
------------------------------
RewriteEngine on
RewriteBase /
RewriteRule /something(.+) something$1 [C]
RewriteRule (.+)$ index.php?$1
------------------------------
‚Ę‚µ‚½ŠA
http://www.example.com
‚Ę‚¢‚¤ƒAƒNƒZƒX‚ā
http://www.example.com/something/
‚Ķ³ķ‚É“®ģ‚·‚é‚Ģ‚Å‚·‚ŖA
http://www.example.com/test/
‚Ę‚¢‚¤‚ꂤ‚ČƒAƒNƒZƒX‚Ģź‡•\Ž¦‚³‚ź‚øA“ą•”ƒpƒXć‚Å‚ą
www.example.com/index.php?/test/
‚Ę‚Č‚ē‚øADirectoryIndex‚ÉŠī‚Ć‚­’Źķ‚ĢƒAƒNƒZƒX‚Å‚ ‚é
www.example.com/index.php
‚Ę‚¢‚¤ƒAƒNƒZƒX‚É‚Č‚Į‚Ä‚¢‚鎖‚Ŗ‚ķ‚©‚č‚Ü‚µ‚½B

”­‘z‚š“]Š·‚µ‚āA”“x‚Ķ404Error‚š—˜—p‚µ‚½ŠĀ‹«•Ļ”‚ĢREQUEST_URI‚šŽQĘ‚µ‚Ä
ƒtƒŒ[ƒ€“]‘—‚·‚鎖‚šŽŽ‚µ‚½ŠA–œŽ–‚¤‚Ü‚­‚¢‚Į‚Ä‚¢‚é—l‚ÉŒ©‚¦‚½‚Ģ‚Å‚·‚ŖˆÓŠO‚É‚ąA
Œg‘Ń’[––‚Å‚Ķ³ķ‚É•\Ž¦‚·‚鎖‚Ŗ‚Å‚«‚Ü‚¹‚ńBi404 FILE NOT FOUND‚Ę•\Ž¦j

‚»‚±‚ŁA‚²Žæ–ā‚Å‚·B
‚Ē‚Ģ‚ꂤ‚ČRewriteRule‚š‹Lq‚·‚ź‚ĪŽ„‚ĢŠś‘Ņ‚·‚é“®ģ‚Ę‚Č‚é‚Ģ‚Å‚µ‚傤‚©H


66 Fnobody‚³‚ńF04/05/05 14:32 ID:???
>>64
.htaccessŽæ–āƒR[ƒi[
http://pc5.2ch.net/test/read.cgi/hp/1065608009/

67 FalexF04/05/05 14:55 ID:ma1zwts1
>>66
—L‚č“ļ‚¤‚²‚“‚¢‚Ü‚·B‚¢‚Į‚Ä‚«‚Ü‚·B

68 Fnobody‚³‚ńF04/07/16 16:17 ID:???
ŽŸ‚Ģź‡A‚Ē‚Ģ‚ꂤ‚É‚·‚ź‚Ī‚¢‚¢‚Ģ‚Å‚µ‚傤H

uhttp://hoge.com/***v‚Ģ***‚ŖAę“Ŗˆź’v‚Å(aaa/|bbb/)ˆČŠO‚Ģź‡‚ɁA
hoge.com/***‚šhoge.com/index.cgi?***‚É•ĻŠ·B
k(aaa/|bbb/)‚Ģź‡’Źķ‚ĢƒŠƒNƒGƒXƒg‚ĘŒ©‚Č‚·l
k***‚Ķ”CˆÓl
Apache‚Ģmod_rewrite‚ōs‚¢A‹Lq‚Ķ.htaccess‚ōs‚¤B

69 Fnobody‚³‚ńF04/07/16 16:39 ID:???
>>68
•³ƒ}ƒ‹ƒ`‚ĶŽ‚ĖI

70 Fnobody‚³‚ńF04/08/19 12:13 ID:6Qfzg0Ay
apache1.3.27+tomcat4+mod_jk2‚šŽg—p‚µ‚Ä‚¢‚Ü‚·B
workers.properties‚ĶˆČ‰ŗ‚Ģ—l‚ɐŻ’肵‚Ä‚¢‚Ü‚·B
[uri:*.do]

‚±‚±‚Åmod_rewrite‚šŽg—p‚µ‚Ä*.do‚Ö‚ĢƒAƒNƒZƒX‚š‚·‚ׂÄHTTPS‚Érewrite‚µ‚ꂤ‚Ę
‚µ‚Ä‚¢‚é‚Ģ‚Å‚·‚ŖArewrite‚Å‚«‚Ü‚¹‚ńB
ˆČ‰ŗ‚Ģ’Ź‚č‘SƒŠƒNƒGƒXƒg‚šrewrite‚·‚鐯’č‚É‚·‚é‚Ę*.doˆČŠO‚Ķrewrite‚³‚ź‚Ü‚·B(img“™)

rewrite‘O‚Émod_jk2‚É‚ę‚č“]‘—‚³‚ź‚Ä‚µ‚Ü‚Į‚Ä‚¢‚é‚Ģ‚Å‚Ķ‚ĘŽv‚Į‚Ä‚¢‚é‚Ģ‚Å‚·‚ŖA
‚±‚Ģ‚ ‚½‚č‚Ģī•ń‚š‚²‘¶’m‚Å‚µ‚½‚ē‹³‚¦‚Ä‚­‚¾‚³‚¢B


71 Fnobody‚³‚ńF04/08/25 19:08 ID:???
> rewrite‘O‚Émod_jk2‚É‚ę‚č“]‘—‚³‚ź‚Ä‚µ‚Ü‚Į‚Ä‚¢‚é‚Ģ‚Å‚Ķ‚ĘŽv‚Į‚Ä‚¢‚é‚Ģ‚Å‚·‚ŖA
> ‚±‚Ģ‚ ‚½‚č‚Ģī•ń‚š‚²‘¶’m‚Å‚µ‚½‚ē‹³‚¦‚Ä‚­‚¾‚³‚¢B
‚»‚Ģ’Ź‚čBTomcat ‘¤‚Å SSL ‚ĢŻ’č‚·‚ź‚ĪH

72 Fnobody‚³‚ńF04/09/02 03:12 ID:???
Œ»Żuhttp://hoge.com/index.html‚ɂăz[ƒ€ƒy[ƒW‚ŖŒöŠJ‚³‚ź‚Ä‚Ü‚·B
‚±‚Ģindex.html‚É‚Ķ‰ę‘œ‚Ŗ“\‚Į‚Ä‚ ‚Į‚āA<img src=http://hoge.com/img/fuga.jpg>‚Č‚Ē‚Ę
ā‘ĪƒpƒX‚ŏ‘‚¢‚Ä‚ ‚čA‚½‚­‚³‚ń‚ ‚č‚Ü‚·B
‚±‚Ģ‚½‚ŃƒhƒƒCƒ“‚Ŗ•Ļ‚ķ‚čAhttp://hoge.jp/index.html‚ÅŒöŠJ‚·‚é‚Ģ‚Å‚·‚Ŗ
img‚Ŗā‘ĪƒpƒX‚ŏ‘‚¢‚Ä‚ ‚é‚Ģ‚Å‰ę‘œ‚Ŗ•\Ž¦‚Å‚«‚Ü‚¹‚ńB
Ž–ī‚É‚ę‚čƒ\[ƒX‚Ķ•ŅW‚Å‚«‚Č‚¢‚Ģ‚Årewrite‚Å‚Č‚ń‚Ę‚©‚µ‚ꂤ‚ĘŽv‚Į‚½‚Ģ‚Å‚·‚ŖA
‚Ü‚Į‚½‚­ŒŸ“¢‚Ā‚«‚Ü‚¹‚ńB
‚Ē‚Ģ‚ꂤ‚Črewriterule‚É‚·‚ź‚Ī‚¢‚¢‚Ģ‚Å‚µ‚傤‚©H

73 Fnobody‚³‚ńF04/09/02 12:56 ID:???
>>72
.htaccessŽæ–āƒR[ƒi[ Part2
http://pc5.2ch.net/test/read.cgi/hp/1084861566/

74 Fnobody‚³‚ńF04/09/02 21:35 ID:???
>>72
‚ā‚é‚Ę‚µ‚Ä‚ąVhoge.jp‚Å‚Ķ‚Č‚­‹Œhoge.com‚Ģ•ū‚ŐŻ’č‚·‚é•K—v‚Ŗ‚ ‚čB
‚»‚ź‚Ŗ‚Å‚«‚Č‚¢‚Ģ‚Č‚ē‚Ī–³—B
ƒ\[ƒX‚š‘‚«Š·‚¦‚éƒXƒNƒŠƒvƒg‚šģ‚é•ū‚Ŗ‚Ä‚Į‚Ę‚č‚Ī‚ā‚¢B

75 Fnobody‚³‚ńF04/09/03 01:32 ID:???
>>74
‚ ‚č‚Ŗ‚Ę‚¤‚²‚“‚¢‚Ü‚·B
ƒ\[ƒX‚š‘‚«Š·‚¦‚é‚ꂤ‚Ø‚Ė‚Ŗ‚¢‚µ‚Ä‚Ż‚Ü‚·B

76 Fnobody‚³‚ńF05/01/09 21:13:14 ID:???
rewrite‚Łu/hoge/v‚šunph-hoge.cgiv‚ɈŚ“®‚³‚¹‚Ä‚¢‚Ü‚·B
nph-hoge.cgi‚ĶPerl‚ŏ‘‚©‚ź‚½nphƒXƒNƒŠƒvƒg‚ŁAuHTTP/1.1 200 OKv‚Č‚Ēƒwƒbƒ_ī•ń‚ąŠÜ‚Ü‚ź‚Ä‚¢‚Ü‚·B
nph-hoge.cgi‚É’¼ŚƒAƒNƒZƒX‚·‚鏼‡‚É‚Ķunph-hoge.cgi‚Ģ“ą—eBv‚Ę•\Ž¦‚³‚ź‚½–ā‘č‚Č‚¢‚Ģ‚Å‚·‚ŖA/hoge/‚ɃAƒNƒZƒX‚·‚é‚ʁA
unph-hoge.cgi‚Ģ“ą—eBHTTP/1.1 200 OK
Date: Sun, 09 Jan 2005 12:10:52 GMT
Server: Apache
Content-Length: 0
Connection: close
Content-Type: text/plain

v‚Ę•\Ž¦‚³‚ź‚Ä‚µ‚Ü‚¢‚Ü‚·B
‚±‚ź‚š•\Ž¦‚³‚¹‚Č‚¢‚ꂤ‚É‚·‚é‚É‚Ķ‚Ē‚¤‚·‚ź‚Ī—Ē‚¢‚Å‚µ‚傤‚©?

77 Fnobody‚³‚ńF05/01/10 03:31:07 ID:???
Content-Type: text/plain


78 F76F05/01/11 21:25:19 ID:???
’Ē‹LB

ƒR[ƒh‚ĘŒ‹‰Ź(ƒuƒ‰ƒEƒU‚ÅŠm”F‚Å‚«‚éƒ\[ƒX•”•Ŗ‚Ģ‚Ż)‚Ķ‰ŗ‹L‚Ģ‚Ę‚Ø‚č‚Å‚·B
ī•ń‚Ø‚Ė‚Ŗ‚¢‚µ‚Ü‚·

«ƒR[ƒh
--
#!/usr/local/bin/perl -w
use strict;
print('HTTP/1.0 200 OK'."\n");
print('Content-Type: text/plain; charset=Shift_JIS'."\n");
print("\n");
print("Test");
exit(0);
--

«Œ‹‰Ź
--
TestHTTP/1.1 200 OK
Date: Tue, 11 Jan 2005 12:22:19 GMT
Server: Apache
Content-Length: 0
Connection: close
Content-Type: text/plain

--


79 F76F05/01/11 21:28:26 ID:???
>>77
print('Content-Type: text/plain; charset=Shift_JIS'."\n");
«‚É•ĻX‚µ‚ÄŽĄs‚µ‚Ä‚ą‘Ź–Ś‚Å‚µ‚½
print('Content-Type: text/html; charset=Shift_JIS'."\n");

--
TestHTTP/1.1 200 OK
Date: Tue, 11 Jan 2005 12:26:37 GMT
Server: Apache
Content-Length: 0
Connection: close
Content-Type: text/plain

--
‚Č‚ń‚ÅContent-Type: text/plain‚Č‚ń‚¾‚ė‚¤

80 Fnobody‚³‚ńF05/01/12 00:28:58 ID:???
Web§ģ”Ā‚Ģ.htaccessƒXƒŒ‚Ģƒeƒ“ƒvƒŒ‚šŒ©‚ź

81 F76F05/01/13 14:33:05 ID:???
>>80
Œ©‚Ä‚ą•Ŗ‚©‚č‚Ü‚¹‚ń‚Å‚µ‚½orz

82 Fnobody‚³‚ńF05/01/13 14:35:11 ID:???
>>81
‚¶‚įAŒ‰‚­’ś‚ß‚ė

83 F76F05/01/13 16:05:37 ID:???
>>82
nph‚Ƀqƒbƒg‚·‚é•”•Ŗ‚Ķˆź’Ź‚č“Ē‚ń‚¾‚Ā‚ą‚č‚¾‚Æ‚ĒA‚±‚Ģ–ā‘č‚ÉŠÖŒW‚µ‚»‚¤‚Č‚Ę‚±‚ė‚ŖŒ©‚Ā‚©‚č‚Ü‚¹‚ń‚Å‚µ‚½B
‘å‘Ģ‚Ķ30*redirectŠÖŒW‚ŁEEE
’ś‚ß‚«‚ź‚Č‚¢‚Ģ‚ŁA’N‚©ī•ń‚ØŠč‚¢‚µ‚Ü‚·

RewriteRule ^test$ nph-test.cgi [T=application/x-httpd-cgi,L]
‚±‚ń‚ȐŻ’č‚É‚µ‚Ä‚é‚Æ‚ĒŠŌˆį‚Į‚Ä‚é‚©‚ē“®‚©‚Č‚¢‚ń‚¾‚ę‚Čorz

84 Fnobody‚³‚ńF05/01/13 22:38:42 ID:???
‚Ó‚ń‚É‚į‚©@‚Ó‚ń‚É‚į‚©

85 Fnobody‚³‚ńF05/01/13 22:51:11 ID:???
‚Ø—g‚°

86 Fnobody‚³‚ńF05/01/14 22:57:22 ID:???
>>83
WindowsXP+Apache1.3.27‚Å‚ā‚Į‚Ä‚Ż‚½‚Æ‚ĒA“Į‚É–ā‘č‚Č‚©‚Į‚½‚ęB

87 F83F05/01/14 23:54:32 ID:???
>>86
ŽI‚ŖFreeBSD+Apache2‚Č‚Ģ‚Ŗ‚¢‚Æ‚Č‚¢‚Ģ‚©‚Č‚ŸBBB
‚Å‚ąAƒŒƒ“ŽI‚¾‚©‚ē‚Ē‚¤‚É‚ą‚Å‚«‚Č‚¢orz

>>80‚³‚ń‚Ģ‚Ķ‚Ē‚±‚šŒ©‚ź‚ĪEEE

88 Fnobody‚³‚ńF05/01/15 00:11:19 ID:???
>>87
>>1‚©‚ē‘S•”n“Ē‚µ‚Ä‚¢‚Æ‚Ī‚¢‚¢‚ń‚¶‚į‚ĖH
‰¹“Ē‚µ‚ė‚Ę‚ĶŒ¾‚ķ‚Č‚¢‚©‚ē‚³B

89 F83F05/01/15 00:39:51 ID:???
>>88
ƒXƒŒ‚Ģ>>1‚ĢƒTƒCƒg‚É‚ ‚énphŠÖŒW‚Ģ•”•Ŗ‚Ķ–Ś‚š’Ź‚µ‚Ü‚µ‚½B

90 FageF05/01/15 23:09:13 ID:???
age

91 Fnobody‚³‚ńF05/01/20 14:14:28 ID:???
Žæ–ā‚³‚¹‚Ä‚­‚¾‚³‚¢B
public_htmlˆČ‰ŗ‚Ģ‚·‚ׂĂĢ.cgi‚š.html‚ŃAƒNƒZƒX‚³‚¹‚½‚¢‚Ģ‚Å‚·‚Ŗ
‚Ē‚Ģ‚ꂤ‚É‹Lq‚µ‚½‚ē‚¢‚¢‚Ģ‚Å‚µ‚傤‚©H
‚ ‚ʁA.cgi‚ɃAƒNƒZƒX‚µ‚Ä‚ą•\Ž¦‚Å‚«‚Č‚¢‚ꂤ‚É‚µ‚½‚¢‚Ģ‚Å‚·B
‚ę‚ė‚µ‚­‚Ø‚Ė‚Ŗ‚¢‚µ‚Ü‚·B

92 Fnobody‚³‚ńF05/01/20 14:17:52 ID:???
‚ A‚·‚ׂĂĢ‚¶‚į‚Č‚­‚Äindex.cgi‚¾‚Æindex.html‚ŃAƒNƒZƒX‚³‚¹‚½‚¢‚Å‚·B
m(_ _)m
‚ę‚ė‚µ‚­‚Ø‚Ė‚Ŗ‚¢‚µ‚Ü‚·B

93 Fnobody‚³‚ńF05/01/20 14:52:55 ID:???
>>91
.htaccessŽæ–āƒR[ƒi[ Part3
http://pc5.2ch.net/test/read.cgi/hp/1105439192/

94 Fnobody‚³‚ńF05/01/22 11:50:33 ID:???
mod_rewrite‚Å‚ą‚Ā‚©‚¦‚Ī‚¢‚¢‚ń‚¶‚įH

95 Fnobody‚³‚ńF05/02/06 15:47:21 ID:Vt8tOhSv
http://www.example.com/hogehoge/hage=hage/fuga123fuga/
«
http://www.example.com/main.php?hogehoge/hage=hage/fuga123fuga/

‚Ę‚·‚é‚É‚Ķ‚Ē‚¤‘‚Æ‚Ī‚¢‚¢‚ń‚Å‚µ‚傤‚©H

96 Fnobody‚³‚ńF05/02/06 15:54:47 ID:???
>>95
.htaccessŽæ–āƒR[ƒi[ Part3
http://pc5.2ch.net/test/read.cgi/hp/1105439192/

97 F95F05/02/19 16:09:31 ID:TAHykHoC
>>96‚³‚Ü
‚·‚¢‚Ü‚¹‚ńB‚»‚Į‚æ‚Å‚«‚¢‚Ä‚ąƒŒƒX‚Ŗ‚Č‚©‚Į‚½‚Å‚·B

‚Ē‚Č‚½‚©‹³‚¦‚Ä‚¢‚½‚¾‚Æ‚Č‚¢‚Å‚µ‚傤‚©H


98 Fnobody‚³‚ńF05/02/19 21:03:00 ID:???
>>97
‚»‚Į‚æ‚Ģƒeƒ“ƒvƒŒ‚ĢƒTƒCƒg‚šŒ©‚ź‚Ī‚ķ‚©‚é‚Ģ‚ɉ½‚ą‚¹‚ø‚É•·‚­‚©‚ēƒXƒ‹[‚³‚ź‚é

99 Fnobody‚³‚ńF05/02/19 21:04:55 ID:???
X‚ÉŒ¾‚¤‚Č‚ē‚ķ‚©‚ē‚ń‚Ģ‚Č‚ēƒJƒbƒR‚Ā‚Ƃ邱‚Ę‚Ī‚©‚čl‚¦‚ø‚É
‚»‚Ģ‚Ü‚Ü‚ĢURL‚ŏ‘‚Æ

100 Fnobody‚³‚ńF05/02/26 09:13:31 ID:LIYJX+3j
#mod_rewrite
RewriteEngine on
RewriteRule ([^/]*)/?$ /index.php?cat=$1
RewriteCond %{REQUEST_URI} !/phpMyAdmin/(.*)$
RewriteCond %{REQUEST_URI} !/webmin/(.*)$
RewriteRule ([^/]*)/?$ /index.php?cat=$1 [L]

‚Ę‚µ‚Ä‚¢‚é‚Ģ‚Å‚·‚ŖAURI‚Ɂu.phpv‚Ü‚½‚Ķu.incv‚Ģ•¶Žš‚ŖŠÜ‚Ü‚ź‚Ä‚¢‚鏼‡‚ĶA
ć‹L‚Ģmod_rewrite‚š–³Ž‹‚·‚éA‚Ę‚¢‚¤‚Ģ‚Ķ‚Ē‚¤‘‚Æ‚Ī‚¢‚¢‚Ģ‚Å‚µ‚傤‚©H

‚ę‚ė‚µ‚­‚ØŠč‚¢‚µ‚Ü‚·B

101 Fnobody‚³‚ńF05/02/26 11:47:37 ID:???
>100
³‹K•\Œ»‚Ģ‚ؕ׋­‚Ķ‚Ē‚±‚܂Ői‚ń‚¾‚ĢH

102 F100F05/02/26 14:55:39 ID:LIYJX+3j
³‹K•\Œ»‚ŖƒLƒ‚‚Å‚µ‚傤‚©H

#mod_rewrite
RewriteEngine on
RewriteRule ([^/]*)/?$ /index.php?cat=$1
RewriteCond %{REQUEST_URI} !/phpMyAdmin/(.*)$
RewriteCond %{REQUEST_URI} !/webmin/(.*)$
RewriteCond %{REQUEST_URI} !/\.php/$
RewriteCond %{REQUEST_URI} !/\.inc/$
RewriteRule ([^/]*)/?$ /index.php?cat=$1 [L]
‚Ę‚ā‚Į‚Ä‚ą‚¤‚Ü‚­‚¢‚©‚Č‚©‚Į‚½‚ą‚Ģ‚ŁA
(.php‚ŏI‚ķ‚éURI‚ɃAƒNƒZƒX‚·‚é‚ʁA
intermnal server error)‚É‚Č‚Į‚Ä‚µ‚Ü‚¤‚ą‚Ģ‚Å‚µ‚Ä


103 Fnobody‚³‚ńF05/02/26 16:56:14 ID:???
!/\.php/$ ‚±‚¤‚¢‚¤‚Ģ‚Ķ@!\.php ‚Ę‚©‚ɏ‘‚«’¼‚¹‚Ī‚¢[‚¶‚į‚ȁ`‚¢H

104 F100F05/02/26 19:11:26 ID:LIYJX+3j
>>103
‰ŗ‚Ģ‚ꂤ‚É‚ā‚Į‚Ä‚ąAhttp://example.com/phpinfo.php ‚Ŗ•\Ž¦‚Å‚«‚Č‚¢‚Å‚·EEEE
#mod_rewrite
RewriteEngine on
RewriteRule ([^/]*)/?$ /index.php?cat=$1
RewriteCond %{REQUEST_URI} !/phpMyAdmin/(.*)$
RewriteCond %{REQUEST_URI} !/webmin/(.*)$
RewriteCond %{REQUEST_URI} !\.php
RewriteCond %{REQUEST_URI} !\.inc
RewriteRule ([^/]*)/?$ /index.php?cat=$1 [L]

105 F103F05/02/26 19:25:22 ID:???
RewriteCond ‚ŖORšŒ‚Č‚ēA––”ö‚É [OR] ‚¶‚į‚ȁ`‚¢H

106 F100F05/02/27 03:30:20 ID:XqwD1Bfz
‚¢‚āAphpMyAdmin‚Å‚ąwebmin‚Å‚ą‚Č‚­AŠg’£Žq‚Ŗphp‚Ę‚©inc‚Ę‚©“ü‚Į‚Ä‚Č‚¢‚ą‚Ģ‚¾‚ƁA
RewriteRule ([^/]*)/?$ /index.php?cat=$1 [L]
‚š‚ā‚č‚½‚¢‚Ģ‚ŁAANDšŒ‚¾‚ĘŽv‚¤‚Ģ‚Å‚·‚ŖAAAŠØˆį‚¢‚µ‚Ä‚Ü‚·H

107 F103F05/02/27 13:38:08 ID:???
Šg’£Žq‚Ŗ .php ‚ŁAŠŽ‚Ā .inc ‚Ę‚¢‚¤‚Q‚Ā‚ĢŠg’£Žq‚š“ÆŽž‚ÉŽ‚捇‚ķ‚¹‚Ä‚¢‚é
‚ą‚Ģ‚Ŗ‘¶Ż‚·‚ź‚ĪŠm‚©‚É ANDšŒ‚¶‚į‚ȁ`‚¢H

108 F100F05/02/27 18:48:34 ID:XqwD1Bfz
‚Č‚ń‚©A–ā‘č‚š‚ķ‚Æ‚ę‚¤‚©‚ĘŽv‚Į‚āA«‚É‚µ‚½‚ēA‚¾‚ß‚Å‚µ‚½AA
#mod_rewrite
RewriteEngine on

RewriteRule ^example.com$ example.com/ [R]
RewriteRule ^example.com/(.*)$ example.com/index.php/$1

‚Ę‚ā‚é‚ʁA
http://example.com/hoge
‚Ŗ404 not found‚É‚Č‚Į‚Ä‚µ‚Ü‚¢‚Ü‚·B

Ž©•Ŗ‚ĢˆÓ}‚Ę‚µ‚Ä‚ĶA
http://example.com/index.php/hoge
‚ʉšŽß‚³‚źA
index.php‚Ģ‚Č‚©‚Å$_SERVER['PATH_INFO']i‚±‚Ģ—į‚¾‚ʁu/hogevj‚š
‘€ģ‚µ‚½‚¢‚Ģ‚Å‚·‚ŖEEE


109 Fnobody‚³‚ńF05/02/28 01:06:50 ID:???
AcceptPathInfo On

110 Fnobody‚³‚ńF05/03/04 03:42:48 ID:3xlEv0k9
#mod_rewrite
RewriteEngine on

RewriteCond $0 !^/index\.php
RewriteRule ^.*$ /index.php$0

RewriteCond %{REQUEST_URI} !^/phpMyAdmin(.*)$
RewriteCond %{REQUEST_URI} !\.txt$
RewriteCond %{REQUEST_URI} !\.wml$
RewriteCond %{REQUEST_URI} !\.hdml$
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{REQUEST_URI} !\.xhtml$
RewriteCond %{REQUEST_URI} !\.php$
RewriteCond %{REQUEST_URI} !\.inc$
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{REQUEST_URI} !\.txt$
#RewriteCond %{REQUEST_URI} !\.gif$
#RewriteCond %{REQUEST_URI} !\.jpg$
#RewriteCond %{REQUEST_URI} !\.jepg$
#RewriteCond %{REQUEST_URI} !\.bmp$
#RewriteCond %{REQUEST_URI} !\.png$

RewriteRule ^example.com$ example.com/ [R]
RewriteRule ^example.com/(.*)$ example.com/index.php/$1

‚Į‚Ä‚ā‚Į‚½‚ēA/phpinfo.phpi‚Č‚©‚Ż‚ĶphpinfoŠÖ”‚Ģ‚Żj‚Ŗ
RewriteRule ^example.com/(.*)$ example.com/index.php/$1‚É‚Š‚©‚©‚©‚Į‚Ä‚µ‚Ü‚¢‚Ü‚·B
‚Ē‚±‚Ŗ–ā‘č‚Č‚Ģ‚Å‚µ‚傤‚©H
‚ ‚ʁAgif‚É‘Ī‚µ‚Ä‚ĶAć‹L‚Ģ‹Lq‚Å‚½‚¾‚µ‚¢‚Ģ‚Å‚µ‚傤‚©H

111 F110F05/03/04 04:52:45 ID:3xlEv0k9
‚Ü‚æ‚Ŗ‚¦‚Ü‚µ‚½B‚±‚ź‚Å‚·B‚ŁA‚æ‚ĘŽæ–ā‚©‚¦‚³‚¹‚Ä‚­‚¾‚³‚¢B
‰ŗ‹L‚ŁAhttp://example.com/admin/‚ɃAƒNƒZƒX‚·‚é‚ʁA
RewriteCond %{REQUEST_URI} "!/admin" ‚É‚Š‚Į‚©‚©‚Į‚āAURL‘‚«Š·‚¦‚Ķ‚Ø‚«‚Č‚¢‚Ķ‚ø‚Č‚Ģ‚Å‚·‚ŖA
‚Č‚ŗ‚©‹N‚«‚Ä‚µ‚Ü‚Į‚Ä‚Ü‚·B‚Ē‚Č‚½‚©‹³‚¦‚Ä‚¢‚½‚¾‚Æ‚ź‚ĪK‚¢‚Å‚·B
#mod_rewrite
RewriteEngine on

RewriteCond %{REQUEST_URI} "!/phpMyAdmin"
RewriteCond %{REQUEST_URI} "!/webmin"
RewriteCond %{REQUEST_URI} "!/admin"
RewriteCond %{REQUEST_URI} "!/client"
RewriteCond %{REQUEST_URI} !\.js$
RewriteCond %{REQUEST_URI} !\.css$
RewriteCond %{REQUEST_URI} !\.txt$
RewriteCond %{REQUEST_URI} !\.wml$
RewriteCond %{REQUEST_URI} !\.hdml$
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{REQUEST_URI} !\.xhtml$
RewriteCond %{REQUEST_URI} !\.php$
RewriteCond %{REQUEST_URI} !\.inc$
RewriteCond %{REQUEST_URI} !\.html$
RewriteCond %{REQUEST_URI} !\.txt$
RewriteCond %{REQUEST_URI} !\.gif$
RewriteCond %{REQUEST_URI} !\.jpg$
RewriteCond %{REQUEST_URI} !\.jepg$
RewriteCond %{REQUEST_URI} !\.bmp$
RewriteCond %{REQUEST_URI} !\.png$

RewriteCond $0 !^/index\.php
RewriteRule ^.*$ /index.php$0
RewriteRule ^example.com$ example.com/ [R]
RewriteRule ^example.com/(.*)$ example.com/index.php/$1

112 Fnobody‚³‚ńF05/03/11 14:08:18 ID:???
RewriteEngine On
RewriteCond %{REMOTE_HOST} !\.jp$ [NC,OR]
RewriteCond %{REMOTE_HOST} !\.bbtec\.net$ [NC,OR]
RewriteCond DUMMY CONDITION
RewriteRule index\.html$ - [F]

‚±‚ń‚Č‚©‚ń‚¶‚ÅJPƒhƒƒCƒ“‚ĘY!BBˆČŠO‚Ķindex.html‚ɃAƒNƒZƒX‚Å‚«‚Č‚¢‚ꂤ‚É‚µ‚Ä‚¢‚é‚Ģ‚¾‚Æ‚ĒA
.com‚Č‚Ē‚Ģ‹ÖŽ~‚³‚ź‚Ä‚¢‚éƒhƒƒCƒ“‚ŃAƒNƒZƒX‚·‚é‚Ę403‚Ģƒy[ƒW‚É‚Ķ”ņ‚Ō‚Æ‚ĒA
ƒXƒe[ƒ^ƒX‚Ķ200‚Ȃꂤ‚Č‚Ģ‚Å‚·B
403‚š•Ō‚µ‚½‚¢‚Ģ‚Å‚·‚ŖA‚Ē‚¤‘‚Æ‚Ī‚¢‚¢‚Å‚µ‚傤‚©H

14:01:24 nfo>Winsock 2.2
14:01:36 suc>sample.info‚ŖŒ©‚Ā‚©‚č‚Ü‚µ‚½
14:01:36 suc>sample.info(255.255.255.0):80‚Éconnect¬Œ÷‚µ‚Ü‚µ‚½
14:01:36 rtn>ƒT[ƒo‚ÖƒŠƒNƒGƒXƒg‘—M
14:01:36 cmd>GET /index.html HTTP/1.0
14:01:36 cmd>Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
14:01:36 cmd>Accept-Charset: iso-8859-1,*,utf-8
14:01:36 cmd>Accept-Encoding: gzip
14:01:36 cmd>Accept-Language: en, ja
14:01:36 cmd>Connection: close
14:01:36 cmd>Host: sample.info
14:01:36 cmd>User-Agent: Mozilla/4.05 [en] (Win95; I)
14:01:36 rtn>ƒT[ƒo‚©‚ē‚ĢƒŒƒXƒ|ƒ“ƒX
14:01:36 res>HTTP/1.1 200 OK
14:01:36 res>Date: Fri, 11 Mar 2005 05:01:40 GMT
14:01:36 res>Server: Apache/1.3.33 (Unix)
14:01:36 res>Content-Type: text/html;charset=Shift_JIS
14:01:36 res>Content-Length: 2260
14:01:36 res>Connection: close
14:01:36 nfo>sample.info‚©‚ēŲ’f‚µ‚Ü‚·

113 Fnobody‚³‚ńF05/03/11 15:40:36 ID:???
RewriteRule ~([^/])+/([^/]) ?p=$1&q=$2
‚Č‚ē“®‚­‚ń‚Å‚·‚Æ‚Ē
RewriteRule ~([^/])+/([^/])/([^/]) ?p=$1&q=$2&m=$3
‚Ę‚Č‚é‚ĘƒT[ƒo[‚ŖŒ©‚Ā‚©‚č‚Ü‚¹‚ń‚É‚Č‚č‚Ü‚·B
ŽŽsöŒė‚µ‚½Œ‹‰ŹA$n‚Ģn‚Ŗ3ˆČć‚Ģ‚ą‚Ģ‚Å‚±‚¤‚Ȃ邱‚Ę‚Ŗ‚ķ‚©‚Į‚½‚Ģ‚Å‚·‚ŖA
‚±‚Ģ‚ꂤ‚ɂȂ鐧ŒĄ‚Ķ‚ ‚é‚Ģ‚Å‚·‚©Hƒ[ƒJƒ‹‚Å‚ĶƒGƒ‰[‚Ŗ‚Å‚Č‚¢‚Ģ‚É
XREA‚É’u‚¢‚½‚Ę‚½‚ńƒGƒ‰[‚Ŗ‚Å‚é‚ꂤ‚É‚Č‚č‚Ü‚µ‚½B

114 Fnobody‚³‚ńF05/03/12 17:48:37 ID:dOpkRpqt
“Ę‚čŒ¾‚Å‚·Bapache2.0‚Å‚Ģ‚±‚Ę‚Å‚·B
apache‚Ģ./configure‚Å--enable-module=all‚É‚µ‚Ä‚¢‚Ähttpd2.0‚Émod_rewrite‚šDSO‚Å‘g‚Żž‚Ż‚½‚¢«

httpd -l‚Åmod_so.c‚Ŗ“ü‚Į‚Ă邱‚Ę‚šŠm”FB
mod_rewrite.c‚Ŗ‚ ‚éƒfƒBƒŒƒNƒgƒŠ‚ɈŚ“®
#/usr/local/apache2/bin/apxs -c mod_rewrite.c
#/usr/local/apache2/bin/apxs -i -a -n rewrite mod_rewrite.la
2s–Ś‚ĢƒRƒ}ƒ“ƒh‚Å.soƒtƒ@ƒCƒ‹‚Ŗ‚Č‚¢‚ĘŒ¾‚ķ‚ź‚é‚Ģ‚ŁA“ƃfƒBƒŒƒNƒgƒŠ‚Å
#gcc -shared -o mod_rewrite.so mod_rewrite.o -Wc,-Wall -L/usr/local/lib -Llib
‚Å–³—‚ā‚č.soƒtƒ@ƒCƒ‹ģ¬B‚ ‚Ę‚Ķ‚Å‚«‚½.soƒtƒ@ƒCƒ‹‚šapache‚Ģmodule‚Écp‚µ‚Äconfƒtƒ@ƒCƒ‹‚É
LoadModule‚Ģs‚š’Ē‰ĮBapacheÄ‹N“®ØŠ®ąų

115 FageF05/03/12 17:51:23 ID:dOpkRpqt
Ŗ‘±‚«B
‚±‚ź‚Å1“ś”¼’ׂµ‚Ü‚µ‚½B”Y‚ń‚Å‚élAŽQl‚É‚µ‚Ä‚æ‚åB
httpd‚Ģ2.0‚¾‚ĘAdd_Module‚Ģs‚Ķ‚¢‚ē‚Č‚¢‚Ģ‚©‚µ‚ēH
‚¢‚ē‚Č‚­‚Ä“®‚¢‚½‚ń‚¾‚Æ‚ĒAAAB

116 Fnobody‚³‚ńF2005/03/21(ŒŽ) 09:28:11 ID:???
>>113
XREA‚ĢƒTƒ|”Ā‚É‚Č‚ń‚©‘‚©‚ź‚Ä‚½‹L‰Æ‚Ŗ‚ ‚é

>>115
2‚©‚ē‚ĶAdd_Module‚Ŗ‚Č‚­‚Ä‚ą–ā‘č‚Č‚¢‚ę

37 KB
” ‚±‚ĢƒXƒŒƒbƒh‚Ķ‰ß‹ŽƒƒO‘qŒÉ‚ÉŠi”[‚³‚ź‚Ä‚¢‚Ü‚·

šƒXƒ}ƒz”Łš ŒfŽ¦”Ā‚É–ß‚é ‘S•” ‘O100 ŽŸ100 ÅV50

read.cgi ver 05.04.00 2017/10/04 Walang Kapalit š
FOX š DSO(Dynamic Shared Object)