Wrong file directory

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

Wrong file directory

Postby sarah » 08. June 2010 04:29

Hi, guys. Can somebody help me with this problem please?

I recently installed Xampp and Netbeans. I tested my xampp installation and everything looks good. my installation directory looks like this: C:/xampproject/xamp/htdocs.

I saved my index.php file in the htdocs.

When I wrote my small "hello world" script using netbeans and then ran it, it goes and looks for the file in http://localhost/htdocs/index.php and that fails with this error message here:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
6/7/2010 10:05:24 PM
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1


but if I type http://localhost/index.php , my script works fine.

I have searched forum for answers to this, but I couldn't find any help. I'm running windows vista.

Please, please, please help me.

Thanks!
sarah
 
Posts: 2
Joined: 08. June 2010 04:09

Re: Wrong file directory

Postby Altrea » 08. June 2010 05:19

This is a Netbeans configuration issue.
Please check your netbeans configuration.
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Wrong file directory

Postby sarah » 08. June 2010 05:24

Hi,

Do you know what it might be with a netbeans configuration? The way I set up netbeans was simply to point the project to my htdocs. This is according to the installation instruction.

Please help me some more.

Thanks for your earlier replies.
sarah
 
Posts: 2
Joined: 08. June 2010 04:09

Re: Wrong file directory

Postby Altrea » 08. June 2010 05:27

Sorry, i just can help you partly on this problem.
I haven't got installed Netbeans on my Netbook.

If you create a new project in Netbeans you can define the correct path/url which opens in the browser if you run the project-file.
I'm pretty sure that you can change this part on existing projects.
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: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 68 guests