<VirtualHost *:80>
ServerAdmin admin@localhost
ServerName place-search.dev
DocumentRoot /var/www/PlaceSearchApi/web
<Directory /var/www/PlaceSearchApi/web>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</IfModule>
</Directory>
ErrorLog /var/log/place-search.dev.error.log
CustomLog /var/log/place-search.dev.access.log combined
</VirtualHost>
|