Last active
August 29, 2015 14:03
-
-
Save eimkasp/f32039881fb3c997efb5 to your computer and use it in GitHub Desktop.
Appache httpd.conf example scriball
This file contains hidden or 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> | |
ServerName local.scriball.com | |
DocumentRoot /web/Scriball-FrontEnd/scriball/public | |
SetEnv APPLICATION_ENV dev2 | |
RewriteEngine on | |
<Directory /web/Scriball-FrontEnd/scriball/public> | |
Options Indexes IncludesNOEXEC FollowSymLinks -MultiViews | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
#For Laravel | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^ index.php [L] | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName local.blog.scriball.com | |
DocumentRoot /web/Scriball-FrontEnd/WordPress | |
SetEnv APPLICATION_ENV dev2 | |
RewriteEngine on | |
<Directory /web/Scriball-FrontEnd/WordPress> | |
Options Indexes IncludesNOEXEC FollowSymLinks -MultiViews | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
#For Laravel | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^ index.php [L] | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment