J'essaie de configurer Zend Server CE en suivant les instructions du livre "Pro Zend Framework Techniques - Construire un projet CMS complet".Erreur lors de la configuration du serveur Zend
Le livre m'a fais ce qui suit:
Alter httpd.conf de:
DocumentRoot "C:\Program Files\Zend\Apache2/htdocs"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
à:
DocumentRoot "C:/Program Files/Zend/Apache2/htdocs/rlms/public"
<Directory "C:\Program Files\Zend\Apache2\htdocs\rlms">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
J'ai aussi changé en application.ini:
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
à:
resources.frontController.controllerDirectory = APPLICATION_PATH "/layouts/scripts"
Y at-il un problème avec mes barres obliques inverses et/ou les barres obliques? Sur va http://localhost et http://localhost/rlms/public, je reçois la trace de pile suivant:
erreur irrécupérable: exception Uncaught 'Zend_Controller_Dispatcher_Exception' avec le message 'unité de commande non valide spécifiée (erreur)' dans C: \ Program Files \ Zend \ ZendServer \ share \ ZendFramework \ Bibliothèque \ Zend \ Controller \ Dispatcher \ Standard.php: 242 Trace de pile: # 0 C: \ Program Files \ Zend \ ZendServer \ part \ ZendFramework \ bibliothèque \ Zend \ Controller \ Front.php (946): Zend_Controller_Dispatcher_Standard-> dispatch (Objet (Zend_Controller_Request_Http), Objet (Zend_Controller_Response_Http)) # 1 C: \ Program Files \ Zend \ ZendServer \ part \ ZendFramework \ bibliothèque \ Zend \ Application \ Bootstrap \ Bootstrap.php (77): Zend_Controller_Front-> dispatch() # 2 C: \ Program Files \ Zend \ ZendServer \ part \ ZendFramework \ bibliothèque \ Zend \ Application.php (358): Zend_Application_Bootstrap_Bootstrap-> run() # 3 C: \ Program Files \ Ze nd \ Apache2 \ htdocs \ rlms \ public \ index.php (26): Zend_Application-> run() # 4 {main} lancé dans C: \ Program Files \ Zend \ ZendServer \ part \ ZendFramework \ bibliothèque \ Zend \ Contrôleur \ Dispatcher \ Standard.php à la ligne 242
... des idées? Merci!