Skip to content

Instantly share code, notes, and snippets.

@GhazanfarMir
Created July 12, 2020 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GhazanfarMir/833ad3b15bccf034df1f5c4fc1b4c58c to your computer and use it in GitHub Desktop.
Save GhazanfarMir/833ad3b15bccf034df1f5c4fc1b4c58c to your computer and use it in GitHub Desktop.
XAMPP Virtual Host for Symfony
<VirtualHost doctorist-symfony.local:80>
ServerName doctorist-symfony.local
ServerAlias doctorist-symfony.local
DocumentRoot "D:/Data Library/Projects/doctorist/public"
<Directory "D:/Data Library/Projects/doctorist/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.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# 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.
#
Require all granted
</Directory>
ErrorLog "logs/doctorist-symfony.local-error.log"
CustomLog "logs/doctorist-symfony.local-access.log" combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment