Configuration of Apache+resin under Linux environment

Source: Internet
Author: User
Apache
Apache installation Configuration tar xvzf httpd*//Unzip Source Pack CD httpd*//Enter installation directory/configure--prefix=/usr/local/apache2--enable-so//Compile//-- Enable-so depending on the version of Apache may be different, please use the--HELP parameter to view available options Makemake Install//installation

modifying conf/httpd.conf for HTTP configuration

Resin installation Configuration tar zxvf resin*//Extract Source Pack CD resin*//Enter the installation directory./configure--with-apxs= $Apache 2_home/bin/apxs ...//compile, You can use the--help parameter to view available options Makemake Install//installation

The. So file of the resin connection Apache2 has been generated at this time, and its presence and $apache2_home/modules/mod_caucho.so

Modify conf/httpd.conf for HTTP configuration LoadModule caucho_modules modules/mod_caucho.so resinconfigserver localhost ;location/caucho-status> SetHandler Caucho-status </location>

Modify the <web-app id= '/' document-directory= '/webapps/root ' in $resin_home/conf/resin.conf/> The directory where root is changed to Apache httpd.conf configuration file Document root

Start resin and Apache separately

Access Http://hostname/caucho-status can see the Resin status page


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.