Joined: 14 Aug 2009 |
Posts: 35 |
|
|
|
Posted: Fri Aug 14, 2009 4:31 am |
|
|
|
|
|
I know this is a common topic here so before posting I have searched through posts, read the documentation, but still can't get it right.
I am debugging on a remote apache dev server.
the project structure is as follows:
- project root
- - lots of sub directories
- - project web root
- - some files as well which I want to be able to see and edit (eg project notes text files and .htaccess)
So within the project root I have several files and 7 or 8 subdirectories, one of which is the web root directory.
How do I set up this project in PhpED?
Below details some of my attempts so far. Feel free to answer the question without reading them. Just thought I'd include them to make it clear that I have already tried several times, AND I have tried using the wizard. All with no luck.
I tried to use the wizard but the result it gave me tried to download the directory on the server which contains the project root. So it downloaded all the projects on my sever, and put them all locally within the web root in my local project. I also noticed that the wizard didnt fill in the Top publishing dir or the root URL. When I fill these in with the project-root and the web url respectively, it doesnt download anything when I hit sync.
So I've tried to set it up manually and heres what I've got so far:
Properties tab >> project
- Root directory:
c:\path\to\my\projects\folders\project-root (not project-web-root )
Properties tab >> publishing
- Top publishing directory:
/home/path/on/server/to/projects/project-root (not project-web-root )
Properties tab >> mapping
- Root URL:
http://mywebsite ( to open the project web root in a browser)
- Remote root directory:
/home/path/on/server/to/projects/project-root/project-web-root
In the Mapping tab it then looks wrong, with two lines, both mapping the web root. And when I sync it doesnt download anything. So I change the first one to only map the project root. not the web root. Hence removing the URL as well (which still exists in the second mapping entry). Then when I go back to the main properties tab it has changed, with the Root URL gone and the remote root set to the project root, not the web root. The documentation seems to suggest that the Remote Root Directory in the properties tab should be pointing to the web root. Again, when I sync at this point it doesnt download anything.
All in all I'm very confused. I've spent ages reading the documentation, web posts, and experimenting with different set ups that I havent listed here.
So. Based on the project structure listed at the top of the post, how do I set it up?
It seems like it should be really straight forward. I have a project root which should be mapped to a local project root, which contains everything in the project. And then out of that project tree I just need to tell phpED which one is the web root folder.... right..?
Heh. Well. I would really appreciate some help. Thanks in advance.
|
Last edited by cr0wn3r on Sun Aug 16, 2009 3:30 pm; edited 1 time in total
|