Reputation: 4108
I am using zend application I just re-installed my WAMP for some reason and the existing application which run in my wamp is not running.
I installed WAMP 2.1. My ZEND Folders are as follows
-application
-design
-public
--index.php
--.htaccess
-library
-- Zend
And My .htaccess
has the following
Options FollowSymLinks MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
When I check the file root:
http://localhost/project/
-application
-design
-library
-- Zend
I didnt see the public folder in that path, when I remove the .htaccess I can see the folders.
How can I resolve the issue? do I want to add any extension to my wamp? I checked the .Htaccess Its the same as before.
Upvotes: 1
Views: 1470
Reputation: 11853
just click on wamp icon and open apache/httpd.conf and search "rewrite_module". Remove # as below and save it
LoadModule rewrite_module modules/mod_rewrite.so
And after restart all service again
might be solve your issue
Upvotes: 2