Object not found error.(but folders exist)

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

Object not found error.(but folders exist)

Postby vnaren » 05. January 2016 18:07

I have a peculiar problem.
I have a file test.html in a folder named test in the htdocs folder ( htdocs/test/test.html)
When i type in localhost/test/test.html it says Object not found.
Surprisingly enough,the home page (localhost) is being shown.
Not able to understand this problem.

Note:
I have 2 operating systems(ubuntu and windows)
I have eclipse ee installed with tomcat server on both windows and linux.
Last edited by vnaren on 06. January 2016 13:52, edited 1 time in total.
vnaren
 
Posts: 3
Joined: 05. January 2016 17:59
Operating System: Windows

Re: Object not found error.(but folders exist)

Postby Nobbie » 05. January 2016 20:31

vnaren wrote:I have a peculiar problem.
I have a file test.html in a folder named test in the htdocs folder ( htdocs/test/test.html)
When i type in localhost/test/test.php it says Object not found.


Of course, because you enter "test.php" but the filename is "test.html" (different extension).
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04

Re: Object not found error.(but folders exist)

Postby vnaren » 06. January 2016 13:52

sorry for the typing mistake.It's not just about 1 file,but no sub-folders are being recognized
vnaren
 
Posts: 3
Joined: 05. January 2016 17:59
Operating System: Windows

Re: Object not found error.(but folders exist)

Postby Altrea » 06. January 2016 15:27

Please provide full information:
- full path of the file
- known file extensions hidden or not? (maybe the file is named test.html.txt and not test.html?)
- full URL as shown in your browsers address bar
- full error messages
- full Apache access.log entries relating to the request

The fact that the dashboard is running is a good hint that you are doing something wrong and XAMPP is working correctly.
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: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Object not found error.(but folders exist)

Postby vnaren » 06. January 2016 15:38

Well, I just re-installed in C:\ drive and it's working for now.I'll come back if I have any problem.Thank you @Altrea and @Nobbie
vnaren
 
Posts: 3
Joined: 05. January 2016 17:59
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 187 guests