All,
I am just trying to view any page at all besides the “Welcome to Zend Framework” screen.
I have downloaded the project from this tutorial: http://framework.zend.com/docs/quickstart/create-a-form (Zend Framework Quickstart)
As far as I can tell, the paths are coming up correctly. I read this post: http://www.johnmee.com/2008/11/zend-framework-quickstart-tutorial-deploy-to-a-subdirectory-instead-of-web-root/ I think it may be a bit dated, as the bootstrap code is not as he describes.
Does anyone have any ideas? I would think that the tutorial download from Zend should work out of the box.
Summary: http://localhost/ZendFrameworkQuickstart/public/ Displays: Zend welcome page
http://localhost/ZendFrameworkQuickstart/public/guestbook Displays: 404
Thanks!
UPDATE Physical path of the “public” directory: C:\Zend\Apache2\htdocs\ZendFrameworkQuickstart\public
URL I’m hitting from the browser: http://localhost/ZendFrameworkQuickstart/public/guestbook
.htaccess Contents:
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /ZendFrameworkQuickstart/Public/index.php [NC,L]
UPDATE: Changed lines in files
.htaccess RewriteRule ^.*$ /ZendFrameworkQuickstart/public/index.php [NC,L]
application.ini resources.frontController.baseUrl = "/ZendFrameworkQuickstart/public"
public/index.php error_reporting( E_ALL | E_STRICT ); ini_set( 'display_errors', 1 );