Move apache installation to the jailed location.
mv /opt/apache20 /opt/apache20/opt/apache_2.0.53
Create a symbolic link from the old location to the new one
to allow the web server to be used with or without being jailed
as needed and allows for easy web server upgrades.
ln -s /opt/apache20/opt/apache_2.0.53 /opt/apache20
Like other programs, Apache depends on many shared libraries.
The ldd tool gives their names (this ldd output comes from an
Apache that has all default modules built-in statically):
ldd /opt/apache20/opt/apache_2.0.53/bin/httpd
No comments