Bump! :-) _____
From: Robert Castley Sent: 12 June 2008 17:41 To: [email protected] Subject: [fw-general] Case issue in URL for base directory Hi All, In my Apache 2.2 directory my application directory is called Magik (note the capital M). When I call the URL http://localhost/Magik <http://localhost/Magik> all is fine and the application loads. However, if I call http://localhost/magik <http://localhost/magik> then I get the following: Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (magik)' in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ZendFramework\library\Zend\Controller\Dispatcher \Standard.php:249 Stack trace: #0 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ZendFramework\library\Zend\Controller\Front.php( 914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request _Http), Object(Zend_Controller_Response_Http)) #1 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\Magik\index.php(82): Zend_Controller_Front->dispatch() #2 {main} thrown in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ZendFramework\library\Zend\Controller\Dispatcher \Standard.php on line 249 I am running Apache 2.2 under Windows XP with PHP 5.2.5 and ZF 1.5.0. My .htaccess file contains: RewriteEngine on RewriteRule ^(cli|widgets|exports) - [L] RewriteRule !\.(js|ico|gif|jpg|png|css|xml|xslt|xsl|html|swf)$ index.php php_flag magic_quotes_gpc off php_flag register_globals off So, my question is how can I have Apache and ZF working together to allow case insensitivty in the initial URL? Best Regards, Robert W. Castley ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. ________________________________________________________________________ ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs Email Security Service and the Macro 4 plc internal virus protection system. ________________________________________________________________________
