Configuration of Apache + resin in Linux

Source: Internet
Author: User

Apache installation Configuration
Tar xvzf httpd * // decompress the source code package
CD httpd * // enter the installation directory
/Configure -- prefix =/usr/local/apache2 -- enable-So // compile
// -- Enable-so may vary depending on the Apache version. Use the -- help parameter to view available options.
Make
Make install // install

Modify CONF/httpd. conf for HTTP configuration

Resin installation Configuration
Tar zxvf resin * // decompress the source code package
CD resin * // enter the installation directory
./Configure -- With-apxs = $ apache2_home/bin/apxs... // for compilation. You can use the -- help parameter to view available options.
Make
Make install // install

At this time, the. So file for connecting resin to apache2 has been generated, and it exists with $ apache2_home/modules/mod_caucho.so

Modify CONF/httpd. conf for HTTP configuration
Loadmodule caucho_modules modules/mod_caucho.so
Resinconfigserver localhost 6802.
<Location/Caucho-status>
Sethandler Caucho-status
</Location>

Modify $ resin_home/CONF/resin. conf
<Web-app id = '/' Document-directory = "/webapps/root"/>
Change webapps/root to the directory corresponding to the document root configuration file httpd. conf of Apache.

Start resin and Apache respectively

Visit http: // hostname/Caucho-status to view 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.