search
HomeBackend DevelopmentPHP TutorialReprint the httpd.conf file comments of ApacheServer_PHP tutorial

The reference here is the Apache Server1_3_12_win32 version. ServerType standalone #Set the server to be started alone (standalone) or started by the Internet server program inetd. The former is generally used. ServerRoot "d:/Apache" #Set the server's Home directory, which is used to store the server's configuration files, error files, and record files. PidFile logs/httpd.pid #When the program starts, store the process ID (process id) of the parent process httpd in this file. This file name can be changed with the PidFile command. ScoreBoardFile logs/apache_status #Set the log files of some execution programs of the WWW server on the network. #ResourceConfig conf/srm.conf #AccessConfig conf/access.conf #The contents of these two files are already included in the httpd.conf file. Timeout 300 #If the client has not connected for 300 seconds, or the server has not sent data to the client for 300 seconds, it will automatically disconnect. KeepAlive On #Set whether to support the resume function. MaxKeepAliveRequests 100 #Set the number of supported resuming functions. The higher the number, the more hard disk space is wasted. Set to 0 to not only continue to transmit. KeepAliveTimeout 15 #If the user has not sent a request to the server after 15 seconds, he will not be able to resume the transmission. MaxRequestsPerChild 0 #Set the number of child processes at the same time. ThreadsPerChild 50 #Set the number of processes used by the server. #Listen 3000 #Listen 12.34.56.78:80 #Allow other ports or IPs to be used to access the server. In this example, the Port is 3000 and the IP is 12.34.56.78:80. #BindAddress * #Set Apache to listen to all IPs, or you can specify them specifically. #LoadModule anon_auth_module modules/ApacheModuleAuthAnon.dll …… #Open the module that is not currently activated. #ExtendedStatus On #Set the status information generated by the server. The reference here is the Apache Server1_3_12_win32 version. Port 80 #Set the port used by the server. ServerAdmin you@your.address #Set the email address of the server administrator. #ServerName new.host.name #The host name of the server. If you have a fixed IP address, no setup is required. DocumentRoot "d:/Apache/htdocs" #Set the directory where the site's html files are stored. Options FollowSymLinks AllowOverride None #Settings/directory directive. Specific instructions: Option: Define the operations that can be performed in the directory. None means that it can only be browsed, FollowSymLinks allows the page to connect to other places, ExecCGI allows the execution of CGI, MultiViews allows operations such as watching animations or listening to music, Indexes allows the server to return a formatted list of directories, and Includes allows the use of SSI. These settings can be checked. All can do everything except MultiViews. AllowOverride: Adding the None parameter means that anyone can browse the files in this directory. Additional parameters are: FileInfo, AuthConfig, Limit. UserDir "d:/Apache/users/" #Define the directory where users store html files. DirectoryIndex index.html #Define the file displayed first. AccessFileName .htaccess #Define the name of each directory access control file. #CacheNegotiatedDocs defines that the proxy server should not cache your pages. Not recommended. UseCanonicalName On #The server uses the server name specified by ServerName and the port address specified by Port. Original author: Xiaozu Source: Xiaozu World Wide Web

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/509188.htmlTechArticleThe reference here is the Apache Server1_3_12_win32 version. ServerType standalone #Set whether the server should be started alone (standalone) or started by the Internet server program inetd...
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
wpsystem是什么文件夹wpsystem是什么文件夹Sep 01, 2022 am 11:22 AM

wpsystem文件夹是windows应用文件夹;创建WpSystem文件夹是为了存储某些特定“Microsoft Store”应用程序的数据,因此建议不要删该文件夹,因为删除之后就无法使用指定的应用。

winreagent是什么文件夹winreagent是什么文件夹Aug 26, 2022 am 11:23 AM

winreagent是在系统更新或升级的过程中创建的文件夹;该文件夹中通常包含临时文件,当更新或升级失败时,系统将通过还原先前创建的临时文件来回滚到执行更新或升级过程之前的版本。

baidunetdiskdownload是什么文件夹baidunetdiskdownload是什么文件夹Aug 30, 2022 am 10:45 AM

baidunetdiskdownload是百度网盘默认下载文件的文件夹;百度网盘是百度推出的一项云存储服务,只要下载东西到百度网盘里,都会默认保存到这个文件夹中,并且可跨终端随时随地查看和分享。

usmt.ppkg是什么文件usmt.ppkg是什么文件Sep 09, 2022 pm 02:14 PM

“usmt.ppkg”是windows自带的系统还原功能的系统备份文件;Windows系统还原是在不需要重新安装操作系统,也不会破坏数据文件的前提下使系统回到原有的工作状态,PBR恢复功能的备份文件就是“usmt.ppkg”。

如何在技嘉主板上设置键盘启动功能 (技嘉主板启用键盘开机方式)如何在技嘉主板上设置键盘启动功能 (技嘉主板启用键盘开机方式)Dec 31, 2023 pm 05:15 PM

技嘉的主板怎么设置键盘开机首先,要支持键盘开机,一定是PS2键盘!!设置步骤如下:第一步:开机按Del或者F2进入bios,到bios的Advanced(高级)模式普通主板默认进入主板的EZ(简易)模式,需要按F7切换到高级模式,ROG系列主板默认进入bios的高级模式(我们用简体中文来示范)第二步:选择到——【高级】——【高级电源管理(APM)】第三步:找到选项【由PS2键盘唤醒】第四步:这个选项默认是Disabled(关闭)的,下拉之后可以看到三种不同的设置选择,分别是按【空格键】开机、按组

CS玩家的首选:推荐的电脑配置CS玩家的首选:推荐的电脑配置Jan 02, 2024 pm 04:26 PM

1.处理器在选择电脑配置时,处理器是至关重要的组件之一。对于玩CS这样的游戏来说,处理器的性能直接影响游戏的流畅度和反应速度。推荐选择IntelCorei5或i7系列的处理器,因为它们具有强大的多核处理能力和高频率,可以轻松应对CS的高要求。2.显卡显卡是游戏性能的重要因素之一。对于射击游戏如CS而言,显卡的性能直接影响游戏画面的清晰度和流畅度。建议选择NVIDIAGeForceGTX系列或AMDRadeonRX系列的显卡,它们具备出色的图形处理能力和高帧率输出,能够提供更好的游戏体验3.内存电

备份文件的扩展名通常是什么备份文件的扩展名通常是什么Sep 01, 2022 pm 03:55 PM

备份文件的扩展名通常是“.bak”;bak文件是一个备份文件,这类文件一般在'.bak前面加上应该有原来的扩展名,有的则是由原文件的后缀名和bak混合而成,在生成了某种类型的文件后,就会自动生成它的备份文件。

thm是什么格式的文件thm是什么格式的文件Sep 09, 2022 pm 02:18 PM

thm是MP4或者MPG视频格式文件的索引文件,其本质上是一张jpg格式的图片;打开视频播放器除了需要MP4或者MPG格式的视频文件外,还会需要一个thm格式的索引文件才能播放,该文件可以用ACDSEE打开查看。

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!