discuz里面文件都设置好了,还有就是下面这个了
在配置文件里的这段代码怎么改
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot "/www/wwwroot/xxxxxxxcom"
ServerName e37e9654.xxxxxcom
ServerAlias xxxxcom xxxxxxcom xxxxcom xxxxxxcom
# ErrorDocument 404 /404.html
ErrorLog "/www/wwwlogs/xxxxxxcom-error_log"
CustomLog "/www/wwwlogs/xxxxxcom-access_log" combined
#引用重定向规则,注释后配置的重定向代理将无效
IncludeOptional /www/server/panel/vhost/apache/redirect/yxxxxxx.com/*.conf
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
Order allow,deny
Deny from all
</Files>
#PHP
<FilesMatch \.php$>
SetHandler "proxy:unix:/tmp/php-cgi-54.sock|fcgi://localhost"
</FilesMatch>
#PATH
<Directory "/www/wwwroot/xxxxxcom">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.php index.html index.htm default.php default.html default.htm
</Directory>
</VirtualHost>
|
|