windows 部署h5ai/Directory Lister
1. 禁用Windows Defender
2. 安装.NET Framework 3.5
3. 安装宝塔windows面板
4. 安装IIS, PHP
5. 创建网站
h5ai
复制h5ai文件夹至网站根目录;
(放行端口888);
宝塔web面板网站设置-伪静态添加
<rewrite>
<rules>
<rule name="RewriteAll" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="_h5ai/public/index.php" appendQueryString="true" />
</rule>
</rules>
</rewrite>
根目录出现web.config文件
Directory Lister
Download and extract Directory Lister
Copy resources/default.config.php to resources/config.php
Upload index.php and the resources folder to the folder you want listed
Upload additional files to the same directory as index.php