If not using WordPress you may need to create your own .htaccess file for this.
So how do you forward?
Create a new .htaccess file and enter the following content:
Continue reading .htaccess to enforce https without www.
We all have to save some. It starts with the realisation what you are actually using energy for… continue to read some facts/indications in Dutch:
1 standaard kubieke meter gas (m3(n)) heeft een bovenwaarde van 35,17 MJ
1 kWh electriciteit heeft een energie inhoud van 3,6 MJ.
1 m3(n) gas komt overeen met 35,17 MJ/3,6 MJ = 9,769 kWh electriciteit
Met 1 kWh kunt u ongeveer…
20 maaltijden in de magnetron opwarmen,
4 avonden tv kijken,
30 uur uw koelkast laten koelen en vriezen,
15 cd’s luisteren.
Met 1 kubieke meter gas kunt u ongeveer…
1 uur uw huis warm stoken in de winter,
3 keer douchen – of 5 keer met een spaardouche,
1 keer in bad,
6 hele maaltijden koken,
50 keer handenwassen.
So how to save some energy?
Wear something warm and read a book by candlelight!
Access to /app/etc/local.xml is not so desired since it contains your db login.
However IIS does ignore .htaccess, so you need to change the local web.config file. Continue reading Magento security on IIS
Centering things in CSS is the poster child of CSS complaining. Why does it have to be so hard? They jeer. I think the issue isn’t that it’s difficult to do, but in that there so many different ways of doing it, depending on the situation, it’s hard to know which to reach for.
So let’s make it a decision tree and hopefully make it easier. Continue reading center
… does not exist
However it did take some of my time to figure this one out as the response code was really in my webserver logfiles and as usual… I was not the first to run into this problem, see: https://stackoverflow.com/questions/46266553/why-laravel-api-return-419-status-code-on-post-and-put-method
You get a 419 status code, if an (external) script tries to post to your Laravel application, without the o-so-needed CSRF token.
First option is to change in App\Http\Middleware\VerifyCsrfToken:
protected $except = [ ‘/*’, ];
(or maybe something more specific and a little more safe, like ‘/myapiurl/*’,)
Second option is to put the route in api.php instead of web.php, but that implies prefixing all your routes with /api/
… your choice!
Continue reading The Power Of TWO
php and getcomposer Continue reading Laravel on IIS
Getting rid of this annoying bright red ugly icon is “simple” ….
Use regedit and add:
iOS apps now need to be 64-bit, so 1 old app, created in 2014 and never updated since, needs to be updated… latest version will be Phonegap 7.0.1
change the config.xml to the new compiler-version
upload to Phonegap Build to compile and ERROR Continue reading Phonegap again
The following guide will walk you through flushing your DNS Cache. Every time you venture onto the Internet, DNS resolutions are being made and your computer stores many of them. Caching these resolutions can speed up your web activities because your computer no longer has to ask another computer where something is located.
Eventually, there will come a time when a bad entry is stored. There are generally two ways to remove these entries. First is to allow 24 hours to pass. During this time your computer will seek out and make the necessary DNS updates. Second is to flush your DNS cache.
- The first step to flushing your DNS is to open your “Windows Command” prompt.
- Click “Start” and type the word “Command” in the Start search field.
- Right-click the command prompt icon and select the option to “Run as Administrator”.
- In the open prompt, type “ipconfig /flushdns” (without the quotes).
You should receive a message of your success as confirmation when the cache is cleared.
Flushing the cache removes all the information stored within the cache, forcing the computer to find new DNS information.