|
|
 |
|
|
HOWTO: Setup project with scripts located out of the web tree ?
I have some scripts placed out of my web tree. E.g. I include them using relative path that is one level upper the apache htdocs (documentroot). How to setup my project in this case ?
To make the explanation easier, let's consider the following scenario.
Assume, your web tree starts in /var/www/html like in many RH distro. Suppose your out of web site scripts are in /var/www/secured/ directory. Also assume that you have created c:\myproject\html directory for your poject part that corresponds to web tree and c:\myproject\secured that would correspond to out-of-web part. Well.
In this case set up the following properties for your project:
- Root directory => c:\myproject\
- Remote root directory => /var/www/
- Root URL should be left blank.
then switch to the Mapping tab and add an additional mapping point:
- remote directory => /var/www/html/
- local directory => c:\myproject\html\
- url => http://yourserver/
That's all tricks.
|
|
|  |
|