Advertisement
wingman007

vhost Apache configuration ZF2 project

Mar 31st, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Vhost for ZF2
  2. Listen 10128
  3. <VirtualHost *:10128>
  4.     DocumentRoot "D:\zf2project\public"
  5.     <Directory "D:\zf2project\public">
  6. #       SetEnv ZF2_PATH "/pathtozf2lib/zendframework/library"
  7.         SetEnv APPLICATION_ENV development
  8.         # You have to use Junction on Win XP or mklink to create a symbolic link and add a link to assests
  9.         Options Indexes FollowSymLinks MultiViews
  10.         Order allow,deny
  11.         Allow from all
  12.         AllowOverride all
  13.         # For some Apache versions
  14. #       Require all granted
  15.   </Directory>
  16. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement