Loading...
1.禁止显示 index of目录编辑http.conf文件找到: Options indexes FollowSymLinks 改为: Options FollowSymLinks2.Apache添加多端口编辑http.conf文件在Listen 80处另起一行输入Listen 8080 (监听8080端口)在httpd.conf文件最后一行添加:注:默认的80...
1.进入Apache编辑httpd.conf文件2.找到#LoadModule rewrite_module modules/mod_rewrite.so改为LoadModule rewrite_module modules/mod_rewrite.so3.找到 # AllowOverride controls what directives may be placed in .hta...
1.进入Apache编辑httpd.conf文件1、增加下面内容AddType application/x-httpd-php .php .phtml #以php结尾的,交给php处理 AddType application/x-httpd-php-source .phps 找到DirectoryIndex index.html #添加index.phpDirectoryInde...
Linux搭建Apache1.安装APR,APR-util,PCRE,expat,gcc,gcc-c++的依赖ARP和APR-util在http://apr.apache.org/download.cgi 这里下载PCRE在https://pcre.org 这里下载expat使用yum安装yum install -y expat-devel*gcc和gcc-c++使用yum安装yum ins...