Install and configure mod_rewrite for Apache 2 on Mac OS X for Zend Framework 2

前端 未结 8 948
不思量自难忘°
不思量自难忘° 2020-12-13 09:16

I getting started with zend framework 2 and they have a prerequisite of an installation and configuration of mod_rewrite for apache. Apache 2.2.22 came pre-installed on Mac

8条回答
  •  借酒劲吻你
    2020-12-13 09:43

    Add this to http-vhosts.conf file

    
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      Allow from all
    
    

    Don't forget to reload your apache using this commande

    sudo apachectl restart
    

    Good luck

提交回复
热议问题