Summarize the problem: I TRY ALL FIXED INSTRUCTION
I need the ability to run python file, for this i do all what in this instruction
I all finished, start index.py file(localhost/index.py)
And me write this problem
Forbidden
You don't have permission to access this resource.
Apache/2.4.51 (Win64) PHP/7.4.26 Server at localhost Port 80
Describe what you`ve tried
I try fixed this problem with this instruction
But change in phpmyadmin not help me, below will be the code file phpmyadmin.conf
I try change Require local on Require all granted. In C:\wamp\bin\apache\apache2.4.51\conf\httpd.conf, below will be the code
I try add value in file C:\wamp\bin\apache\apache2.4.51\conf\extra\httpd-vhost.conf, bellow cod
Show some code
phpmyadmin4.9.7.conf
Alias /phpmyadmin4.9.7 "C:/wamp/apps/phpmyadmin4.9.7/"
<Directory "C:/wamp/apps/phpmyadmin4.9.7/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
phpmyadmin.conf
Alias /phpmyadmin "C:/wamp/apps/phpmyadmin5.1.1/"
<Directory "C:/wamp/apps/phpmyadmin5.1.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
httpd-vhosts.conf
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options FollowSymLinks
AllowOverride All
Order deny,allow
allow from all
</Directory>
</VirtualHost>
httpd.conf (not all code)
<Directory "${INSTALL_DIR}/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 +Multiviews
#
# 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.
#
# Don't modify this line - Instead modify Require of VirtualHost in httpd-vhost.conf
Require all granted
</Directory>