【发布时间】:2014-12-28 04:02:09
【问题描述】:
我想在 IBM/Lotus Domino 服务器上托管 Wordpress 和 Magento PHP 站点,并计划与 Lotus Notes 数据库集成。
我已经安装了 PHP 5.3.29、MySQL 5.6.21.1、phpMyAdmin 4.2.10.1
我没有运行 IIS 或 Apache。
我正在运行带有 HTTP Server 任务的 IBM Domino Enterprise Server 9.01。
我已经在 Domino 目录中创建了 URL-->目录映射文档:
Incoming URL String: /*.php
Target server directory: c:\php\php-cgi.exe /*.php
Access Level: Execute
我在 Domino HTML 文件夹 (c:\domino\data\domino\html\php) 中创建了一个目录 'php'
我创建了一个显示 phpinfo() 的 info.php 文件:
<?php phpinfo(); ?>
我能够完美地提出http://domain.com/php/info.php。 !!
我能够运行 phpMyAdmin 并创建 MySQL 数据库。
我能够安装和配置 Wordpress。
但是我必须将index.php 添加到仅包含目录的任何 URL。
例如/wp/wp-admin/index.php 有效。
但是 /wp/wp-admin/ 或 /wp/wp-admin 返回状态 403 和错误:
Unable to process request, directory browsing is not allowed
所以这是我的问题:
除了 index.htm 和 index.html 之外,我如何让 Domino HTTP 服务查找 index.php URL只是目录?如果 Domino HTML 目录中有一个名为 index.html 的文件,则只需使用目录名即可。如果 URL 中只有一个目录,如何将 index.php 添加到要查找的文件列表中?是否有一些配置文件可以将 index.php 添加到列表中?
请注意,我没有使用 Apache,因此 .htaccess 文件在 Domino HTTP 环境中无效(如果我错了,请纠正我)。
提前致谢。
【问题讨论】:
标签: php mysql wordpress magento lotus-domino