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

前端 未结 8 947
不思量自难忘°
不思量自难忘° 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:52

    yosemite os x should be like this:

    
        ServerAdmin enzo@enzolutions.com
        DocumentRoot "/Users/enzo/www/drupal8"
    
        ServerName drupal8
    
        #ServerAlias www.dummy-host.example.com
        
            Require all granted
            Options Includes FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
        
    
        ErrorLog "/private/var/log/apache2/drupal8-error.log"
        CustomLog "/private/var/log/apache2/drupal8-access.log" common
    
    

    gotten from this blog post

提交回复
热议问题