Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Listen 80
- # Virtual Hosts
- #
- <VirtualHost *:80>
- ServerName localhost
- ServerAlias localhost
- DocumentRoot "${INSTALL_DIR}/www"
- <Directory "${INSTALL_DIR}/www/">
- Options +Indexes +Includes +FollowSymLinks +MultiViews
- AllowOverride All
- Require all granted
- </Directory>
- </VirtualHost>
- <VirtualHost *:80>
- ServerName wormchain.hopto.org
- ServerAlias wormchain.hopto.org
- DocumentRoot "${INSTALL_DIR}/www"
- <Directory "${INSTALL_DIR}/www/">
- Options +Indexes +Includes +FollowSymLinks +MultiViews
- AllowOverride All
- Require all granted
- </Directory>
- </VirtualHost>
- #
- # This is the main Apache HTTP server configuration file. It contains the
- # configuration directives that give the server its instructions.
- # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
- # In particular, see
- # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
- # for a discussion of each configuration directive.
- #
- # 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.
- #
- # Configuration and logfile names: If the filenames you specify for many
- # of the server's control files begin with "/" (or "drive:/" for Win32), the
- # server will use that explicit path. If the filenames do *not* begin
- # with "/", the value of ServerRoot is prepended -- so "logs/access_log"
- # with ServerRoot set to "/usr/local/apache2" will be interpreted by the
- # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
- # will be interpreted as '/logs/access_log'.
- #
- # NOTE: Where filenames are specified, you must use forward slashes
- # instead of backslashes (e.g., "c:/apache" instead of "c:apache").
- # If a drive letter is omitted, the drive on which httpd.exe is located
- # will be used by default. It is recommended that you always supply
- # an explicit drive letter in absolute paths to avoid confusion.
- ServerSignature On
- ServerTokens Full
- #
- # ServerRoot: The top of the directory tree under which the server's
- # configuration, error, and log files are kept.
- #
- # Do not add a slash at the end of the directory path. If you point
- # ServerRoot at a non-local disk, be sure to specify a local disk on the
- # Mutex directive, if file-based mutexes are used. If you wish to share the
- # same ServerRoot for multiple httpd daemons, you will need to change at
- # least PidFile.
- #
- # Apache variable names used by Apache conf files:
- # The names and contents of variables:
- # APACHE24, VERSION_APACHE, INSTALL_DIR, APACHE_DIR
- # should never be changed.
- Define APACHE24 Apache2.4
- Define VERSION_APACHE 2.4.27
- Define INSTALL_DIR c:/wamp64
- Define APACHE_DIR ${INSTALL_DIR}/bin/apache/apache${VERSION_APACHE}
- ServerRoot "${APACHE_DIR}"
- #
- # Mutex: Allows you to set the mutex mechanism and mutex file directory
- # for individual mutexes, or change the global defaults
- #
- # Uncomment and change the directory if mutexes are file-based and the default
- # mutex file directory is not on a local disk or is not appropriate for some
- # other reason.
- #
- # Mutex default:logs
- #
- # Listen: Allows you to bind Apache to specific IP addresses and/or
- # ports, instead of the default. See also the <VirtualHost>
- # directive.
- #
- # Change this to Listen on specific IP addresses as shown below to
- # prevent Apache from glomming onto all bound IP addresses.
- #
- #Listen 12.34.56.78:80
- Listen 10.0.0.65:80
- Listen [2601:19b:4401:e029::8fad]:80
- #
- # Dynamic Shared Object (DSO) Support
- #
- # To be able to use the functionality of a module which was built as a DSO you
- # have to place corresponding `LoadModule' lines at this location so the
- # directives contained in it are actually available _before_ they are used.
- # Statically compiled modules (those listed by `httpd -l') do not need
- # to be loaded here.
- #
- # Example:
- # LoadModule foo_module modules/mod_foo.so
- #
- LoadModule php7_module "${INSTALL_DIR}/bin/php/php7.1.9/php7apache2_4.dll"
- <IfModule unixd_module>
- #
- # If you wish httpd to run as a different user or group, you must run
- # httpd as root initially and it will switch.
- #
- # User/Group: The name (or #number) of the user/group to run httpd as.
- # It is usually good practice to create a dedicated user and group for
- # running httpd, as with most system services.
- #
- User daemon
- Group daemon
- </IfModule>
- # 'Main' server configuration
- #
- # The directives in this section set up the values used by the 'main'
- # server, which responds to any requests that aren't handled by a
- # <VirtualHost> definition. These values also provide defaults for
- # any <VirtualHost> containers you may define later in the file.
- #
- # All of these directives may appear inside <VirtualHost> containers,
- # in which case these default settings will be overridden for the
- # virtual host being defined.
- #
- #
- # ServerAdmin: Your address, where problems with the server should be
- # e-mailed. This address appears on some server-generated pages, such
- # as error documents. e.g. admin@your-domain.com
- #
- ServerAdmin paradigmcalibre@gmail.com
- #
- # ServerName gives the name and port that the server uses to identify itself.
- # This can often be determined automatically, but we recommend you specify
- # it explicitly to prevent problems during startup.
- #
- # If your host doesn't have a registered DNS name, enter its IP address here.
- #
- ServerName localhost
- ServerName wormchain.hopto.org
- #
- # Deny access to the entirety of your server's filesystem. You must
- # explicitly permit access to web content directories in other
- # <Directory> blocks below.
- #
- <Directory "/">
- Require all granted
- </Directory>
- #
- # Note that from this point forward you must specifically allow
- # particular features to be enabled - so if something's not working as
- # you might expect, make sure that you have specifically enabled it
- # below.
- #
- HostnameLookups Off
- #
- # DocumentRoot: The directory out of which you will serve your
- # documents. By default, all requests are taken from this directory, but
- # symbolic links and aliases may be used to point to other locations.
- #
- DocumentRoot "${INSTALL_DIR}/www"
- <Directory "${INSTALL_DIR}/www/">
- #
- # Possible values for the Options directive are "None", "All",
- # or any combination of:
- # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
- #
- # Note that "MultiViews" must be named *explicitly* --- "Options All"
- # doesn't give it to you.
- #
- # The Options directive is both complicated and important. Please see
- # http://httpd.apache.org/docs/2.4/mod/core.html#options
- # for more information.
- #
- Options +Indexes +FollowSymLinks +Multiviews
- #
- # AllowOverride controls what directives may be placed in .htaccess files.
- # It can be "All", "None", or any combination of the keywords:
- # AllowOverride FileInfo AuthConfig Limit
- #
- AllowOverride all
- #
- # Controls who can get stuff from this server.
- #
- # onlineoffline tag - don't remove
- Require all granted
- </Directory>
- #
- # DirectoryIndex: sets the file that Apache will serve if a directory
- # is requested.
- #
- <IfModule dir_module>
- DirectoryIndex index.html
- </IfModule>
- #
- # The following lines prevent .htaccess and .htpasswd files from being
- # viewed by Web clients.
- #
- <Files ".ht*">
- Require all denied
- </Files>
- #
- # ErrorLog: The location of the error log file.
- # If you do not specify an ErrorLog directive within a <VirtualHost>
- # container, error messages relating to that virtual host will be
- # logged here. If you *do* define an error logfile for a <VirtualHost>
- # container, that host's errors will be logged there and not here.
- #
- #ErrorLog "logs/error.log"
- ErrorLog "${INSTALL_DIR}/logs/apache_error.log"
Add Comment
Please, Sign In to add comment