‚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‚đ’ljÁ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)