您好,欢迎访问一九零五行业门户网

linux 学习(三) php相关

五 php相关 配置文件位置 /etc/apache2/apache2.conf 1禁止列举目录 sudo vi /etc/apache2/sites-enabled/000-default 删除 options indexes followsymlinks中的 indexes 2 配置默认主页 grep -ir directoryindex /etc/apache2 查看默认首页配置 /etc/apache
五 php相关
配置文件位置
/etc/apache2/apache2.conf
1禁止列举目录
 sudo vi /etc/apache2/sites-enabled/000-default
删除options indexes followsymlinks中的indexes 
2 配置默认主页
grep -ir directoryindex /etc/apache2 查看默认首页配置
/etc/apache2/mods-enabled/dir.conf:修改里面的配置就行了
3配置不同域名与对应目录
其它类似信息

推荐信息