Relinux下配置网站不能正常运行
域名对的 是这个 , kawaiiwind.conf 配置内容如下 在/alidata/server/httpd-2.4.10/conf/vhosts 目录下,这个站点的配置肯定被加载了,我试过
把 <VirtualHost *:80>
DocumentRoot /alidata/www/kawaiiwind 这里 改成
<VirtualHost *:80>
DocumentRoot /alidata/www/kawaiiwind1
httpd 重启会出错误提示。
<DirectoryMatch "/alidata/www/kawaiiwind/(attachment|html|data)">
<Files ~ ".php">
Order allow,deny
Deny from all
</Files>
</DirectoryMatch>
<VirtualHost *:80>
DocumentRoot /alidata/www/kawaiiwind
ServerName www. kawaiiwind. com
ServerAlias kawaiiwind
<Directory "/alidata/www/kawaiiwind">
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
ErrorLog "/alidata/log/httpd/kawaiiwind-error.log"
CustomLog "/alidata/log/httpd/kawaiiwind.log" common
</VirtualHost>
ServerName www. kawaiiwind. com 请无视 论坛不够权限 , 无法发链接, 实际上没有空格的
-------------------------
apache启动了的