Files
spa-api/public/.htaccess

23 lines
792 B
ApacheConf
Raw Normal View History

# Apache configuration file
# http://httpd.apache.org/docs/2.2/mod/quickreference.html
# Note: ".htaccess" files are an overhead for each request. This logic should
# be placed in your Apache config whenever possible.
# http://httpd.apache.org/docs/2.2/howto/htaccess.html
# Turning on the rewrite engine is necessary for the following rules and
# features. "+FollowSymLinks" must be enabled for this to work symbolically.
2011-08-03 22:15:08 -05:00
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
</IfModule>
2011-08-03 22:15:08 -05:00
# For all files not found in the file system, reroute the request to the
# "index.php" front controller, keeping the query string intact
2011-08-03 22:15:08 -05:00
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
2011-08-03 22:15:08 -05:00
</IfModule>