summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Apache/virtualhosts/virtualhost-simple.conf22
-rwxr-xr-xBash/ansi-color-output.sh16
2 files changed, 18 insertions, 20 deletions
diff --git a/Apache/virtualhosts/virtualhost-simple.conf b/Apache/virtualhosts/virtualhost-simple.conf
index a3ec987..95326ea 100644
--- a/Apache/virtualhosts/virtualhost-simple.conf
+++ b/Apache/virtualhosts/virtualhost-simple.conf
@@ -2,7 +2,7 @@
# domainname.tld:80
#===============================================================================
<VirtualHost *:80>
- DocumentRoot "/var/www/domainname.tld/"
+ DocumentRoot /var/www/domainname.tld/
ServerName domainname.tld
<Directory /var/www/domainname.tld/>
@@ -14,17 +14,15 @@
# domainname.tld:443
#===============================================================================
<VirtualHost *:443>
- <IfModule mod_ssl.c>
- DocumentRoot "/var/www/domainname.tld/"
- ServerName domainname.tld
+ DocumentRoot /var/www/domainname.tld/
+ ServerName domainname.tld
- SSLEngine on
- SSLCertificateFile /var/certificates/domainname.tld/certificate.pem
- SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem
- SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem
+ SSLEngine on
+ SSLCertificateFile /var/certificates/domainname.tld/certificate.pem
+ SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem
+ SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem
- <Directory /var/www/domainname.tld/>
- # Something
- </Directory>
- </IfModule>
+ <Directory /var/www/domainname.tld/>
+ # Something
+ </Directory>
</VirtualHost> \ No newline at end of file
diff --git a/Bash/ansi-color-output.sh b/Bash/ansi-color-output.sh
index 1bcff7c..40fe291 100755
--- a/Bash/ansi-color-output.sh
+++ b/Bash/ansi-color-output.sh
@@ -27,14 +27,14 @@
function color() {
case $1 in
- 030)(printf '\033[0;30m%s\033[0m' $2);;130)(printf '\033[1;30m%s\033[0m' $2);;
- 031)(printf '\033[0;31m%s\033[0m' $2);;131)(printf '\033[1;31m%s\033[0m' $2);;
- 032)(printf '\033[0;32m%s\033[0m' $2);;132)(printf '\033[1;32m%s\033[0m' $2);;
- 033)(printf '\033[0;33m%s\033[0m' $2);;133)(printf '\033[1;33m%s\033[0m' $2);;
- 034)(printf '\033[0;34m%s\033[0m' $2);;134)(printf '\033[1;34m%s\033[0m' $2);;
- 035)(printf '\033[0;35m%s\033[0m' $2);;135)(printf '\033[1;35m%s\033[0m' $2);;
- 036)(printf '\033[0;36m%s\033[0m' $2);;136)(printf '\033[1;36m%s\033[0m' $2);;
- 037)(printf '\033[0;37m%s\033[0m' $2);;137)(printf '\033[1;37m%s\033[0m' $2);;
+ 030)(printf '\033[0;30m%s\033[0m' "$2");;130)(printf '\033[1;30m%s\033[0m' "$2");;
+ 031)(printf '\033[0;31m%s\033[0m' "$2");;131)(printf '\033[1;31m%s\033[0m' "$2");;
+ 032)(printf '\033[0;32m%s\033[0m' "$2");;132)(printf '\033[1;32m%s\033[0m' "$2");;
+ 033)(printf '\033[0;33m%s\033[0m' "$2");;133)(printf '\033[1;33m%s\033[0m' "$2");;
+ 034)(printf '\033[0;34m%s\033[0m' "$2");;134)(printf '\033[1;34m%s\033[0m' "$2");;
+ 035)(printf '\033[0;35m%s\033[0m' "$2");;135)(printf '\033[1;35m%s\033[0m' "$2");;
+ 036)(printf '\033[0;36m%s\033[0m' "$2");;136)(printf '\033[1;36m%s\033[0m' "$2");;
+ 037)(printf '\033[0;37m%s\033[0m' "$2");;137)(printf '\033[1;37m%s\033[0m' "$2");;
esac
}