- https://myapp1.com => OK
- https://www.myapp1.com/ => OK
- http://myapp1.com/ => OK
- http://www.myapp1.com/ => OK
- https://mystaticsite.com => OK
#!/bin/bash | |
# Restrictive Iptables Based Firewall for Webserver script | |
# Copyright (C) 2012 Cédric Walter - www.waltercedric.com | |
# Credits to all various authors | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |
{ | |
// This build system will build your cs file to exe file and will run it | |
"cmd": ["del ${file/\\.cs/\\.exe/} 2>NUL", "& csc /nologo /out:${file/\\.cs/\\.exe/} $file", "& ${file/\\.cs/\\.exe/}"], | |
"file_regex": "^(...*?)[(]([0-9]*),([0-9]*)[)]", | |
// By default csc is not in your PATH, so add it to your path | |
// or uncomment "path" and check that it has correct value | |
//"path": "C:/Windows/Microsoft.NET/Framework64/v4.0.30319/", | |
"shell": true, // Without this sublime has hard times to parse "&" in out command line | |
"selector": "source.cs" | |
} |