Error 403 and Error 404 - Win 10

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

Error 403 and Error 404 - Win 10

Postby borsaric » 01. October 2017 17:13

I have the following problem with xampp installed on windows 10.
If I type 'http://localhost/htdocs/index.php' in the browser:
I get:
ERROR 404
If I type http://localhost/c:/xampp/htdocs/index.php in the browser:
I get:
ERROR 403
Why?
How can I solve the problem?
Thanks.
borsaric
 
Posts: 2
Joined: 01. October 2017 17:05
XAMPP version: 3.2.2
Operating System: windows 10

Re: Error 403 and Error 404 - Win 10

Postby gsmith » 02. October 2017 04:44

gsmith
 
Posts: 278
Joined: 29. November 2013 18:04
Location: San Diego
XAMPP version: 0.0.0
Operating System: Win 10/2012R VS 14,15,16

Re: Error 403 and Error 404 - Win 10

Postby Altrea » 02. October 2017 06:44

Hi,

http://localhost/htdocs/index.php will request C:\xampp\htdocs\htdocs\index.php
http://localhost/c:/xampp/htdocs/index.php will request nothing, this is nonsense.

http://localhost/ => C:\xampp\htdocs\
http://localhost/dashboard/index.php => C:\xampp\htdocs\dashboard\index.php

I hope that makes sense to you.

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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error 403 and Error 404 - Win 10

Postby borsaric » 02. October 2017 10:02

OK. It's all ok.
Thanks gsmith. Thanks Altrea.
Best wishes,
borsaric.
borsaric
 
Posts: 2
Joined: 01. October 2017 17:05
XAMPP version: 3.2.2
Operating System: windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests