Project root on webserver [message #61127] |
Sun, 18 November 2007 14:26 |
Eclipse User |
|
|
|
Originally posted by: sarmadysNOTTHIS.NOTTHISgmail.com
Hello,
I have configured a server root (e:\www\eclipse).
Now every time I want to run a php file belonging to a project (project
proj1 for example), eclipse wants to publish it to the main server root
instead of e:\www\eclipse\proj1.
How can I avoid files being published to server root.
Thank you very much for your time.
Mac
|
|
|
Re: Project root on webserver [message #61583 is a reply to message #61127] |
Fri, 23 November 2007 20:24 |
Eclipse User |
|
|
|
Originally posted by: hfallahnia.yahoo.com
In "Debug Dialog", when you create a new php server, you can clear the
check box that says "Publish files to Server".
The best way to go in my opinion is to put the project files inside your
document root folder, not in your workspace. Then you don't need any
publishing. However, if you choose to have your project files somewhere
other than doc-root, you still can give the destination folder of your web
root in "Publish To" text box. If you are using another computer as
server, the best way would be using a map drive (SAMBA if your server is
Linux).
|
|
|
Re: Project root on webserver [message #61606 is a reply to message #61583] |
Sat, 24 November 2007 10:23 |
Eclipse User |
|
|
|
Originally posted by: sarmadysNOTTHIS.NOTTHISgmail.com
Hamed, Thanks. Yes, it seems the best way is to build the project in
desired place from the beginning.
Nice to meet you, by the way :)
Siamak
Hamed wrote:
> In "Debug Dialog", when you create a new php server, you can clear the
> check box that says "Publish files to Server".
> The best way to go in my opinion is to put the project files inside your
> document root folder, not in your workspace. Then you don't need any
> publishing. However, if you choose to have your project files somewhere
> other than doc-root, you still can give the destination folder of your
> web root in "Publish To" text box. If you are using another computer as
> server, the best way would be using a map drive (SAMBA if your server is
> Linux).
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04150 seconds