Setting up path mapping in PHP and Eclipse

Posted by jax on Stack Overflow See other posts from Stack Overflow or by jax
Published on 2010-06-12T10:16:04Z Indexed on 2010/06/12 10:23 UTC
Read the original article Hit count: 252

Filed under:
|
|

I have just setup my website locally so I can test my pages more easily.

Eclipse has been configured to use an XAMPP server locally.

The problem is that I want to map my project to a certain place in my website.

ie. In my Eclipse PHP project I have a folder called

com

I want this to map to

/com

in the webstie.

I tried to do this in the mapping section of the Eclipse server setup but it didn't work. When I type

http://localhost/com/

It should go to my project folder, however, when I type other folder it should use the normal website folders.

how can I do this?

© Stack Overflow or respective owner

Related posts about php

Related posts about eclipse