Apache upgrade + customization

oburlaca

New Member
I have tons of questions regarding Apache :) I'll post one per message

1st question:
In Power Panel I went to Container Management / Packages and searched for httpd, I found "httpd 2.2.3-11.el5_1.centos.3" with an Up-to-date status.

The latest version is Apache 2.2.9. Where/how to upgrade?
 
2nd question

I see that by default apache loads mod_perl, libphp5, mod_proxy_ajp and mod_python.

I want to disable all these modules in order to have a lighter apache. Which is the correct way? I can just remove the corresponding files from /conf.d folder and make a apachectl restart.

Broadly speaking, can I adjust the Apache config myself and what is the right way to do this?
 
3rd question

This question is related to the second one.
I've just added a domain and Plesk created the hosting config for the website.

looking at /var/www/vhosts/mydomain.com/conf/httpd.include I see
"DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /var/www/vhosts/mydomain.com/conf/vhost.conf
"

hmm, I don't see an Include vhost.conf in this file, maybe I'm missing something, but at which point this file is loaded?

And the main question: I'd like to have my own config file with vhosts and don't need the Plesk interface to configure it. I assume I can just Include it after the line
Include /var/www/vhosts/mydomain.com/conf/httpd.include
in /conf.d/zz010_psa_httpd.conf for ex.

It means that I can only add the domains from Plesk and the apache conf for them to create manually?
 
Top