Home mod_rewrite configuration fails to route to the PHP file that runs Zend Expressive
Reply: 1

mod_rewrite configuration fails to route to the PHP file that runs Zend Expressive

Dennis
1#
Dennis Published in 2017-11-14 00:00:46Z

I am trying to set up Zend Expressive and following this tutorial: https://zend-expressive.readthedocs.io/en/latest/cookbook/using-a-base-path/

It appears to me that my mod_rewrite directives are not being honored.
How can I ensure that Apache honors directives in my .htaccess file?

Dennis
2#
Dennis Reply to 2017-11-14 20:00:14Z

Adding this to Apache configuration file and restarting apache service seems to be making it work:

<Directory /var/www/html>
   AllowOverride All
   Require all granted
</Directory>
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.363771 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO