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
RewriteEngine On | |
RewriteMap lc int:tolower | |
RewriteCond %{HTTP_HOST} ^([^.]*)\.([^.]*)\.([^.]*)\.([^.]*)$ | |
RewriteRule ^.*$ - [R=404,L] | |
RewriteCond %{REQUEST_URI} \/icons\/.* | |
RewriteRule ^.*$ - [L] | |
RewriteCond %{HTTP_HOST} ^([^.]*)\.([^.]*)\.([^.]*)$ |
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
<?php | |
namespace App\Http\Middleware; | |
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; | |
class VerifyCsrfToken extends Middleware | |
{ | |
/** | |
* Indicates whether the XSRF-TOKEN cookie should be set on the response. |
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
Country Code | State | ZipCode | City | Rate % | Tax Name | Priority | Compound | Shipping | Tax Class | |
---|---|---|---|---|---|---|---|---|---|---|
US | WA | 98001 | KING COUNTY | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98002 | AUBURN (KING CO) | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98003 | FEDERAL WAY | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98004 | BELLEVUE | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98005 | BELLEVUE | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98006 | BELLEVUE | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98007 | BELLEVUE | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98008 | BELLEVUE | 10 | US Sales Tax | 1 | 1 | 1 | ||
US | WA | 98009 | BELLEVUE | 10 | US Sales Tax | 1 | 1 | 1 |
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
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name yourdomain | |
ssl_certificate /etc/ssl/localcerts/yourdomain.crt; | |
ssl_certificate_key /etc/ssl/localcerts/yourdomain.key; | |
ssl_ecdh_curve prime256v1; | |
ssl_session_cache builtin:1000 shared:SSL:10m; |
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
# Append to apache2.conf | |
# Dont forget to repalce [user] [password] [dbname] with you own info | |
# ref: https://httpd.apache.org/docs/2.4/mod/mod_dbd.html | |
# ref: https://httpd.apache.org/docs/2.4/mod/mod_authn_dbd.html | |
<IfModule mod_authn_dbd.c> | |
DBDriver mysql | |
DBDParams host=localhost,port=3306,user=apache,pass=apache,dbname=auth | |
DBDMin 2 | |
DBDKeep 8 |