Skip to content

Instantly share code, notes, and snippets.

@svakhg
svakhg / SSLXampp.md
Created April 22, 2019 09:45 — forked from nguyenanhtu/SSLXampp.md
Guide to configure SSL in XAMPP for Windows

How to test 'https' in XAMPP for localhost ? I will guide you

Menu

  • Create certificate
  • Config Apache to access https instead of http
  • Config mod rewrite to generate SSL url
  • Config Virtual host to test site

Step 1 : Create certificate

  • Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder. In this, find & run batch file
# install git
sudo apt-get build-dep git-core -y
wget http://kernel.org/pub/software/scm/git/git-1.6.0.6.tar.gz
tar xvzf git-1.6.0.6.tar.gz
cd git-1.6.0.6
cd git-1.6.0.6 && ./configure
cd git-1.6.0.6 && make
cd git-1.6.0.6 && sudo make install
rm git-1.6.0.6.tar.gz
rm -Rf git-1.6.0.6
@svakhg
svakhg / AuthController.php
Created December 26, 2017 18:03 — forked from oxycoder/AuthController.php
Laravel 5.4 Customize Password Reset with DingoApi
<?php
use Illuminate\Support\Facades\Password;
use Illuminate\Contracts\Hashing\Hasher as HasherContract;
class AuthController extends BaseController
{
protected $hasher;
public function __construct(HasherContract $hasher)
{
$this->hasher = $hasher;