PyukiWiki CVS Commit
pyuki****@lists*****
2012年 1月 29日 (日) 14:16:37 JST
Index: PyukiWiki-Devel-UTF8/build/installer_sub.sh diff -u PyukiWiki-Devel-UTF8/build/installer_sub.sh:1.8 PyukiWiki-Devel-UTF8/build/installer_sub.sh:1.9 --- PyukiWiki-Devel-UTF8/build/installer_sub.sh:1.8 Sun Jan 29 13:51:08 2012 +++ PyukiWiki-Devel-UTF8/build/installer_sub.sh Sun Jan 29 14:16:37 2012 @@ -197,6 +197,10 @@ <input type="radio" name="installmode" value="normal" checked="checked">通常インストール <input type="radio" name="installmode" value="secure">ã‚»ã‚ãƒ¥ã‚¢ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ï¼ˆãƒ‘ãƒ¼ãƒŸãƒƒã‚·ãƒ§ãƒ³ã‚’åŽ³æ ¼ã«è¨å®šã—ã¾ã™ã€‚) </td></tr> +<tr><td>.htaccessファイル</td><td> +<input type="radio" name="htaccess" value="htaccesson" checked="checked">è¨ç½®ã™ã‚‹ +<input type="radio" name="htaccess" value="htaccessoff" checked="checked">削除ã™ã‚‹ +</td></tr> <tr><td>gzip圧縮転é€</td><td> <input type="radio" name="gzip" value="gzipoff">無効 <input type="radio" name="gzip" value="gzipon" checked="checked">有効 @@ -234,6 +238,10 @@ <input type="radio" name="installmode" value="normal" checked="checked">Default Install <input type="radio" name="installmode" value="secure">Secure Install (Setting strict file and permissions.) </td></tr> +<tr><td>.htaccess File</td><td> +<input type="radio" name="htaccess" value="htaccesson" checked="checked">Install +<input type="radio" name="htaccess" value="htaccessoff" checked="checked">Delete +</td></tr> <tr><td>gzip compress transfer</td><td> <input type="radio" name="gzip" value="gzipoff">Disable <input type="radio" name="gzip" value="gzipon" checked="checked">Enable @@ -336,6 +344,15 @@ $SH $X chmod $MYCMD INSTALLMODE="" fi + if [ "`echo $QUERY_STRING|grep htaccessoff`" != "" ] ; then + rm -rf .htac* + echo '1;'>>./info/setup.ini.cgi + if [ "`echo $HTTP_ACCEPT_LANGUAGE | grep ja`" != "" ]; then + HTACCESS=".htaccessファイルを削除ã—ã¾ã—ãŸ<br>" + else + HTACCESS="Deleted .htaccess file<br>" + fi + fi if [ "`echo $QUERY_STRING|grep gzipon`" != "" ] ; then echo '$::gzip_path="";'>>./info/setup.ini.cgi echo '1;'>>./info/setup.ini.cgi @@ -368,15 +385,16 @@ <table> <tr><td colspan="2"> PyukiWikiã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ãŒå®Œäº†ã—ã¾ã—ãŸã€‚<br> -$INSTALLMODE -$GZIP +$INSTALLMODE$HTACCESS$GZIP インストーラã¯ã€å‹•ä½œã‚’確èªã—ãŸå¾Œã€ä¸æ£ã‚¢ã‚¯ã‚»ã‚¹é˜²æ¢ã®ç‚ºã«ã€å¿…ãšå‰Šé™¤ã—ã¦ä¸‹ã•ã„。<br> -åˆå›žèµ·å‹•æ™‚ã®ç®¡ç†è€…パスワードã¯ã€Œpassã€ã§ã™ã€‚ +åˆå›žèµ·å‹•æ™‚ã®ç®¡ç†è€…パスワードã¯ã€Œpassã€ã§ã™ã€‚<br> +<br> +動作ã—ãªã„時ã¯ã€æˆ»ã‚‹ãƒœã‚¿ãƒ³ã‚’押ã—ã¦ã‹ã‚‰ã€ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã‚ªãƒ—ションを変更ã™ã‚‹ã¨å‹•ä½œã™ã‚‹å¯èƒ½æ€§ãŒã‚ã‚Šã¾ã™ã€‚ <hr> <a href="index.cgi">動作確èªã¯ã“ã¡ã‚‰ã‹ã‚‰</a> <div align="left"> <form action="index.cgi" method="GET"> -<input type="submit" value="戻る" $buttonstyle $disable> +<input type="submit" value="戻る" $buttonstyle> <input type="submit" value="次ã¸" $buttonstyle $disable> <input type="submit" name="complete" value="完了" $buttonstyle> </form></div> @@ -392,15 +410,16 @@ <table> <tr><td colspan="2"> Install Complete<br> -$INSTALLMODE -$GZIP +$INSTALLMODE$HTACCESS$GZIP Must remove installer file, after that it works, to prevent unauthorized access.<br> -Initial administrator password is "pass". +Initial administrator password is "pass".<br> +<br> +When this does not work, press the back button, you may work with to change the installation options. <hr> <a href="index.cgi">Test Pyukiwiki Hear</a> <div align="left"> <form action="index.cgi" method="GET"> -<input type="submit" value="Back" $buttonstyle $disable> +<input type="submit" value="Back" $buttonstyle> <input type="submit" value="Next" $buttonstyle $disable> <input type="submit" name="complete" value="Complete" $buttonstyle> </form></div>