部署cakephp工程到apache

LoadModule rewrite_module modules/mod_rewrite.so 

 

<VirtualHost 127.0.0.4:80> 
   ServerAdmin admin@system 
   DocumentRoot “D:/www/phptest/app/webroot” 
   ServerName 127.0.0.4 
    
   ErrorLog logs/cakephptest-error_log 
   CustomLog logs/cakephptest-access_log common
  
   LogLevel debug
  
    <IfModule dir_module>
    DirectoryIndex index.php
    </IfModule>
  
    <Directory />
      Options indexes
      AllowOverride All
      #Order deny,allow
      #Allow from all
 </Directory>
 
 <Directory “D:/www/phptest/app/webroot/”>
     Options FollowSymLinks
     AllowOverride All
     #Order deny,allow
     #Allow from all
 </Directory>
</VirtualHost>

版权所有,禁止转载. 如需转载,请先征得博主的同意,并且表明文章出处,否则按侵权处理.

    分享到:

1 thought on “部署cakephp工程到apache

Leave a Reply

Your email address will not be published. Required fields are marked *