In the httpd-vhost.conf file:
<virtualhost *:80>
ServerAdmin [email protected]
DocumentRoot "D:\workspace\OradtWeb1.0_bug\Public"
ServerName work10bug.com
Errorlog "Logs/my.work10bug.com-error.log"
Customlog "Logs/my.work10bug.com-access.log" common
<directory/>
Options FollowSymLinks
AllowOverride All
Order Allow,deny
Indexoptions Charset=utf-8
Allow from all
</Directory>
</VirtualHost>
In the httpd.conf file:
ServerName localhost:80
#
# 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/>
Options All
AllowOverride All
</Directory>
------------------
DocumentRoot "D:/xampp/htdocs"
<directory "D:/xampp/htdocs" >
#
# Possible values for the Options directive is "None", "all",
# or any combination of:
# Indexes includes followsymlinks symlinksifownermatch execcgi multiviews
#
# Note that "MultiViews" must is 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 is 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 the this server.
#
Require all granted
</Directory>
-----------------------
#
# "D:/xampp/cgi-bin" should is changed to whatever your scriptaliased
# CGI Directory exists, if you had that configured.
#
<directory "D:/xampp/cgi-bin" >
AllowOverride All
Options FollowSymLinks
Require all granted
</Directory>
Apache configuration file