# ThreadsPerChild: constant number of worker threads in the server process # MaxConnectionsPerChild: maximum number of requests a server process serves ThreadsPerChild 50 MaxConnectionsPerChild 0 # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # ServerRoot ".." # (2012/07/18) augmentation de la limite de l'URL (64Ko) LimitRequestLine 65536 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the # directive. Listen 127.0.0.1:42443 https SSLEngine on SSLCertificateFile ddc.pem SSLCertificateKeyFile ddc.key SSLVerifyClient none # TODO : Temporary Listen 127.0.0.1:42000 http RewriteEngine On RewriteRule (.*) https://127.0.0.1:42443$1 [P] SSLProxyEngine on SSLProxyCheckPeerCN off SSLProxyCheckPeerName off ProxyVia On # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule authz_core_module modules/mod_authz_core.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule ssl_module modules/mod_ssl.so # TODO : Temporary LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule rewrite_module modules/mod_rewrite.so # 'Main' server configuration # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin@your-domain.com # ServerAdmin @@ServerAdmin@@ ServerTokens ProductOnly # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName https://127.0.0.1:42443 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "../../web/html" #DDC : desactivation de la fonction AcceptEx AcceptFilter https none AcceptFilter http none EnableMMAP Off EnableSendfile Off # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # ErrorDocument 404 /notices/404/404.html # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Require all granted # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # DirectoryIndex index.html index.php # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Require all granted # # ErrorLog: The location of the error log file. ErrorLog ../../log/httpd_error.log # # LogLevel: Control the number of messages logged to the error_log. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t 000000 \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined #LogFormat "%h %l %u %t 000000 \"%r\" %>s %b" common LogFormat "%{%Y%m%d_%T}t_%{usec_frac}t [SERVER] : [info] \"%r\" : response code=[%s] - size=[%b] - execution time=[%{ms}T]" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t 000000 \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # CustomLog ../../log/httpd_access.log common SetEnvIfNoCase Request_URI "(/proxy/.*)" HTTP_RELAY_URI CustomLog ../../log/httpd_relay.log common env=HTTP_RELAY_URI # # DefaultType: the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType none # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # TypesConfig conf/mime.types # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types: # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # SSLRandomSeed startup builtin SSLRandomSeed connect builtin # Added by DDC Team # PHP configuration # ----------------- LoadModule php5_module "..\php\php5apache2_4.dll" AddType application/x-httpd-php .php .php5 AddType application/x-httpd-php-source .phps #[!] NE PAS reprendre la conf de la branche 3.xx.xx PHPIniDir "../php/" #include path en fonction de document root php_value include_path ".;..\;..\opt\pear;..\opt\lib\pear;..\opt\lib\psa;..\opt\lib\tufat\html2pdf;..\opt\lib\smarty\libs;..\opt\lib;..\opt\lib\zend\zip;..\..\;..\..\opt\pear;..\..\opt\lib\pear;..\..\opt\lib\psa;..\..\opt\lib\tufat\html2pdf;..\..\opt\lib\smarty\libs;..\..\opt\lib;..\..\opt\lib\zend\zip;..\..\..\;..\..\..\opt\pear;..\..\..\opt\lib\pear;..\..\..\opt\lib\psa;..\..\..\opt\lib\tufat\html2pdf;..\..\..\opt\lib\smarty\libs;..\..\..\opt\lib;..\..\..\opt\lib\zend\zip;..\..\..\..\;..\..\..\..\opt\pear;..\..\..\..\opt\lib\pear;..\..\..\..\opt\lib\psa;..\..\..\..\opt\lib\tufat\html2pdf;..\..\..\..\opt\lib\smarty\libs;..\..\..\..\opt\lib;..\..\..\..\opt\lib\zend\zip;..\..\..\..\..\;..\..\..\..\..\opt\pear;..\..\..\..\..\opt\lib\pear;..\..\..\..\..\opt\lib\psa;..\..\..\..\..\opt\lib\tufat\html2pdf;..\..\..\..\..\opt\lib\smarty\libs;..\..\..\..\..\opt\lib;..\..\..\..\..\opt\lib\zend\zip" # ---------------------------------------------------------------------- # MODULES DDC # ---------------------------------------------------------------------- # Modules nouvelle architecture LoadModule ddc_infoPds_module modules\ddc\mod_ddc_infoPds.so LoadModule ddc_SharedMem_module modules\ddc\mod_ddc_SharedMem.so LoadModule ddc_sso_module modules\ddc\mod_ddc_sso.so LoadModule ddc_messages_module modules\ddc\mod_ddc_messages.so LoadModule ddc_files_module modules\ddc\mod_ddc_files.so LoadModule ddc_dicoActiaInterface_module modules\ddc\mod_ddc_dicoActiaInterface.so LoadModule ddc_interface_module modules\ddc\mod_ddc_interface.so SetHandler ddc_interface_handler LoadModule ddc_proxy_module modules\ddc\mod_ddc_proxy.so SetHandler ddc-proxy-handler