Created
February 13, 2017 00:30
-
-
Save Michaela-Davis/fb450e8463ce13e96d986475152cbadc to your computer and use it in GitHub Desktop.
Heroku Deploy
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
<IfModule mod_rewrite.c> | |
Options -MultiViews | |
RewriteEngine On | |
#RewriteBase /path/to/app | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.php [QSA,L] | |
</IfModule> |
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
{ | |
"name": "silex-heroku-project-name", | |
"require": { | |
"php": ">=5.3.0", | |
"silex/silex": "~1.0@dev" | |
}, | |
"extra": { | |
"heroku": { | |
"document-root": "web", | |
"index-document": "index.php" | |
} | |
} | |
} |
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
web: vendor/bin/heroku-php-apache2 web/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment