Page 1 of 1

Object not found error.(but folders exist)

PostPosted: 05. January 2016 18:07
by vnaren
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.

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

PostPosted: 05. January 2016 20:31
by Nobbie
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).

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

PostPosted: 06. January 2016 13:52
by vnaren
sorry for the typing mistake.It's not just about 1 file,but no sub-folders are being recognized

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

PostPosted: 06. January 2016 15:27
by Altrea
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.

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

PostPosted: 06. January 2016 15:38
by vnaren
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