2006”N08ŒŽ28“ú

mod_rewrite ‚ª‚¤‚Ü‚­“®‚©‚Ȃ��I‚Ƃ��‚¤Žž‚́B

mod_rewrite ‚ðŽ©‘îƒT[ƒo‚Å‚¤‚Ü‚­“®‚©‚¹‚Ȃ��A‚Ƃ��‚¤ê‡,cake ‚̉摜‚ªo‚Ȃ��‚̂ł��‚ç‚��‚ç‚·‚é‚©‚à‚µ‚ê‚Ü‚¹‚ñBŠm”F‚·‚é‚�~‚«‚Ƃ�}‚ë‚́A

apache ‚Ì httpd.conf ‚̐ݒè‚Å‚·B

y‚Pzmod_rewrite ‚ð—LŒø‚É‚·‚éB

#LoadModule rewrite_module modules/mod_rewrite.so

‚Æ‚È‚Á‚��‚é‚Ƃ�}‚ë‚ðA”‚ðŠO‚µ‚āA

LoadModule rewrite_module modules/mod_rewrite.so

‚Æ‚·‚é•K—v‚ª‚ ‚è‚Ü‚·B


y‚QzAllowOverRide ‚𗘂©‚¹‚éB

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

‚Ə‘‚��‚Ä‚ ‚é‚Ƃ�}‚ë‚ð’T‚µA

AllowOverride All

‚Ȃǂɏ‘‚«Š·‚¦‚Ü‚µ‚傤B

Úï¿½~‚́A

http://httpd.apache.org/docs/2.2/ja/mod/core.html#allowoverride

‚É‚ ‚è‚Ü‚·B

--------------
‚�}‚̃fƒBƒŒƒNƒeƒBƒu‚ð None ‚ɐݒ肷‚é‚ƁA.htaccess ƒtƒ@ƒCƒ‹‚ÍŠ®‘S‚É –³Ž‹‚³‚ê‚Ü‚·B ‚�}‚̏ꍇAƒT[ƒo‚̓tƒ@ƒCƒ‹ƒVƒXƒeƒ€‚Ì .htaccess ƒtƒ@ƒCƒ‹‚ð“ǂނ�}‚Æ‚ð ŽŽ‚Ý‚³‚¦‚µ‚Ü‚¹‚ñB
--------------
‚Ƃ��‚¤‚�}‚Æ‚Å‚·B

‚»‚µ‚āAApache ‚ð Restart ‚·‚é‚�}‚Æ‚ð–Y‚ꂸ‚ɁB

ƒ‰ƒxƒ‹FApache mod_rewrite
posted by SDozono at 10:35| ƒƒTƒ“ƒ[ƒ‹ƒX ☀| Comment(1) | TrackBack(0) | CakePHP General | ‚}‚̃uƒƒO‚Ì“ÇŽÒ‚É‚È‚é | XVî•ñ‚ðƒ`ƒFƒbƒN‚·‚é
‚�}‚Ì‹LŽ–‚ւ̃Rƒƒ“ƒg
RewriteBase ‚̐ݒ肪•K—v‚ȏꍇ‚à‚ ‚é‚悤‚Å‚·B

‚³‚­‚çƒCƒ“ƒ^[ƒlƒbƒg‚Å404ƒGƒ‰[
http://cakephp.jp/modules/newbb/viewtopic.php?topic_id=76&forum=2
Posted by ‚³‚­‚çƒCƒ“ƒ^[ƒlƒbƒg—˜—pŽÒ at 2006”N09ŒŽ29“ú 15:59
ƒRƒƒ“ƒg‚ð‘‚­
‚�N–¼‘O: [•K{“ü—Í]

ƒ[ƒ‹ƒAƒhƒŒƒX:

ƒz[ƒ€ƒy[ƒWƒAƒhƒŒƒX:

ƒRƒƒ“ƒg: [•K{“ü—Í]

”FØƒR[ƒh: [•K{“ü—Í]


¦‰æ‘œ‚Ì’†‚̕��Žš‚𔼊p‚Å“ü—Í‚µ‚Ä‚­‚¾‚³‚��B

‚�}‚Ì‹LŽ–‚ւ̃gƒ‰ƒbƒNƒoƒbƒN
Žèiƒp[jTo make a comment: Please type your name and comment. at the validation field box, type 'cakephp'. And there two glay buttons. "Preview"/"Submit". Thank you!