This topic is locked

Output Location

4/6/2010 12:35:58 AM
PHPRunner General questions
bbarker author

Once again I'm getting confused when I fill out the OUTPUT directory page.
There are THREE fields... It looks like only two can be filled out at a time... but then I see three filled out in the sample. Ouch.

  1. Website/Virtual Directory -- If I don't fill this out the very first time, then it's locked up from then on... ?!!? Can't I just point to my localhost folder (in Windows) without having a virtual folder defined?
  2. Projects\output -- any local folder works, I presume. Example: D:\Projects\Project1\output
  3. Web Site URL -- why does the url end with "index.htm" in the address? Why not end with the same as 2. above (\output)?
    Finally -- Why does 1 and 2 above have "output" listed in the url? I don't see one in my folder.

K
Khris 4/6/2010

http://xlinesoft.com/phprunner/docs/output_directory_settings.htm
Unless you have a webserver running on your local machine (where you have PHPRunner installed), you don't need to worry about anything except the Output directory.
(Assuming I've interpreted the information correctly)

Sergey Kornilov admin 4/6/2010

Bill,
I guess you are puzzled by the concept of virtual directory. This is just a convenient way to refer to physical directories that are outside of website root directory.
You don't have to do anything special if you don't understand how it works. If your webserver root directory is c:\Inetpub\WWWROOT, choose c:\Inetpub\WWWROOT\Project1 as output directory and then open it in browser as http://localhost/project1

bbarker author 4/7/2010

Okay, thanks. I understand virtual directories okay, and have enabled them on IIS for other uses.
Here's what drives me. I have lost so many good builds of PHPR projects that I always keep copies of each build. It's amazing how often my customized reports are trashed. It is much easier to back to a previous build than reconstruct my forms or reports.
So, to keep things simple I save to a PROJECTS folder. Then I manually copy it to inetpub/wwwroot/ where I view it in IE.

  1. But I am confused by seeing the "output" location. Is that the same location that I "open" the project from when I begin?
  2. Is PHP installed locally considered a "web server"? Or are you referring to IIS?
    Thanks. I appreciate any attempt to clear this up. I've struggled, and re-learned this a couple of times over the past two years, but it still is unclear. Each time I come back to it, the logic has escaped me. :-)