Linux and Solaris build Apache virtual root environment (1)

Source: Internet
Author: User
Tags contains linux

"Guide" to install a virtual root on Linux on the environment of the Apache directory tree is quite simple. This example uses the red Hat 6.* and the Apache 1.3.12. It also contains the PHP4 (as an Apache module) and the installation of PERL5 on the directory tree where the virtual root is being virtualized. In addition, MOD-SSL and Mod-perl are installed.

Introduced

I have used the CERN httpd to install and use a Web server in a virtual root environment. Creating a virtual root environment for a Web server has a variety of advantages and disadvantages. In the early stages of web development, this technology also provides additional valuable security mechanisms. But in this Apache field, the technology doesn't seem to be much use, but it's still interesting.

I provide an example of an installation of Apache in a Linux and soloris environment that can be used either as a standard edit (marked as non-dso when necessary) or as a dynamic shared Object Editor (it will be marked as DSO if necessary). The Solaris example for DSO is not documented, so I didn't test it (I intend to use Solaris 8 for testing).

It is quite simple to install a virtual root-environment Apache tree on Linux. This example uses the red Hat 6.* and the Apache 1.3.12. It also contains the PHP4 (as an Apache module) and the installation of PERL5 on the directory tree where the virtual root is being virtualized. In addition, MOD-SSL and Mod-perl are installed.

This example also assumes that red Hat installation is more complete (that is, there are enough files, libraries, and development tools). Note that if you install Red Hat with the custom (prefered) configuration and choose the development option, or if you are using the server configuration, you will have a full development environment.

MYSQL3.22.27 is not installed in the virtual root environment directory tree, but we include it here for completeness.

Statement

I'm not an expert: I'm more limited in terms of encryption (OpenSSL, Mod-ssl and Company). I am also an ordinary person and make mistakes, so if you find anything or have any constructive opinions, please let me know.



Related Article

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.