I've already searched my ass, changed everything that was httpd.conf and httpd-xampp.conf, but nothing worked.
I'm trying to change the default htdocs xampp folder to a folder on my pendriver, but when the localhost requirement in the browser is returned:
Access Forbidden!
You do not have permission to access the requested directory. Can not the index file exists, or the directory may be protected against reading.
If you believe you have encountered a problem on the server, please please contact the webmaster.
Error 403 localhost Apache / 2.4.29 (Win32) OpenSSL / 1.1.0g PHP / 7.2.2
Can anyone help me? (The xampp is installed on the PC's C:
Edit:
Following more or less what @AndreMesquita said and some articles google it out ... I made the following configuration in httpd.conf:
DocumentRoot "S:\Git\projeto"
<Directory "S:\Git\projeto">
#
# 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
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
Still unsuccessful ...