Loading... <p> <span style="color:#273746;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;font-size:16px;line-height:28.8px;white-space:normal;background-color:#FFFFFF;">Apaxy是一个非常好玩的工具,它可以把美化网站目录浏览和使用体验,它使用的时 Apache 的 mod_autoindex 的模块,并且通过一些 CSS 去覆盖默认的目录浏览的样式。</span> </p> <p> ![Apaxy][1]<br /> </p> <p> <span style="font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;font-size:16px;line-height:28.8px;white-space:normal;background-color:#FFFFFF;"> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> <strong style="border:0px;margin:0px;padding:0px;outline:none;">Apaxy 的主要功能</strong>: </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 使用 CSS 美化目录浏览。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 可以使用 JavaScript 或者 jQuery 方式弹窗。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 可以添加欢迎消息,下载指示和版权信息。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 添加自定义文件类型图标(需要修改 .htaccess 文件)。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> <strong style="border:0px;margin:0px;padding:0px;outline:none;">Apaxy安装</strong>: </p> <p style="border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> <span style="color:#273746;">假设你的服务器</span><span style="color:#273746;line-height:1.8;">上的 /share/ 目录适用于文件分享的。</span> </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 下载:Apaxy 并解压缩。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 将 /apaxy 文件夹里面的内容复制到 /share 目录下。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 编辑 htaccess.txt 文件(现在应该在 /share 目录下),并且把所有的 {FOLDERNAME} 改成直接指向站点 root。 </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 比如:AddIcon /{FOLDERNAME}/theme/icons/gif.png .gif 应该改成:AddIcon /share/theme/icons/gif.png .gif </p> <p style="color:#273746;border:0px;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;margin-top:0px;margin-bottom:20px;padding:0px;outline:none;line-height:1.8;font-size:16px;overflow:hidden;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;white-space:normal;background-color:#FFFFFF;"> 然后,然后就没有然后了。。。 </p> <span style="color:#273746;"><span style="color:#273746;font-family:Arial, 'Microsoft yahei', 'Hiragino Sans GB', '冬青黑体简体中文 w3', STXihei, 华文细黑, 微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;font-size:16px;line-height:28.8px;white-space:normal;background-color:#FFFFFF;">下载:</span><a href="http://adamwhitcroft.com/apaxy/" target="_blank"><span style="color:#00aaee;"><span style="border-style:initial;border-color:initial;transition-duration:0.3s;transition-delay:initial;transition-property:all;line-height:28.8px;background-color:#FFFFFF;">Apaxy</span></span></a></span><br /> </span> </p> [1]: https://blog.litchi.ren/usr/uploads/2017/12/f7b8ef12f701d250fe7ef27f65ce55fa20171229064546.jpg 最后修改:2018 年 02 月 23 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏