NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
HOWTO: Setup project with scripts located out of web tree ?
Site Admin

Joined: 13 Jul 2003
Posts: 8328
Reply with quote
HOWTO: Setup project with scripts located out of the web tree ?

Quote:
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.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
HOWTO: Setup project with scripts located out of web tree ?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic