Project directory structure

Hi

I am just trying out PhpStorm 7 and I cant seem to configure my project correctly.

My project has the following structure

  • Project-folder
    • protected-folder
      • other folders...
    • public folder
      • css
      • index.html


I want to automatically copy all files and folders from the project folder to my remote server.
So I configured a remote server and defined the mappings from my project folder to the web folder.
And this is working fine. My files get copied to the server in the correct path.

So on server I have

  • Web-folder
    • protected-folder
      • other folders
    • public folder
      • css
      • index.html


Where the public folder is the webservers document root.

But I cant seem to find a way to specify, which folder is the document root, so when I try to open index.html in a browser (from within PhpStorm), it opens
http://example.com/public/index.html instead of http://example.com/index.html.


So my question is, how do I set it up correctly?

Cheers....

Morten

Message was edited by: Morten Nielsen

1 comment

Hi there,

So my question is, how do I set it up correctly?

I do not think it's possible -- otherwise this ticket would not exist: http://youtrack.jetbrains.com/issue/WI-15169

0

Please sign in to leave a comment.