Web Platform Installer
我有windows server 2008(r2),我在那个windows中安装了php和mysql 。
看来php和mysql一切正常。
现在我想在我的服务器上安装http://www.phpfreechat.net/ 。
安装后我收到此错误:
mod_rewrite must be enabled server side and correctly configured. "RewriteBase" could be adjusted in server/.htaccess file.
如您所知,.htaccess 文件适用于 linux 服务器。
这个错误是什么意思,我该如何解决?
我认为在我的服务器中,php 在 iis 下工作,并且我的 serevr 中没有 appache,那么我该如何绕过该错误?
我在没有帮助的情况下将 wwwroot 权限更改为 EveryOne。
同样,当我用 cutftp 打开 wwwroot 时,右键单击每个文件(属性)都找不到任何权限
编辑:
该项目中有一些文件夹,例如
服务器文件夹中的客户端-服务器-等。htaccess 是这样的:
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /path/to/phpfreechat/server
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<Limit OPTIONS GET POST PUT DELETE>
Order allow,deny
Allow from all
</Limit>
提前致谢