daylerees / laravel-website-configs Goto Github PK
View Code? Open in Web Editor NEWWebserver configuration files for Laravel 4.
Webserver configuration files for Laravel 4.
Instead of excluding files from the rewrite with regexes you could also use url.rewrite-if-not-file
instead of url.rewrite-once
.
For example:
$HTTP["host"] =~ "my-domain.com$" {
server.document-root = "/var/www/my-domain.com/public/"
accesslog.filename = "/var/www/my-domain.com/app/storage/logs/lighttpd-access.log"
alias.url = ()
url.redirect = ()
url.rewrite-if-not-file = (
"^/[^\?]*(\?.*)?$" => "index.php/$1"
)
}
Thanks
I just did a fresh install of Laravel 4 and tried to push to Pagodabox using the provided Boxfile. But I keep on getting this error:
:: php artisan migrate:install
---------------------------------------- OUTPUT:
-
- Warning: require(/var/www/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/bootstrap/autoload.php on line 17
Any clue what might cause that?
/cc @msurguy
Hi, why do we need fastcgi_split_path_info ^(.+\.php)(.*)$;
in nginx.conf ?
Location is ~* \.php$
- there will never be anything after .php .
Hello,
I don't know if it's the place to ask such a question, but how should I set up my nginx configuration if I want the following:
root folder
index.html
-- laravel_app1
-- laravel_app2
I'm a bit lost, and I haven't been able to find anything to help me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.