I get Access Forbidden (Error 403) when setting up new alias

I just found the same issue with Aliases on a Windows install of Xampp. To solve the 403 error: <Directory “C:/Your/Directory/With/No/Trailing/Slash”> Require all granted </Directory> Alias /dev “C:/Your/Directory/With/No/Trailing/Slash” The default Xampp set up should be fine with just this. Some people have experienced issues with a deny placed on the root directory so flipping out … Read more

Configure ngrok’s CORS headers

I just stumbled across this issue today and was able to resolve it by starting ngrok and including the –host-header flag. ngrok http –host-header=rewrite 3000 From the docs: Use the –host-header switch to rewrite incoming HTTP requests. If rewrite is specified, the Host header will be rewritten to match the hostname portion of the forwarding … Read more

Error when trying to access XAMPP from a network [closed]

In your xampppath\apache\conf\extra open file httpd-xampp.conf and find the below tag: # Close XAMPP sites here <LocationMatch “^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> and add “Allow from all” after Allow from ::1 127.0.0.0/8 {line} Restart xampp, and you are done. In later versions of Xampp …you can … Read more