vhost.conf for linux mod_rewrite enabled

This commit is contained in:
FleischKarussel
2014-04-04 13:17:31 +02:00
parent faa9b95a6f
commit 729f94331f
+8 -5
View File
@@ -154,12 +154,15 @@ If you still run into a permissions error, you may need to increase the permissi
The document root for the app should be set to the public directory. In a standard Apache virtualhost setup, that might look something like this on a standard linux LAMP stack:
<VirtualHost *:80>
DocumentRoot /var/www/html/public
ServerName www.example.org
<VirtualHost *:80>
<Directory /var/www/html/public>
AllowOverride All
</Directory>
DocumentRoot /var/www/html/public
ServerName www.example.org
# Other directives here
</VirtualHost>
# Other directives here
</VirtualHost>
An OS X virtualhost setup could look more like: