Skip to content

Instantly share code, notes, and snippets.

@PatrikCoC
PatrikCoC / httpd.conf
Created December 5, 2016 21:30
apache config
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding
@PatrikCoC
PatrikCoC / httpd.conf
Created December 4, 2016 16:44
httpd
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding
@PatrikCoC
PatrikCoC / ssl.conf
Created December 4, 2016 16:44
the latest ssl
#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about these
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
@PatrikCoC
PatrikCoC / ssl.conf
Created December 4, 2016 16:35
ssl-new
#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about these
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
@PatrikCoC
PatrikCoC / ssl.conf
Last active December 4, 2016 15:59
SSL
#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about these
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
@PatrikCoC
PatrikCoC / log
Created December 4, 2016 15:34
Log
[root@NC-PH-1436-21 ~]# sudo grep -i -r "VirtualHost" /etc/
/etc/php.ini:; or per-virtualhost web server configuration file.
/etc/httpd/conf.d/ssl.conf:<VirtualHost _default_:443>
/etc/httpd/conf.d/ssl.conf:</VirtualHost>
/etc/httpd/conf/httpd.conf.save:# ports, in addition to the default. See also the <VirtualHost>
/etc/httpd/conf/httpd.conf.save:# <VirtualHost> definition. These values also provide defaults for
/etc/httpd/conf/httpd.conf.save:# any <VirtualHost> containers you may define later in the file.
/etc/httpd/conf/httpd.conf.save:# All of these directives may appear inside <VirtualHost> containers,
/etc/httpd/conf/httpd.conf.save:# If you do not specify an ErrorLog directive within a <VirtualHost>
@PatrikCoC
PatrikCoC / httpd.conf
Created December 4, 2016 15:22
new https
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding
@PatrikCoC
PatrikCoC / httpd.conf
Created December 4, 2016 14:35
Httpd config
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding