Changeset 6654

Show
Ignore:
Timestamp:
09/11/08 22:49:37 (4 months ago)
Author:
daybreaker
Message:

refs #1085: 관련 문서 수정

Location:
trunk/doc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/INSTALL

    r6625 r6654  
    23232. For Windows Systems: 
    2424 
    25   NOTE: Currently we only supports IIS 7.0 or above. 
    26         Also you have to download the latest trunk version (r6624 or newer) from 
    27         our subversion repository. 
     25  Step 1: Install and setup IIS, PHP, MySQL. 
    2826 
    29   Step 1: Install and setup IIS 7, PHP, MySQL. 
     27  Step 2: Install a free open-source rewrite filter. It supports IIS5/6/7. 
     28          Link : http://www.codeplex.com/IIRF 
    3029 
    31   Step 2: Install URL Rewrite module for IIS 7.0. 
    32           Link : http://learn.iis.net/page.aspx/460/using-url-rewrite-module 
     30          There is another implementation provided by IIS Development Team, but it has 
     31          encoding problems with non-ASCII URLs and runs only on IIS7. 
     32          Link : http://learn.iis.net/page.aspx/460/using-url-rewrite-module/ 
    3333 
    3434  Step 3: Grant all permissions on the Textcube directory and its subdirectories to 
    35           IIS_IUSRS group. 
     35          IIS_IUSRS group or appropriate user/groups. 
    3636 
    3737  Step 4: Run setup.php on your web browser. 
    38           NOTE: Use 127.0.0.1 instead of localhost to avoid later login problems. 
    3938 
    40   Step 5: Skip mod_rewrite related warnings during setup process. 
     39     NOTE: (for localhost installers) 
     40      * Use 127.0.0.1 instead of localhost to avoid later login problems for most 
     41        of web browsers. 
     42      * If you're using Google Chrome, you have to edit your hosts configuration 
     43        to avoid login problems, because it refuses to save cookies even for 
     44        127.0.0.1 IP address. 
     45        See C:\Windows\System32\drivers\etc\hosts file. 
    4146 
    42   Step 6: After setup, add $service['fancyURL'] = 2; to config.php. 
     47  Step 5: You will see a notice about IIS during installation. 
    4348 
    44   Step 7: In URL Rewrite module settings on the IIS manager, 
    45         7-1: Open [Import rules] dialog. 
    46         7-2: Copy & paste rewrite rules from existing .htaccess file on your installation. 
    47         7-3: Insert your install path relative to your domain and wwwroot in front of 
    48              each pattern/condition and actions of rewrite rules. 
     49  Step 6: After setup, add $service['fancyURL'] = 2; to config.php to force using rewrites. 
     50          (optional) 
    4951 
    50              Example: 
    51              If your URL is http://127.0.0.1/tcurl/ and path is C:\inetpub\wwwroot\tcpath, 
    52              modify it like the followings. 
    53              (Usually tcurl and tcpath are same.) 
    54  
    55              The original .htaccess settings: 
    56  
    57                  RewriteEngine On 
    58                  RewriteBase /tcurl/ 
    59                  RewriteCond %{REQUEST_FILENAME} -f 
    60                  RewriteRule ^(cache)+/+(.+[^/])\.(cache|xml|txt|log)$ - [NC,F,L] 
    61                  RewriteCond %{REQUEST_FILENAME} -d 
    62                  RewriteRule ^(.+[^/])$ $1/ [L] 
    63                  RewriteCond %{REQUEST_FILENAME} !-f 
    64                  RewriteRule ^(thumbnail)/([0-9]+/.+)$ cache/$1/$2 [L] 
    65                  RewriteRule ^(.*)$ rewrite.php [L,QSA] 
    66  
    67              The modified .htaccess settings to be imported: 
    68  
    69                  RewriteEngine On 
    70                  RewriteCond %{REQUEST_FILENAME} -f 
    71                  RewriteRule ^tcurl/(cache)+/+(.+[^/])\.(cache|xml|txt|log)$ - [NC,F,L] 
    72                  RewriteCond %{REQUEST_FILENAME} -d 
    73                  RewriteRule ^tcurl/(.+[^/])$ tcpath/$1/ [L] 
    74                  RewriteCond %{REQUEST_FILENAME} !-f 
    75                  RewriteRule ^tcurl/(thumbnail)/([0-9]+/.+)$ tcpath/cache/$1/$2 [L] 
    76                  RewriteRule ^tcurl/(.*)$ tcpath/rewrite.php [L,QSA] 
    77  
    78         7-4: Finish importing. 
    79         7-5: Check 'Stop processing of subsequent rules' options of all imported rules 
    80              according to [L] flags. 
    81              (It's a bug of IIS' URL rewrite module currently.) 
    82  
     52  Step 7: Copy all rewrite rules in .htaccess to IsapiRewrite4.ini as instructed. 
     53          setup.php will generate these rules by recognizing the web server. 
     54   
    8355  Step 8: Use it just like Textcubes with mod_rewrite enabled. 
    8456 
  • trunk/doc/requirements.txt

    r6625 r6654  
    29292. For Microsoft Windows : 
    3030 
    31  Currently supports IIS7 only : 
    32   * Windows Vista / Windows Server 2008 
    33   * IIS 7.0 or above 
    34     * with URL Rewrite module 
     31  * IIS 5.0 or above 
     32    * with ISAPI Rewrite Filter 
    3533  * PHP 5.2 or above 
    3634    * with iconv / gd module