hhnf333 发表于 2017-4-25 07:44:22

httpd, mod_python配置django服务器

1. 下载,安装httpd
   
$ ./configure --prefix=/opt/apps/httpd
$ make
$ make install
$ sudo ln -s /opt/apps/httpd/bin/apachectl /usr/bin/apachectl
$ sudo apachectl start #启动
$ sudo apachectl stop# 关闭


2. 下载,安装mod_python
   
$ ./configure --with-apxs=/opt/apps/httpd-2.2.21/bin/apxs \
--with-python=/usr/bin/python
$ make
$ sudo make install
页: [1]
查看完整版本: httpd, mod_python配置django服务器