Na razie próbuję postawić Zend'a lokalnie na Wampie.
Mam strukturę katalogów:
bootstrap-3.2.0-dist/ ... magisterka/ ... wordpress/ ... zf-tutorial/ .zfproject.xml application/ Bootstrap.php configs/ controllers/ models/ views/ docs/ library/ Zend/ public/ .htaccess index.php tests/ application/ bootstrap.php library/ phpunit.xml
Korzystam z Zend 1.12.7, projekt został wygenerowany przez skrypt, mod rewrite w Apache jest włączony.
Mój .htaccess wygląda następująco:
RewriteEngine On # The following rule tells Apache that if the requested filename # exists, simply serve it. RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # The following rewrites all other queries to index.php. The # condition ensures that if you are using Apache aliases to do # mass virtual hosting, the base path will be prepended to # allow proper resolution of the index.php file; it will work # in non-aliased environments as well, providing a safe, one-size # fits all solution. RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::$ RewriteRule ^(.*)$ - [E=BASE:%1] RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
Próbowałam już różnych wersji plików .htaccess z różnych tutoriali i forów, ale jak na razie nic nie działało poprawnie.
Po wpisaniu w przeglądarkę localhost/zf-tutorial pokazuje mi się tylko lista katalogów (index of).
Jak skonfigurować Zenda poprawnie?