Xampp on Windows 10 Error 403

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp on Windows 10 Error 403

Postby webdesignjl » 18. January 2020 04:11

Hello,

When I type in my domain name in a browser I am getting this error, error 403:

Access forbidden! you dont have permission to access the requested directory.

What can I do to not see this and be directed to my index.html file?
webdesignjl
 
Posts: 3
Joined: 18. January 2020 04:06
XAMPP version: I don't know
Operating System: Windows 10

Re: Xampp on Windows 10 Error 403

Postby Altrea » 18. January 2020 10:18

Hi,

The easiest way would be to change the DirectoryIndex setting. Move index.html to be the very first value of this setting.

Best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11938
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Xampp on Windows 10 Error 403

Postby webdesignjl » 26. January 2020 05:01

I don't understand what you are saying. Can you be more specific?
webdesignjl
 
Posts: 3
Joined: 18. January 2020 04:06
XAMPP version: I don't know
Operating System: Windows 10

Re: Xampp on Windows 10 Error 403

Postby Nobbie » 26. January 2020 10:35

Edit your Apache configuration, i.e. httpd.conf and/or one of the included conf files from folder "extra", search for the setting of "DirectoryIndex" and add "index.html" to the list. Perhaps you created VirtualHosts or similar and did not specify a DirectoryIndex at all. Read Apache documentation about the meaning of DocumentIndex as well. Google will find Apache doc.
Nobbie
 
Posts: 13177
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 165 guests