Jump to content

.htaccess not working


manjularcfi

Recommended Posts

Hi all,

 

I was learning from Jon Lebensold video tutorials at

 

 

There is a source code for the example"Article Manager". The .htaccess file (path relative to unzipped example :-- setting-up-mvc-zend-downloads\ArticleManager\html) in the example is not working for me. I am working with WAMP on Windows. I am new to Zend and I am going to do a project with Zend.Any help highly appreciated.

 

Thanks

Manjula

Link to comment
Share on other sites

.htaccess file is this

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1

 

My virtual host is testZend.com. The .htaccess file is supposed to redirect any thin like testZend.com/test to index.php. It means when I type testZend.com browser goes to html/index.php. If I type testZend.com/test it also should go to html/index.php. This is essential for proper loading of Zend. I am in a harry to start the project. Client want project as soon as possible. But I am stuck here.

 

Thank you

Manjula

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...