install:iis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:iis [2017-05-30 10:00] – IIS Aid Link Broken 93.122.77.237 | install:iis [2023-09-20 21:48] (current) – rewrite info moved here. needs refactoring andi | ||
---|---|---|---|
Line 12: | Line 12: | ||
* If you want to do an offline install and want to use fast-cgi, install the addin before you install php: [[http:// | * If you want to do an offline install and want to use fast-cgi, install the addin before you install php: [[http:// | ||
(Just install and leave the setting ' | (Just install and leave the setting ' | ||
- | * Use the windows install from PHP's website. See the [[http:// | + | * Use the windows install from PHP's website. See the [[http:// |
* If you're using the [[http:// | * If you're using the [[http:// | ||
Line 32: | Line 32: | ||
- | ===== IIS7 ===== | + | ===== IIS7/10 ===== |
==== Install PHP ==== | ==== Install PHP ==== | ||
- | * Use the windows install from PHP's website. See the [[http:// | + | * Use the windows install from PHP's website. See the [[http:// |
* PHP can run either as CGI-application or as an ISAPI extension. | * PHP can run either as CGI-application or as an ISAPI extension. | ||
Line 58: | Line 58: | ||
* New Website like " | * New Website like " | ||
- Browse to the '' | - Browse to the '' | ||
- | - Browse to the '' | + | - Browse to the '' |
+ | * '' | ||
+ | * '' | ||
- The wiki installer should now be available. | - The wiki installer should now be available. | ||
- Browse to the '' | - Browse to the '' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Rewrite ==== | ||
+ | Enable url rewriting and insert appropriate set of rules: | ||
+ | |||
+ | <code xml> | ||
+ | < | ||
+ | < | ||
+ | |||
+ | <rule name=" | ||
+ | <match url=" | ||
+ | <action type=" | ||
+ | </ | ||
+ | <rule name=" | ||
+ | <match url=" | ||
+ | <action type=" | ||
+ | </ | ||
+ | <rule name=" | ||
+ | <match url=" | ||
+ | <action type=" | ||
+ | </ | ||
+ | <rule name=" | ||
+ | <match url=" | ||
+ | <action type=" | ||
+ | < | ||
+ | <add input=" | ||
+ | <add input=" | ||
+ | </ | ||
+ | </ | ||
+ | <rule name=" | ||
+ | <match url=" | ||
+ | <action type=" | ||
+ | < | ||
+ | <add input=" | ||
+ | <add input=" | ||
+ | </ | ||
+ | </ | ||
+ | <rule name=" | ||
+ | <match url=" | ||
+ | <action type=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | **If you are using Azure Web App**, just put these lines under the < | ||
+ | |||
+ | |||
+ | === IIS 7.0 or greater === | ||
+ | IIS 7.0 and above can be extended with a the URL Rewrite module 2.0 available from Microsoft for both [[https:// | ||
+ | |||
+ | Save the Apache rules above to a .htaccess file removing the " | ||
+ | |||
+ | In IIS Manager select your Wiki folder, and under IIS select "URL Rewrite" | ||
+ | |||
+ | In the actions pane on the right hand side, choose " | ||
+ | |||
+ | For your configuration file, select the .htaccess file and Import, this should give you 6 converted rules. | ||
+ | |||
+ | Finally hit Apply in the Actions panel on the right hand side. | ||
+ | |||
+ | Configure your Wiki to use .htaccess rules for rewrite and you should now be seeing your URLs rewritten. | ||
+ |
install/iis.1496131225.txt.gz · Last modified: 2017-05-30 10:00 by 93.122.77.237