首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

关于symfony 域名 apache资料的配置

2012-12-18 
关于symfony 域名 apache文件的配置在apache配置文件http.conf的结尾加入下面的代码,注意路径的不同Virtu

关于symfony 域名 apache文件的配置
在apache配置文件http.conf的结尾加入下面的代码,
注意路径的不同

<VirtualHost *:80>
  ServerName myapp.example.com
  DocumentRoot "/home/steve/myproject/web"
  DirectoryIndex index.php
  Alias /sf /$sf_symfony_data_dir/web/sf
  <Directory "/$sf_symfony_data_dir/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
  <Directory "/home/steve/myproject/web">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

热点排行