> powershell -command start \"notepad\" -verb runas -argumentlist \"%SystemRoot%\\system32\\drivers\\etc\\hosts\"
hosts
127.0.0.1 fuelapp.localhost
D:\webapps\fuelapp\public\web.config
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <add value="index.php" /> </files> </defaultDocument> <rewrite> <rules> <rule name="FuelApp規則" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php/{R:1}" logRewrittenUrl="false" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
Windows IIS 7.5 で PHP を動かす でインストールした PHP をベースに説明する。
;extension=php_mysqli.dll extension=ext/php_mysqli.dll