{"action":"created","issue":{"url":"https://api.github.com/repos/Strider-CD/strider/issues/860","labels_url":"https://api.github.com/repos/Strider-CD/strider/issues/860/labels{/name}","comments_url":"https://api.github.com/repos/Strider-CD/strider/issues/860/comments","events_url":"https://api.github.com/repos/Strider-CD/strider/issues/860/events","html_url":"https://github.com/Strider-CD/strider/issues/860","id":109556073,"number":860,"title":"No https support for strider.","user":{"login":"bsdreuben","id":10676263,"avatar_url":"https://avatars.githubusercontent.com/u/10676263?v=3","gravatar_id":"","url":"https://api.github.com/users/bsdreuben","html_url":"https://github.com/bsdreuben","followers_url":"https://api.github.com/users/bsdreuben/followers","following_url":"https://api.github.com/users/bsdreuben/following{/other_user}","gists_url":"https://api.github.com/users/bsdreuben/gists{/gist_id}","starred_url":"https://api.github.com/users/bsdreuben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsdreuben/subscriptions","organizations_url":"https://api.github.com/users/bsdreuben/orgs","repos_url":"https://api.github.com/users/bsdreuben/repos","events_url":"https://api.github.com/users/bsdreuben/events{/privacy}","received_events_url":"https://api.github.com/users/bsdreuben/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Strider-CD/strider/labels/enhancement","name":"enhancement","color":"fbca04"},{"url":"https://api.github.com/repos/Strider-CD/strider/labels/security","name":"security","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-02T19:25:12Z","updated_at":"2015-10-04T06:52:26Z","closed_at":null,"body":"I would like to be able to use strider remotely and securely. Please add in https support. There have to be others who want this."},"comment":{"url":"https://api.github.com/repos/Strider-CD/strider/issues/comments/145323350","html_url":"https://github.com/Strider-CD/strider/issues/860#issuecomment-145323350","issue_url":"https://api.github.com/repos/Strider-CD/strider/issues/860","id":145323350,"user":{"login":"bsdreuben","id":10676263,"avatar_url":"https://avatars.githubusercontent.com/u/10676263?v=3","gravatar_id":"","url":"https://api.github.com/users/bsdreuben","html_url":"https://github.com/bsdreuben","followers_url":"https://api.github.com/users/bsdreuben/followers","following_url":"https://api.github.com/users/bsdreuben/following{/other_user}","gists_url":"https://api.github.com/users/bsdreuben/gists{/gist_id}","starred_url":"https://api.github.com/users/bsdreuben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsdreuben/subscriptions","organizations_url":"https://api.github.com/users/bsdreuben/orgs","repos_url":"https://api.github.com/users/bsdreuben/repos","events_url":"https://api.github.com/users/bsdreuben/events{/privacy}","received_events_url":"https://api.github.com/users/bsdreuben/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T06:52:25Z","updated_at":"2015-10-04T06:52:25Z","body":"#\r\n# This is the main Apache HTTP server configuration file.  It contains the\r\n# configuration directives that give the server its instructions.\r\n# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.\r\n# In particular, see \r\n# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>\r\n# for a discussion of each configuration directive.\r\n#\r\n# Do NOT simply read the instructions in here without understanding\r\n# what they do.  They're here only as hints or reminders.  If you are unsure\r\n# consult the online docs. You have been warned.  \r\n#\r\n# Configuration and logfile names: If the filenames you specify for many\r\n# of the server's control files begin with \"/\" (or \"drive:/\" for Win32), the\r\n# server will use that explicit path.  If the filenames do *not* begin\r\n# with \"/\", the value of ServerRoot is prepended -- so \"logs/access_log\"\r\n# with ServerRoot set to \"/usr/local/apache2\" will be interpreted by the\r\n# server as \"/usr/local/apache2/logs/access_log\", whereas \"/logs/access_log\" \r\n# will be interpreted as '/logs/access_log'.\r\n\r\n#\r\n# ServerRoot: The top of the directory tree under which the server's\r\n# configuration, error, and log files are kept.\r\n#\r\n# Do not add a slash at the end of the directory path.  If you point\r\n# ServerRoot at a non-local disk, be sure to specify a local disk on the\r\n# Mutex directive, if file-based mutexes are used.  If you wish to share the\r\n# same ServerRoot for multiple httpd daemons, you will need to change at\r\n# least PidFile.\r\n#\r\nServerRoot \"/usr/local\"\r\n\r\n#\r\n# Mutex: Allows you to set the mutex mechanism and mutex file directory\r\n# for individual mutexes, or change the global defaults\r\n#\r\n# Uncomment and change the directory if mutexes are file-based and the default\r\n# mutex file directory is not on a local disk or is not appropriate for some\r\n# other reason.\r\n#\r\n# Mutex default:/var/run\r\n\r\n#\r\n# Listen: Allows you to bind Apache to specific IP addresses and/or\r\n# ports, instead of the default. See also the <VirtualHost>\r\n# directive.\r\n#\r\n# Change this to Listen on specific IP addresses as shown below to \r\n# prevent Apache from glomming onto all bound IP addresses.\r\n#\r\n#Listen 12.34.56.78:80\r\nListen 80\r\n\r\n#\r\n# Dynamic Shared Object (DSO) Support\r\n#\r\n# To be able to use the functionality of a module which was built as a DSO you\r\n# have to place corresponding `LoadModule' lines at this location so the\r\n# directives contained in it are actually available _before_ they are used.\r\n# Statically compiled modules (those listed by `httpd -l') do not need\r\n# to be loaded here.\r\n#\r\n# Example:\r\n# LoadModule foo_module modules/mod_foo.so\r\n#\r\nLoadModule authn_file_module libexec/apache24/mod_authn_file.so\r\n#LoadModule authn_dbm_module libexec/apache24/mod_authn_dbm.so\r\n#LoadModule authn_anon_module libexec/apache24/mod_authn_anon.so\r\n#LoadModule authn_dbd_module libexec/apache24/mod_authn_dbd.so\r\n#LoadModule authn_socache_module libexec/apache24/mod_authn_socache.so\r\nLoadModule authn_core_module libexec/apache24/mod_authn_core.so\r\nLoadModule authz_host_module libexec/apache24/mod_authz_host.so\r\nLoadModule authz_groupfile_module libexec/apache24/mod_authz_groupfile.so\r\nLoadModule authz_user_module libexec/apache24/mod_authz_user.so\r\n#LoadModule authz_dbm_module libexec/apache24/mod_authz_dbm.so\r\n#LoadModule authz_owner_module libexec/apache24/mod_authz_owner.so\r\n#LoadModule authz_dbd_module libexec/apache24/mod_authz_dbd.so\r\nLoadModule authz_core_module libexec/apache24/mod_authz_core.so\r\n#LoadModule authnz_fcgi_module libexec/apache24/mod_authnz_fcgi.so\r\nLoadModule access_compat_module libexec/apache24/mod_access_compat.so\r\nLoadModule auth_basic_module libexec/apache24/mod_auth_basic.so\r\n#LoadModule auth_form_module libexec/apache24/mod_auth_form.so\r\n#LoadModule auth_digest_module libexec/apache24/mod_auth_digest.so\r\n#LoadModule allowmethods_module libexec/apache24/mod_allowmethods.so\r\n#LoadModule file_cache_module libexec/apache24/mod_file_cache.so\r\n#LoadModule cache_module libexec/apache24/mod_cache.so\r\n#LoadModule cache_disk_module libexec/apache24/mod_cache_disk.so\r\n#LoadModule cache_socache_module libexec/apache24/mod_cache_socache.so\r\n#LoadModule socache_shmcb_module libexec/apache24/mod_socache_shmcb.so\r\n#LoadModule socache_dbm_module libexec/apache24/mod_socache_dbm.so\r\n#LoadModule socache_memcache_module libexec/apache24/mod_socache_memcache.so\r\n#LoadModule watchdog_module libexec/apache24/mod_watchdog.so\r\n#LoadModule macro_module libexec/apache24/mod_macro.so\r\n#LoadModule dbd_module libexec/apache24/mod_dbd.so\r\n#LoadModule dumpio_module libexec/apache24/mod_dumpio.so\r\n#LoadModule buffer_module libexec/apache24/mod_buffer.so\r\n#LoadModule data_module libexec/apache24/mod_data.so\r\n#LoadModule ratelimit_module libexec/apache24/mod_ratelimit.so\r\nLoadModule reqtimeout_module libexec/apache24/mod_reqtimeout.so\r\n#LoadModule ext_filter_module libexec/apache24/mod_ext_filter.so\r\n#LoadModule request_module libexec/apache24/mod_request.so\r\n#LoadModule include_module libexec/apache24/mod_include.so\r\nLoadModule filter_module libexec/apache24/mod_filter.so\r\n#LoadModule reflector_module libexec/apache24/mod_reflector.so\r\n#LoadModule substitute_module libexec/apache24/mod_substitute.so\r\n#LoadModule sed_module libexec/apache24/mod_sed.so\r\n#LoadModule charset_lite_module libexec/apache24/mod_charset_lite.so\r\nLoadModule deflate_module libexec/apache24/mod_deflate.so\r\nLoadModule mime_module libexec/apache24/mod_mime.so\r\nLoadModule log_config_module libexec/apache24/mod_log_config.so\r\n#LoadModule log_debug_module libexec/apache24/mod_log_debug.so\r\n#LoadModule log_forensic_module libexec/apache24/mod_log_forensic.so\r\n#LoadModule logio_module libexec/apache24/mod_logio.so\r\nLoadModule env_module libexec/apache24/mod_env.so\r\n#LoadModule mime_magic_module libexec/apache24/mod_mime_magic.so\r\n#LoadModule cern_meta_module libexec/apache24/mod_cern_meta.so\r\n#LoadModule expires_module libexec/apache24/mod_expires.so\r\nLoadModule headers_module libexec/apache24/mod_headers.so\r\n#LoadModule usertrack_module libexec/apache24/mod_usertrack.so\r\n#LoadModule unique_id_module libexec/apache24/mod_unique_id.so\r\nLoadModule setenvif_module libexec/apache24/mod_setenvif.so\r\nLoadModule version_module libexec/apache24/mod_version.so\r\n#LoadModule remoteip_module libexec/apache24/mod_remoteip.so\r\nLoadModule proxy_module libexec/apache24/mod_proxy.so\r\nLoadModule proxy_connect_module libexec/apache24/mod_proxy_connect.so\r\n#LoadModule proxy_ftp_module libexec/apache24/mod_proxy_ftp.so\r\nLoadModule proxy_http_module libexec/apache24/mod_proxy_http.so\r\n#LoadModule proxy_fcgi_module libexec/apache24/mod_proxy_fcgi.so\r\n#LoadModule proxy_scgi_module libexec/apache24/mod_proxy_scgi.so\r\n#LoadModule proxy_fdpass_module libexec/apache24/mod_proxy_fdpass.so\r\n#LoadModule proxy_wstunnel_module libexec/apache24/mod_proxy_wstunnel.so\r\nLoadModule proxy_ajp_module libexec/apache24/mod_proxy_ajp.so\r\n#LoadModule proxy_balancer_module libexec/apache24/mod_proxy_balancer.so\r\n#LoadModule proxy_express_module libexec/apache24/mod_proxy_express.so\r\n#LoadModule session_module libexec/apache24/mod_session.so\r\n#LoadModule session_cookie_module libexec/apache24/mod_session_cookie.so\r\n#LoadModule session_crypto_module libexec/apache24/mod_session_crypto.so\r\n#LoadModule session_dbd_module libexec/apache24/mod_session_dbd.so\r\n#LoadModule slotmem_shm_module libexec/apache24/mod_slotmem_shm.so\r\n#LoadModule slotmem_plain_module libexec/apache24/mod_slotmem_plain.so\r\nLoadModule ssl_module libexec/apache24/mod_ssl.so\r\n#LoadModule dialup_module libexec/apache24/mod_dialup.so\r\n#LoadModule lbmethod_byrequests_module libexec/apache24/mod_lbmethod_byrequests.so\r\n#LoadModule lbmethod_bytraffic_module libexec/apache24/mod_lbmethod_bytraffic.so\r\n#LoadModule lbmethod_bybusyness_module libexec/apache24/mod_lbmethod_bybusyness.so\r\n#LoadModule lbmethod_heartbeat_module libexec/apache24/mod_lbmethod_heartbeat.so\r\n#LoadModule mpm_event_module libexec/apache24/mod_mpm_event.so\r\nLoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so\r\n#LoadModule mpm_worker_module libexec/apache24/mod_mpm_worker.so\r\nLoadModule unixd_module libexec/apache24/mod_unixd.so\r\n#LoadModule heartbeat_module libexec/apache24/mod_heartbeat.so\r\n#LoadModule heartmonitor_module libexec/apache24/mod_heartmonitor.so\r\n#LoadModule dav_module libexec/apache24/mod_dav.so\r\nLoadModule status_module libexec/apache24/mod_status.so\r\nLoadModule autoindex_module libexec/apache24/mod_autoindex.so\r\n#LoadModule asis_module libexec/apache24/mod_asis.so\r\n#LoadModule info_module libexec/apache24/mod_info.so\r\n<IfModule !mpm_prefork_module>\r\n\t#LoadModule cgid_module libexec/apache24/mod_cgid.so\r\n</IfModule>\r\n<IfModule mpm_prefork_module>\r\n\t#LoadModule cgi_module libexec/apache24/mod_cgi.so\r\n</IfModule>\r\n#LoadModule dav_fs_module libexec/apache24/mod_dav_fs.so\r\n#LoadModule dav_lock_module libexec/apache24/mod_dav_lock.so\r\n#LoadModule vhost_alias_module libexec/apache24/mod_vhost_alias.so\r\n#LoadModule negotiation_module libexec/apache24/mod_negotiation.so\r\nLoadModule dir_module libexec/apache24/mod_dir.so\r\n#LoadModule imagemap_module libexec/apache24/mod_imagemap.so\r\n#LoadModule actions_module libexec/apache24/mod_actions.so\r\n#LoadModule speling_module libexec/apache24/mod_speling.so\r\n#LoadModule userdir_module libexec/apache24/mod_userdir.so\r\nLoadModule alias_module libexec/apache24/mod_alias.so\r\nLoadModule rewrite_module libexec/apache24/mod_rewrite.so\r\nLoadModule php5_module        libexec/apache24/libphp5.so\r\n\r\n# Third party modules\r\nIncludeOptional etc/apache24/modules.d/[0-9][0-9][0-9]_*.conf\r\n \r\n<IfModule unixd_module>\r\n#\r\n# If you wish httpd to run as a different user or group, you must run\r\n# httpd as root initially and it will switch.  \r\n#\r\n# User/Group: The name (or #number) of the user/group to run httpd as.\r\n# It is usually good practice to create a dedicated user and group for\r\n# running httpd, as with most system services.\r\n#\r\nUser www\r\nGroup www\r\n\r\n</IfModule>\r\n\r\n# 'Main' server configuration\r\n#\r\n# The directives in this section set up the values used by the 'main'\r\n# server, which responds to any requests that aren't handled by a\r\n# <VirtualHost> definition.  These values also provide defaults for\r\n# any <VirtualHost> containers you may define later in the file.\r\n#\r\n# All of these directives may appear inside <VirtualHost> containers,\r\n# in which case these default settings will be overridden for the\r\n# virtual host being defined.\r\n#\r\n\r\n#\r\n# ServerAdmin: Your address, where problems with the server should be\r\n# e-mailed.  This address appears on some server-generated pages, such\r\n# as error documents.  e.g. admin@your-domain.com\r\n#\r\nServerAdmin linuxreuben@gmail.com\r\n\r\n#\r\n# ServerName gives the name and port that the server uses to identify itself.\r\n# This can often be determined automatically, but we recommend you specify\r\n# it explicitly to prevent problems during startup.\r\n#\r\n# If your host doesn't have a registered DNS name, enter its IP address here.\r\n#\r\n#ServerName www.example.com:80\r\nServerName mist.ninja:80\r\n\r\n#\r\n# Deny access to the entirety of your server's filesystem. You must\r\n# explicitly permit access to web content directories in other \r\n# <Directory> blocks below.\r\n#\r\n<Directory />\r\n    AllowOverride none\r\n    Require all denied\r\n</Directory>\r\n\r\n#\r\n# Note that from this point forward you must specifically allow\r\n# particular features to be enabled - so if something's not working as\r\n# you might expect, make sure that you have specifically enabled it\r\n# below.\r\n#\r\n\r\n#\r\n# DocumentRoot: The directory out of which you will serve your\r\n# documents. By default, all requests are taken from this directory, but\r\n# symbolic links and aliases may be used to point to other locations.\r\n#\r\n\r\n# @NOTE: default document directory is \"/usr/local/www/apache24/data\"\r\nDocumentRoot \"/usr/local/www/apache24/data\"\r\n<Directory \"/usr/local/www/apache24/data\">\r\n    #\r\n    # Possible values for the Options directive are \"None\", \"All\",\r\n    # or any combination of:\r\n    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews\r\n    #\r\n    # Note that \"MultiViews\" must be named *explicitly* --- \"Options All\"\r\n    # doesn't give it to you.\r\n    #\r\n    # The Options directive is both complicated and important.  Please see\r\n    # http://httpd.apache.org/docs/2.4/mod/core.html#options\r\n    # for more information.\r\n    #\r\n    Options Indexes FollowSymLinks\r\n\r\n    #\r\n    # AllowOverride controls what directives may be placed in .htaccess files.\r\n    # It can be \"All\", \"None\", or any combination of the keywords:\r\n    #   AllowOverride FileInfo AuthConfig Limit\r\n    #\r\n\r\n\t# @NOTE: The param below is the origianl value\r\n    #AllowOverride None\r\n\tAllowOverride All\r\n\t\r\n\tRewriteEngine on\r\n \tRewriteBase /\r\n \tRewriteCond %{REQUEST_FILENAME} !-f\r\n \tRewriteCond %{REQUEST_FILENAME} !-d\r\n\tRewriteCond %{REQUEST_URI} !=/favicon.ico\r\n \tRewriteRule ^ index.php [L]\r\n\r\n    #\r\n    # Controls who can get stuff from this server.\r\n    #\r\n    Require all granted\r\n\r\n    LogLevel warn\r\n\tRewriteEngine On\r\n</Directory>\r\n\r\n# Adding https support\r\n# @NOTE: This config only support strong ciphers and points to the openssl cert\r\nListen 443\r\n<VirtualHost *:443>\r\n\tServerName mist.ninja\r\n\tSSLEngine on\r\n\tSSLCertificateFile \"/op/certs/cert.crt\"\r\n\tSSLCertificateKeyFile \"/op/certs/cert.key\"\r\n\tSSLCipherSuite HIGH:!aNULL:!MD5:!SSLv3\r\n</VirtualHost>\r\n\r\n# @NOTE: Adding Strider-CD reverse-proxy and https at port 81\r\nListen 81\r\n<VirtualHost *:81>\r\n\tServerName mist.ninja\r\n\tServerAlias *.mist.ninja\r\n\r\n\tProxyRequests Off\r\n\tProxyPreserveHost On\r\n\r\n\tSSLEngine on\r\n\tSSLProxyEngine on\r\n\r\n\tSSLCertificateFile \"/op/certs/cert.crt\"\r\n\tSSLCertificateKeyFile \"/op/certs/cert.key\"\r\n\tSSLCipherSuite HIGH:!aNULL:!MD5:!SSLv3\r\n\r\n\t<Proxy *>\r\n\t\tOrder deny,allow\r\n\t\tAllow from all\r\n\t</Proxy>\r\n\r\n\tProxyPass / http://mist.ninja:3000/ retry=0\r\n\tProxyPassReverse / http://mist.ninja:3000/\r\n\r\n\tLogLevel Debug\r\n</VirtualHost>\r\n\r\n#\r\n# DirectoryIndex: sets the file that Apache will serve if a directory\r\n# is requested.\r\n#\r\n<IfModule dir_module>\r\n    DirectoryIndex index.php index.html\r\n</IfModule>\r\n\r\n#\r\n# The following lines prevent .htaccess and .htpasswd files from being \r\n# viewed by Web clients. \r\n#\r\n<Files \".ht*\">\r\n    Require all denied\r\n</Files>\r\n\r\n#\r\n# ErrorLog: The location of the error log file.\r\n# If you do not specify an ErrorLog directive within a <VirtualHost>\r\n# container, error messages relating to that virtual host will be\r\n# logged here.  If you *do* define an error logfile for a <VirtualHost>\r\n# container, that host's errors will be logged there and not here.\r\n#\r\nErrorLog \"/var/log/httpd-error.log\"\r\n\r\n#\r\n# LogLevel: Control the number of messages logged to the error_log.\r\n# Possible values include: debug, info, notice, warn, error, crit,\r\n# alert, emerg.\r\n#\r\nLogLevel warn\r\n\r\n<IfModule log_config_module>\r\n    #\r\n    # The following directives define some format nicknames for use with\r\n    # a CustomLog directive (see below).\r\n    #\r\n    LogFormat \"%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\"\" combined\r\n    LogFormat \"%h %l %u %t \\\"%r\\\" %>s %b\" common\r\n\r\n    <IfModule logio_module>\r\n      # You need to enable mod_logio.c to use %I and %O\r\n      LogFormat \"%h %l %u %t \\\"%r\\\" %>s %b \\\"%{Referer}i\\\" \\\"%{User-Agent}i\\\" %I %O\" combinedio\r\n    </IfModule>\r\n\r\n    #\r\n    # The location and format of the access logfile (Common Logfile Format).\r\n    # If you do not define any access logfiles within a <VirtualHost>\r\n    # container, they will be logged here.  Contrariwise, if you *do*\r\n    # define per-<VirtualHost> access logfiles, transactions will be\r\n    # logged therein and *not* in this file.\r\n    #\r\n    CustomLog \"/var/log/httpd-access.log\" common\r\n\r\n    #\r\n    # If you prefer a logfile with access, agent, and referer information\r\n    # (Combined Logfile Format) you can use the following directive.\r\n    #\r\n    #CustomLog \"/var/log/httpd-access.log\" combined\r\n</IfModule>\r\n\r\n<IfModule alias_module>\r\n    #\r\n    # Redirect: Allows you to tell clients about documents that used to \r\n    # exist in your server's namespace, but do not anymore. The client \r\n    # will make a new request for the document at its new location.\r\n    # Example:\r\n    # Redirect permanent /foo http://www.example.com/bar\r\n\r\n    #\r\n    # Alias: Maps web paths into filesystem paths and is used to\r\n    # access content that does not live under the DocumentRoot.\r\n    # Example:\r\n    # Alias /webpath /full/filesystem/path\r\n    #\r\n    # If you include a trailing / on /webpath then the server will\r\n    # require it to be present in the URL.  You will also likely\r\n    # need to provide a <Directory> section to allow access to\r\n    # the filesystem path.\r\n\r\n    #\r\n    # ScriptAlias: This controls which directories contain server scripts. \r\n    # ScriptAliases are essentially the same as Aliases, except that\r\n    # documents in the target directory are treated as applications and\r\n    # run by the server when requested rather than as documents sent to the\r\n    # client.  The same rules about trailing \"/\" apply to ScriptAlias\r\n    # directives as to Alias.\r\n    #\r\n    ScriptAlias /cgi-bin/ \"/usr/local/www/apache24/cgi-bin/\"\r\n\r\n</IfModule>\r\n\r\n<IfModule cgid_module>\r\n    #\r\n    # ScriptSock: On threaded servers, designate the path to the UNIX\r\n    # socket used to communicate with the CGI daemon of mod_cgid.\r\n    #\r\n    #Scriptsock cgisock\r\n</IfModule>\r\n\r\n#\r\n# \"/usr/local/www/apache24/cgi-bin\" should be changed to whatever your ScriptAliased\r\n# CGI directory exists, if you have that configured.\r\n#\r\n<Directory \"/usr/local/www/apache24/cgi-bin\">\r\n    AllowOverride None\r\n    Options None\r\n    Require all granted\r\n</Directory>\r\n\r\n<IfModule mime_module>\r\n    #\r\n    # TypesConfig points to the file containing the list of mappings from\r\n    # filename extension to MIME-type.\r\n    #\r\n    TypesConfig etc/apache24/mime.types\r\n\r\n    #\r\n    # AddType allows you to add to or override the MIME configuration\r\n    # file specified in TypesConfig for specific file types.\r\n    #\r\n    #AddType application/x-gzip .tgz\r\n    #\r\n    # AddEncoding allows you to have certain browsers uncompress\r\n    # information on the fly. Note: Not all browsers support this.\r\n    #\r\n    #AddEncoding x-compress .Z\r\n    #AddEncoding x-gzip .gz .tgz\r\n    #\r\n    # If the AddEncoding directives above are commented-out, then you\r\n    # probably should define those extensions to indicate media types:\r\n    #\r\n    AddType application/x-compress .Z\r\n    AddType application/x-gzip .gz .tgz\r\n\r\n    #\r\n    # AddHandler allows you to map certain file extensions to \"handlers\":\r\n    # actions unrelated to filetype. These can be either built into the server\r\n    # or added with the Action directive (see below)\r\n    #\r\n    # To use CGI scripts outside of ScriptAliased directories:\r\n    # (You will also need to add \"ExecCGI\" to the \"Options\" directive.)\r\n    #\r\n    #AddHandler cgi-script .cgi\r\n\r\n    # For type maps (negotiated resources):\r\n    #AddHandler type-map var\r\n\r\n    #\r\n    # Filters allow you to process content before it is sent to the client.\r\n    #\r\n    # To parse .shtml files for server-side includes (SSI):\r\n    # (You will also need to add \"Includes\" to the \"Options\" directive.)\r\n    #\r\n    #AddType text/html .shtml\r\n    #AddOutputFilter INCLUDES .shtml\r\n</IfModule>\r\n\r\n#\r\n# The mod_mime_magic module allows the server to use various hints from the\r\n# contents of the file itself to determine its type.  The MIMEMagicFile\r\n# directive tells the module where the hint definitions are located.\r\n#\r\n#MIMEMagicFile etc/apache24/magic\r\n\r\n#\r\n# Customizable error responses come in three flavors:\r\n# 1) plain text 2) local redirects 3) external redirects\r\n#\r\n# Some examples:\r\n#ErrorDocument 500 \"The server made a boo boo.\"\r\n#ErrorDocument 404 /missing.html\r\n#ErrorDocument 404 \"/cgi-bin/missing_handler.pl\"\r\n#ErrorDocument 402 http://www.example.com/subscription_info.html\r\n#\r\n\r\n#\r\n# MaxRanges: Maximum number of Ranges in a request before\r\n# returning the entire resource, or one of the special\r\n# values 'default', 'none' or 'unlimited'.\r\n# Default setting is to accept 200 Ranges.\r\n#MaxRanges unlimited\r\n\r\n#\r\n# EnableMMAP and EnableSendfile: On systems that support it, \r\n# memory-mapping or the sendfile syscall may be used to deliver\r\n# files.  This usually improves server performance, but must\r\n# be turned off when serving from networked-mounted \r\n# filesystems or if support for these functions is otherwise\r\n# broken on your system.\r\n# Defaults: EnableMMAP On, EnableSendfile Off\r\n#\r\n#EnableMMAP off\r\n#EnableSendfile on\r\n\r\n# Supplemental configuration\r\n#\r\n# The configuration files in the etc/apache24/extra/ directory can be \r\n# included to add extra features or to modify the default configuration of \r\n# the server, or you may simply copy their contents here and change as \r\n# necessary.\r\n\r\n# Server-pool management (MPM specific)\r\n#Include etc/apache24/extra/httpd-mpm.conf\r\n\r\n# Multi-language error messages\r\n#Include etc/apache24/extra/httpd-multilang-errordoc.conf\r\n\r\n# Fancy directory listings\r\n#Include etc/apache24/extra/httpd-autoindex.conf\r\n\r\n# Language settings\r\n#Include etc/apache24/extra/httpd-languages.conf\r\n\r\n# User home directories\r\n#Include etc/apache24/extra/httpd-userdir.conf\r\n\r\n# Real-time info on requests and configuration\r\n#Include etc/apache24/extra/httpd-info.conf\r\n\r\n# Virtual hosts\r\n#Include etc/apache24/extra/httpd-vhosts.conf\r\n\r\n# Local access to the Apache HTTP Server Manual\r\n#Include etc/apache24/extra/httpd-manual.conf\r\n\r\n# Distributed authoring and versioning (WebDAV)\r\n#Include etc/apache24/extra/httpd-dav.conf\r\n\r\n# Various default settings\r\n#Include etc/apache24/extra/httpd-default.conf\r\n\r\n# Configure mod_proxy_html to understand HTML4/XHTML1\r\n<IfModule proxy_html_module>\r\nInclude etc/apache24/extra/proxy-html.conf\r\n</IfModule>\r\n\r\n# Secure (SSL/TLS) connections\r\n#Include etc/apache24/extra/httpd-ssl.conf\r\n#\r\n# Note: The following must must be present to support\r\n#       starting without SSL on platforms with no /dev/random equivalent\r\n#       but a statically compiled-in mod_ssl.\r\n#\r\n<IfModule ssl_module>\r\nSSLRandomSeed startup builtin\r\nSSLRandomSeed connect builtin\r\n</IfModule>\r\n#\r\n# uncomment out the below to deal with user agents that deliberately\r\n# violate open standards by misusing DNT (DNT *must* be a specific\r\n# end-user choice)\r\n#\r\n#<IfModule setenvif_module>\r\n#BrowserMatch \"MSIE 10.0;\" bad_DNT\r\n#</IfModule>\r\n#<IfModule headers_module>\r\n#RequestHeader unset DNT env=bad_DNT\r\n#</IfModule>\r\n\r\nInclude etc/apache24/Includes/*.conf\r\n\r\nAddType application/x-httpd-php .php\r\nAddType application/x-httpd-php-source .phps\r\nAddType application/x-httpd-php .php .htm .html\r\n\r\n\r\n\r\n\r\n![untitled](https://cloud.githubusercontent.com/assets/10676263/10266753/876efe22-6a29-11e5-8c2b-95caf6f84302.png)\r\n"}}