Я пытался заставить кого-то извне получить доступ к моему локальному хосту. Я редактировал файл httpd.conf заменойWampserver: localhost 403 запрещено после добавления разрешить из всех
Allow from localhost
Allow from 127.0.0.1 ::1
Allow from 127.0.0.1
по
Allow from all
Ничего Произошло. Однако, когда я пытался восстановить старую конфигурацию, ничего не работает, я не могу получить доступ к localhost или 127.0.0.1. Я получаю '403 запрещено'
мой httpd.config:
DocumentRoot "c:/"
<Directory "c:/wamp/www">
#
# 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
#
# 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
# onlineoffline tag - don't remove
Allow from localhost
Allow from 127.0.0.1
Allow from 127.0.0.1 ::1
</Directory>
Что я могу сделать сейчас?
Вы могли бы показать нам конфигурацию httpd.conf? – user1759572