concrete5のサイトをIIS 8.0で動かしております。
下記の方のサイトを参考にし、web.configを設置してindex.phpを表示させないようにしております。
http://akmiyoshi.hatenablog.com/entry/2014/04/13/202713
問題なのは、
①index.phpをアドレスバーに直打ちすると表示される
②アドレスの一部が大文字英語表記に返還される
解決方法を教えていただけませんでしょうか?
webconfig
1<?xml version="1.0" encoding="UTF-8"?> 2<configuration> 3 <system.web> 4 <customErrors mode="Off"/> 5 <httpRuntime requestPathInvalidCharacters="<,>,*,%,&,\,?" /> 6 </system.web> 7 <system.webServer> 8 <directoryBrowse enabled="false" /> 9 <defaultDocument> 10 <files> 11 <clear /> 12 <add value="Default.htm" /> 13 <add value="Default.html" /> 14 <add value="index.htm" /> 15 <add value="index.html" /> 16 <add value="index.php" /> 17 <add value="index.aspx" /> 18 <add value="Default.aspx" /> 19 <add value="index.py" /> 20 <add value="index.pl" /> 21 </files> 22 </defaultDocument> 23 <rewrite> 24 <rules> 25 <rule name="Concrete5" stopProcessing="true"> 26 <match url="^(.*)$" ignoreCase="false" /> 27 <conditions> 28 <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> 29 <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> 30 </conditions> 31 <action type="Rewrite" url="index.php/{R:0}" /> 32 </rule> 33 </rules> 34 </rewrite> 35 </system.webServer> 36</configuration
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。