<VirtualHost *:80>
ServerName podcastfeed
DocumentRoot "/home/pierre/public_html/podcastfeed/web"
DirectoryIndex index.php
Alias /sf /usr/share/php/data/symfony/web/sf
<Directory "/home/pierre/public_html/podcastfeed/web">
Options +FollowSymLinks +ExecCGI
AllowOverride All
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteOptions inherit
</IfModule>
# we skip all files with .something
RewriteCond %{REQUEST_URI} \..+$
RewriteRule .* - [L]
# we check if the .html version is here (caching)
#RewriteRule ^$ index.html [QSA]
#RewriteRule ^([^.]+)$ $1.html [QSA]
#RewriteCond %{REQUEST_FILENAME} !-f
# if no rule matched the url, we redirect to our front web controller
#RewriteRule ^(.*)$ index.php [QSA,L]
# big crash from our front web controller
#ErrorDocument 500 "<h2>Application error</h2>Symfony application failed to start properly"
</VirtualHost>