Apache
跳到导航
跳到搜索
Centos7 系统自带的 Apache 安装
yum install httpd systemctl start httpd # systemctl enable httpd
配置
vi /etc/httpd/conf/httpd.conf
Alias /dev "/u01/Dev" <Directory "/u01/Dev"> Options Indexes MultiViews FollowSymLinks IndexOptions +Charset=utf-8 Allow from all Order allow,deny AllowOverride All Require all granted </Directory>
Error
AH00686: cannot read directory for multi
SELinux 未关闭造成
chown -R www-data:www-data $PATH -.OR.- setenforce 0