阿里云windows一键安装web环境怎么用

2025-04-17 11:25:29
推荐回答(1个)
回答1:

直接删除,如果要修改文件名称到配置文件xxx.conf中修改路径。
DocumentRoot /alidata/www/phpwind
ServerName localhost
ServerAlias localhost

Options -Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all

RewriteEngine On
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2

ErrorLog "/alidata/log/httpd/phpwind-error.log"
CustomLog "/alidata/log/httpd/access/phpwind.log" common

上面的phpwind就是文件名。