Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| vendors:microsoft:iis [2025/02/17 13:42] – [Powershell script to install IIS] gerardorourke | vendors:microsoft:iis [2025/09/29 10:04] (current) – [Example 2] gerardorourke | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| * Download PHP - http:// | * Download PHP - http:// | ||
| - | * Download Wincache for PHP - https:// | + | * Enabled CGI - Configure IIS \ Application Development Features \ CGI - |
| - | * How to Enabled CGI - Configure IIS \ Application Development Features \ CGI - for more info check [[https:// | + | * Configure Fast CGI on IIS (See [[# |
| + | * for more info check [[https:// | ||
| + | * Download and install latest Microsoft Visual C++ Redistributable (needed for PHP) | ||
| * Download Dokuwiki - https:// | * Download Dokuwiki - https:// | ||
| Line 78: | Line 80: | ||
| ===== CORS ===== | ===== CORS ===== | ||
| + | ====Example 1==== | ||
| + | <code xml> | ||
| + | <?xml version=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <add name=" | ||
| + | <add name=" | ||
| + | <add name=" | ||
| + | <add name=" | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====Example 2==== | ||
| <code xml> | <code xml> | ||
| <?xml version=" | <?xml version=" | ||
| Line 87: | Line 111: | ||
| <match serverVariable=" | <match serverVariable=" | ||
| < | < | ||
| - | <add input=" | + | <add input=" |
| </ | </ | ||
| <action type=" | <action type=" | ||
| Line 108: | Line 132: | ||
| + | ===== Disabled IIS Server Header ===== | ||
| + | < | ||
| + | %systemroot%\system32\inetsrv\appcmd.exe set config -section: | ||
| + | </ | ||
| + | |||
| + | To validate the changes, execute the below curl command, and you should not see server details as part of the header. | ||
| + | |||
| + | curl -I https:// | ||