Created
June 28, 2017 10:58
-
-
Save devloe/d8ad053363b16b41c8a2245fc3fdd22a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Listen 8888 | |
<VirtualHost *:8888> | |
# '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. [email protected] | |
# | |
ServerAdmin [email protected] | |
# | |
# 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:8888 | |
# | |
# 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. | |
# | |
# MAMP DOCUMENT_ROOT !! Don't remove this line !! | |
DocumentRoot "/Applications/MAMP/htdocs/mediktor-web-app/laravel/public" | |
# | |
# Each directory to which Apache has access can be configured with respect | |
# to which services and features are allowed and/or disabled in that | |
# directory (and its subdirectories). | |
# | |
# First, we configure the "default" to be a very restrictive set of | |
# features. | |
# | |
<Directory /> | |
Options Indexes FollowSymLinks | |
AllowOverride None | |
</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. | |
# | |
# | |
# This should be changed to whatever you set DocumentRoot to. | |
# | |
<Directory "/Applications/MAMP/htdocs/mediktor-web-app/laravel/public"> | |
# | |
# 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.2/mod/core.html#options | |
# for more information. | |
# | |
Options All | |
# | |
# AllowOverride controls what directives may be placed in .htaccess files. | |
# It can be "All", "None", or any combination of the keywords: | |
# Options FileInfo AuthConfig Limit | |
# | |
AllowOverride All | |
# | |
# Controls who can get stuff from this server. | |
# | |
Order allow,deny | |
Allow from all | |
XSendFilePath "/Applications/MAMP/htdocs" | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment