Bonjour,
Je travail avec Zend Core sur i5/OS, la configuration est relativement identique à un apache php normal...
J'ai une partie apache qui définit une zone SSL :
Code :
- # Configuration originally created by Create HTTP Server wizard on Tue Apr 11 01:53:18 CDT 2006
- LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM
- LoadModule proxy_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
- LoadModule proxy_http_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
- LoadModule proxy_connect_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
- LoadModule proxy_ftp_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM
- Listen *:89
- Listen *:443
- DocumentRoot /www/zendcore/htdocs
- Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNoExec -Indexes -MultiViews
- AccessFileName .htaccess
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%{Cookie}n \"%r\" %t" cookie
- LogFormat "%{User-agent}i" agent
- LogFormat "%{Referer}i -> %U" referer
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
- CustomLog logs/access_log combined
- SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
- SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0
- SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
- SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
- SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
- SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
- ProxyPass / http://127.0.0.1:8000/
- ProxyPassReverse / http://127.0.0.1:8000/
- DirectoryIndex index.html index.php
- SSLEngine On
- SSLAppName ZENDCORE_SSL
- <Directory />
- Order Deny,Allow
- Deny From all
- </Directory>
- <Directory /www/zendcore/htdocs>
- Order Allow,Deny
- Allow From all
- </Directory>
- <VirtualHost *:443>
- </VirtualHost>
|
et le code de mon index.php est :
Code :
- include "/configuration/param.inc.php";
- //echo $site;
- header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
- header("Last-Modified: " . gmdate("D, d M Y H:i:s" ) . " GMT" );
- header("Cache-Control: no-cache, must-revalidate" );
- header("Pragma: no-cache" );
- header("Edge-control: max-age=0s" );
- eval("include \"\$INCLUDE_".$site."/header.php\";" );
- print '<link href="'.$STYLE_GENERAL.'/style_connexion'.$titre.'.css" rel="stylesheet" type="text/css">';
- print '<table width="100%" height="100%" border="0" cellapadding="0" cellspacing="0">';
- print '<tr><td algin="center" valign="top"> </td></tr>';
- print '<tr><td algin="center" valign="top">';
- include "$PAGE_CONNEXION/login.php";
- print '</td></tr>';
- print '</table>';
- eval("include \"\$INCLUDE_".$site."/bottom.php\";" );
|
quand j'affiche la page, seul le tableau apparait les includes ne marche pas, dans erreur log il me met que la page est introuvable...
J'ai tout essayé, rien ne marche...
J'ai remplacé include "/configuration/param.inc.php"; par
Code :
- include "/www/zendcore/htdocs/configuration/param.inc.php";
|
Code :
- include "./configuration/param.inc.php";
|
Code :
- include $_SERVER['DOCUMENT_ROOT']."/configuration/param.inc.php";
|
rien ne marche, y a-t-il quelque chose à configurer dans le serveur apache ou php.ini pour que cela marche....