Centos下LAMP环境搭建
< VirtualHost *:80>
ServerAdmin
autho at email dot com DocumentRoot "/var/www/html"
ServerName localhost:80
ServerAlias localhost:80
ErrorLog "logs/servererror.log"
CustomLog "logs/server.log"
< Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
< /Directory>
< Directory "/var/www/html">
Options FollowSysmLinks Includes
AllowOverride All
Order allow,deny
Allow form all
< /Directory>
DirectoryIndex index.php index.html index.htm
< /VirtualHost>
页:
[1]