Created
January 25, 2012 23:38
-
-
Save fabiofabbrucci/1679695 to your computer and use it in GitHub Desktop.
Vhost e .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
CustomLog /var/www/vhosts/www.abmundi.com/logs/www.abmundi.com-access_log combined | |
DocumentRoot /var/www/vhosts/www.abmundi.com/httpdocs/current/web/ | |
ServerName www.abmundi.com | |
ServerAlias abmundi.com www.abmundi.com | |
### sgcontrol.custom.config.start | |
DirectoryIndex app.php | |
ErrorLog /var/www/vhosts/www.abmundi.com/logs/error | |
### sgcontrol.custom.config.end | |
</VirtualHost> | |
------------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ app.php [QSA,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<VirtualHost *:80>
ServerAdmin fabio.fabbrucci@gmail.com
ServerName abmundi
DocumentRoot /var/www/ABMundi/web/
DirectoryIndex app_dev.php index.php index.html