Skip to content

Instantly share code, notes, and snippets.

@isidromerayo
Created January 21, 2013 13:04
Show Gist options
  • Save isidromerayo/4585887 to your computer and use it in GitHub Desktop.
Save isidromerayo/4585887 to your computer and use it in GitHub Desktop.
CentOS 5 run symfony into alias directory
# /var/www/demo_deploy/.htaccess
# enable symbolic links
Options +FollowSymLinks
# short_open_tag to off
php_flag short_open_tag Off
# /etc/httpd/conf.d/sf22beta.conf
Alias /sf22beta /var/www/demo_deploy/sf2.2beta/current/web
<Directory /var/www/demo_deploy/sf2.2beta/current/web/>
DirectoryIndex app.php index.php
# Options Indexes +FollowSymLinks
Options Indexes
AllowOverride All
Allow from All
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment