Answer the question
In order to leave comments, you need to log in
Forbidden You don't have permission to access / on this server on a local server?
Hello everyone, I can’t put access to the root with projects
in httpd-vhosts.conf the path is registered
<VirtualHost *:80>
DocumentRoot "D:\Server\data\htdocs"
ServerName localhost
ServerAlias www.localhost
<Directory D:\Server\data\htdocs>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
You don't have permission to access / on this server.
Answer the question
In order to leave comments, you need to log in
https://wiki.apache.org/httpd/DirectoryListings
Either set index files or enable directory listing if you want visitors to see the directory listing.
+ Paths must be specified with forward slashes, not backslashes, i.e.
D:/Server/data/htdocs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question