随笔分类 - apache
摘要:htpasswd用于为指定用户生成基于网页用户身份认证的密码,由httpd-tools软件包提供。支持3种加密算法:MD5、SHA和系统上的crypt()函数,不指定算法时,默认为md5。 htpasswd [ -c ] [ -m ] [ -D ] passwdfile username htpas
阅读全文
摘要:有些时候因为特殊需求,需要在已安装的httpd上添加一些额外的模块,这时候要使用httpd-devel中的apxs工具。要使用这个扩展机制,你的平台必须支持DSO特性,即要求Apache httpd必须内建了mod_so模块。 apxs添加模块的方法很简单,以下是几个可能用上的选项。 -c mod_
阅读全文
摘要:apache自己的站点提供了基金会下所有的(包括所有版本)资源,包括httpd。 地址:http://archive.apache.org/dist/httpd下载地址:http://archive.apache.org/dist/httpd 清华大学有一个httpd归档的镜像站点,里面提供最新测试
阅读全文
摘要:httpd命令和apachectl命令 [root@localhost ~]# httpd -h Usage: httpd [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|g
阅读全文
摘要:[root@master conf]# cp httpd.conf httpd.conf.bak #备份主配置文件。 基于ip地址的虚拟主机,首先添加一个ens33:0 [root@master html]# ip addr add 192.168.1.220/24 dev ens33 label
阅读全文
摘要:# This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http
阅读全文