douglaspneill wrote:Any ideas on how to make htdocs modifiable?
Lawson wrote:Open "/xamppfiles/etc/httpd.conf" and un-comment the following line:
Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf
What does un-comment mean?
#Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf
Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf
/opt/lampp/lampp
http://localhost
chown -R kerberos /opt/lampp
and<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/opt/lampp/htdocs"
<Directory "/opt/lampp/htdocs">
#
# 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/trunk/mod/core.html#options
# for more information.
#
#Options Indexes FollowSymLinks
# XAMPP
Options Indexes FollowSymLinks ExecCGI Includes
#
# 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 None
# since XAMPP 1.4:
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
change the<Directory />
AllowOverride none
Require all denied
</Directory>
AllowOverride none
AllowOverride All
Require all denied
Require all granted
NOTE: this is not the safest approach if you are willing to use this xampp for actual site hosting, but it works for production purpose. Kindly help in improving the answer thanks
RamblingCloud wrote:c. inchange the<Directory />
AllowOverride none
Require all denied
</Directory>to
- Code: Select all
AllowOverride none
and also change
- Code: Select all
AllowOverride All
to
- Code: Select all
Require all denied
- Code: Select all
Require all granted
Users browsing this forum: No registered users and 17 guests