hfj1975 发表于 2015-8-19 14:23:02

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]
查看完整版本: Centos下LAMP环境搭建