PDA

View Full Version : Apache +debian and all modules


mopsos
9th February 2007, 09:25
Hy,

I have a problem. I want install apache and a few modules :


core
http_core
mod_actions
mod_alias
mod_apreq2
mod_asis
mod_auth_basic
mod_auth_digest
mod_authn_anon
mod_authn_dbm
mod_authn_default
mod_authn_file
mod_authz_dbm
mod_authz_default
mod_authz_groupfile
mod_authz_host
mod_authz_owner
mod_authz_user
mod_autoindex
mod_bucketeer
mod_cache
mod_case_filter
mod_case_filter_in
mod_cern_meta
mod_cgi
mod_cgid
mod_charset_lite
mod_dav
mod_dav_fs
mod_deflate
mod_dir
mod_disk_cache
mod_dumpio
mod_echo
mod_env
mod_expires
mod_ext_filter
mod_file_cache
mod_filter
mod_headers
mod_ident
mod_imagemap
mod_include
mod_info
mod_log_config
mod_logio
mod_mem_cache
mod_mime
mod_mime_magic
mod_negotiation
mod_perl
mod_php5
mod_proxy
mod_proxy_ajp
mod_proxy_balancer
mod_proxy_connect
mod_proxy_ftp
mod_proxy_http
mod_rewrite
mod_setenvif
mod_so
mod_speling
mod_ssl
mod_status
mod_suexec
mod_unique_id
mod_userdir
mod_usertrack
util_ldap
mod_vhost_alias
prefork


For this, I do that :

1.1 Pre requis

Gcc, make, libc6, libc6-dev, zlib1g, zlib1g-dev
1.2 Installation d’apache

Extraction d’apache:
· gunzip nomdufichier.tar.gz
· tar –xf nomdufichier.tar

Installation d’apache2 de base (ce placer dans le répertoire nomdufichier)
· crer me repêrtoire ou vous voulez l’installer (je prendrai ici /etc/apache2) mkdir/etc/apache2
· ./configure --prefix=/etc/apache2 --with-layout=apache --enable-so --enable-mods-shared=all
1.3 Rajout de modules

./configure --prefix=/etc/apache2 –enable-module=shared
Make install

But I have a lot of problem with this howto.
Can you say me A howto for install apache and those modules.

Thanks.

till
9th February 2007, 12:09
One question, why do you want to compile apache manually instead of using the debian packages?

mopsos
9th February 2007, 20:06
Hi,
I don't know install all modules with apt-get install. Those don't exist on a debian-sarge. Or I don't understand something about the install apache and modules.
thx

falko
10th February 2007, 20:16
But I have a lot of problem with this howto.

What problems do you have?

mopsos
12th February 2007, 00:04
I must reinstall apache for each modules.
If i install a module. Apache has said me : " I built in mais can't load.
Also I must reinstall apache.

I think this howto it's very complex and not really "normalized .
Can I give me a real howto to install apache and all modules I want?

Thx.

martinfst
12th February 2007, 08:22
A lot of the Apache2 modules are normally already installed and only need to be enabled. Have you tried a2enmod? I agree with Till and Falko that you have not described your problem very clearly for us, so it's a bit hard to help you with pointers to the right information. Can you please explain the nature of your problems and what you want to achieve?

mopsos
12th February 2007, 20:08
if I install apache2 with the package debian how can i install all the modules i need??( there are only few modules installed)

if I install apache2 manually, how can i activate mod_ssl and mod_perl ( i have one pb , apache2 doesnt find the .h files for mod_ssl)


thx !!

martinfst
12th February 2007, 21:25
The default Debian install will already install all modules. You only have to enable them with a2enmod. Did you try that?

If you go for the manual route, you need to install the OpenSSL development package before trying to compile. That dev package will contain the required .h files.

mopsos
12th February 2007, 22:37
I format my server and reinstall apache with apt-get install and perl and php5.

But when I do a2enmod, I don't have all modules I want but just :


actions asis auth_anon auth_dbm auth_digest auth_ldap cache ce rn_meta cgid cgi dav_fs dav deflate disk_cache expires ext_filter file_cache hea ders imap include info ldap mem_cache mime_magic perl php5 proxy_connect proxy_ftp proxy_http proxy rewrite speling ssl suexec unique_id userdir usertrack vhost _alias


With a manual install of apache.
for ssl, i've already install openssl but apache doesn't know where he has to find them ( that the pb I think)

martinfst
13th February 2007, 09:55
.....proxy rewrite speling ssl suexec unique_id userdir.....
Still, the 'ssl' module is in the list your showed us. :confused:
I don't understand what you trying to ask. Sorry.