--- Ryan A <[EMAIL PROTECTED]> wrote: > Am a bit puzzled here, we have to run a script to start/stop a > server....but we have to run the script below the public folder! > this is our structure /blah/theServer/public_html/ > the script is located in /blah/theServer/
For future reference, the script in question is in fact not "below" (under) document root. In fact, it is quite the opposite; it is outside of document root. The only things that you have to have under document root are those things that need to be referenced via a URL. That's it. > I noticed one funny thing about this script, it starts with: #!/bin/sh > right on top but does not have a file extention...what kind of a file > is this? A shell script. > According to the documentation the script has to be executed like so > <scriptname> start > (or) > <scriptname> stop > > How do I do that? If the script is named foo, type this from the directory where it is located: ./foo start Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php