Error opening http://localhost/prueba/index.php

jsn

Registered
Hi

I am using eclipse/phpeclipse and I am trying to open the page http://localhost/prueba/index.php, and I am getting an error message:

Not Found

The requested URL /prueba/index.php was not found on this server.
Apache/2.0.52 (Unix) PHP/5.0.5 DAV/2 Server at localhost Port 80


My Eclipse 3.1/PHPEclipse workspace is located at: /Users/jsn/Documents/workspace/php

So the page developped is at /Users/jsn/Documents/workspace/php/prueba/index.php

I usually open my php5 web pages at:http://localhost/~jsn/

What do I have to change in the Apache httpd.conf file, to be able to open the page developped with phpeclipse, using http://localhost/prueba/index.php, and pointing to /Users/jsn/Documents/workspace/php/prueba/index.php.

Thanks
jsn
 
What do you want to achieve ? There are at least 10 alternative methods of doing it.

Here are some ways ...
1) creating a new way of having user home directories
2) setting up virtual hosts
3) aliases in the file system
4) aliases in the httpd.conf
5) replacing the standard documentroot
6) redirects in httpd.conf
...

I also need to know whether you are on Mac OS X Client or Server
And if on Client, just how you installed Apache 2
 
Back
Top