NuSphere Corporation
Support Services
Overview
KB
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
Technical FAQ
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla Development
Learn PHP
<Use a php script for editingSetup project properties in PhpED>
Last updated: Sat, 27 Mar 2010

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.


<Use a php script for editingSetup project properties in PhpED>
Last updated: Sat, 27 Mar 2010