五 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配置不同域名与对应目录

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Notepad++7.3.1
Easy-to-use and free code editor

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver CS6
Visual web development tools