Table des matières

WAMP

Liens

Name Url
apache httpd.apache.org
php php.net
mysql mysql.com
phpmyadmin phpmyadmin.net
ActivePerl activestate.com
Subversion subversion.tigris.org
AWstats awstats.sourceforge.net
Openssl/mod_ssl hunter.campbus.com

Apache

httpd.conf

PHP and Apache 2.0 as Module

# For PHP 4 do something like this:
LoadModule php4_module "c:/php/php4apache2.dll"
# Don't forget to copy the php4apache2.dll file from the sapi directory!
AddType application/x-httpd-php .php

# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

custom php settings

PHPIniDir "D:\wwwserver\php"
php_flag register_globals On
php_flag allow_call_time_pass_reference On
php_flag register_long_arrays On

SSL

1. Setting Up OpenSSL

Copy openssl.cnf into the same folder where you unzipped OpenSSL. Copy the files ssleay32.dll and libeay32.dll from the OpenSSL folder to WINNT\System32 Copy ssl.conf in the Apache2/conf directory

2. Creating a test certificate

openssl req -config openssl.cnf -new -out my-server.csr
openssl rsa -in privkey.pem -out my-server.key
openssl x509 -in my-server.csr -out my-server.cert -req -signkey my-server.key -days 365

Create a directory in the Apache folder name Apache2/conf/ssl and move my-server.key and my-server.cert into it.

3. Configuring Apache and mod_ssl

Open the httpd.conf file and locate the LoadModule directives. Add

LoadModule ssl_module modules/mod_ssl.so

After </IfModule> add

SSLMutex default
SSLRandomSeed startup builtin
SSLSessionCache none

In the VirtualHost directives add

<VirtualHost www.my-domain.com:443>
SSLEngine On
SSLCertificateFile conf/ssl/my-server.cert
SSLCertificateKeyFile conf/ssl/my-server.key
</VirtualHost>

Open the ssl.conf file and set the correct www.my-domain.com and DocumentRoot.

3/reseaux_et_telecommunications/wamp.txt · Dernière modification: d-m-Y H:i de boris
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0 Fristcher.ch