"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.