Forbidden : You don't have permission to access this resourc
Posted: 17. November 2019 15:48
Hello to everyone.
I'm trying to configure & run XAMPP on Windows 10. This is how I have configured it :
Step 1 : On my router I have opened ports : 80 and port 4433 on the TCP protocol (port mapping)
Step 2 : Content of httpd.conf :
Define SRVROOT "C:\xampp\Apache"
ServerRoot "${SRVROOT}"
Listen 80
ServerName 127.0.0.1:80
#<Directory />
# AllowOverride none
# Require local
#</Directory>
#DocumentRoot "C:/Users/Mario/web/default"
#<Directory "C:/Users/Mario/web/default">
#AllowOverride none
#Require all granted
#</Directory>
Include conf/vhosts/*.conf
Step 3 : Content of httpd-ssl.conf
Listen 4433
<VirtualHost _default_:4433>
# General setup for the virtual host
DocumentRoot "${SRVROOT}/htdocs"
ServerName 127.0.0.1:4433
ErrorLog "${SRVROOT}/logs/error.log"
TransferLog "${SRVROOT}/logs/access.log"
Step 4 : Created this folder : C:\Users\Mario\Web\default
Step 5 : Content of c:\xampp\apache\conf\vhosts\default :
<VirtualHost _default_:80>
DocumentRoot "C:\Users\Mario\Web\default"
<Directory "C:\Users\Mario\Web\default">
AllowOverride none
Options FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
Step 6 ; when I press on the button start on the Apache module,I see that only the port 80 is opened,port 4433 is not shown. Instead on the MySQL module I see that the port 3306 is opened. Anyway,the error that I get when I open "localhost" with my browser is :
Forbidden : You don't have permission to access this resource.
Comment
I'm trying to configure & run XAMPP on Windows 10. This is how I have configured it :
Step 1 : On my router I have opened ports : 80 and port 4433 on the TCP protocol (port mapping)
Step 2 : Content of httpd.conf :
Define SRVROOT "C:\xampp\Apache"
ServerRoot "${SRVROOT}"
Listen 80
ServerName 127.0.0.1:80
#<Directory />
# AllowOverride none
# Require local
#</Directory>
#DocumentRoot "C:/Users/Mario/web/default"
#<Directory "C:/Users/Mario/web/default">
#AllowOverride none
#Require all granted
#</Directory>
Include conf/vhosts/*.conf
Step 3 : Content of httpd-ssl.conf
Listen 4433
<VirtualHost _default_:4433>
# General setup for the virtual host
DocumentRoot "${SRVROOT}/htdocs"
ServerName 127.0.0.1:4433
ErrorLog "${SRVROOT}/logs/error.log"
TransferLog "${SRVROOT}/logs/access.log"
Step 4 : Created this folder : C:\Users\Mario\Web\default
Step 5 : Content of c:\xampp\apache\conf\vhosts\default :
<VirtualHost _default_:80>
DocumentRoot "C:\Users\Mario\Web\default"
<Directory "C:\Users\Mario\Web\default">
AllowOverride none
Options FollowSymLinks
Require all granted
</Directory>
</VirtualHost>
Step 6 ; when I press on the button start on the Apache module,I see that only the port 80 is opened,port 4433 is not shown. Instead on the MySQL module I see that the port 3306 is opened. Anyway,the error that I get when I open "localhost" with my browser is :
Forbidden : You don't have permission to access this resource.
Comment