Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Description of compilation parameters of apache (Baidu)

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Description of apache compilation installation parameters

. / configure / / configure the source code tree

-- prefix, the top-level installation directory for prefix=/usr/local/apache2 / / system-independent files, that is, the installation directory for apache. If PREFIX is not specified, / usr/local/apache2 is installed by default.

-- enable-module=so / / Open the so module. The so module is the apache core module used to support dso.

-- enable-deflate=shared / / supports web page compression

-- enable-expires=shared / / supports http control

-- enable-rewrite=shared / / supports url rewriting

-- enable-cache / / supports caching

-- enable-file-cache / / supports file caching

-enable-mem-cache / / supports memory caching

-- enable-disk-cache / / supports disk caching

-- enable-static-support / / supports static connections (default is dynamic connections)

-- enable-static-htpasswd / / compile htpasswd using static connections-manage user files for basic authentication

-- enable-static-htdigest / / compile htdigest using static connections-manage user files for summary authentication

-- enable-static-rotatelogs / / compile rotatelogs with static connection-pipe log program that scrolls the apache log

-- enable-static-logresolve / / compile logresolve with static connection-parse ip address hostname in apache log

-- enable-static-htdbm / / compiling htdbm with static connection-manipulating dbm password database

-- enable-static-ab / / compiling ab-apache http server performance testing tools using static connections

-- enable-static-checkgid / / compiling checkgid using static connections

-- disable-cgid / / disables the execution of cgi scripts with an external cgi daemon

-- disable-cgi / / prohibits compilation of cgi version of php

-- disable-userdir / / forbids users from providing pages from their home directory

-- with-mpm=worker / / Let apache run in worker mode

-- enable-authn-dbm=shared / / A pair of dynamic databases are operated. Required for rewrite.

/ usr/local/apache/bin/apachectl-m =-t-d dump_modules which modules are installed

/ usr/local/apache/bin/apachectl-t test whether the installation is successful

/ usr/local/apache/bin/apachectl-k start | restart | stop to check the details

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report