Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you find the "server path" 1

Status
Not open for further replies.
May 14, 1999
7
US
I am trying to get a CGI script called Flypage Updater to work on a web page I am building. The pages are hosted with Verio.<br>
<br>
The writers at Flypage Updater tell me I need to know the "server path". Here is the message they sent me.<br>
<br>
&gt;First in your config.txt file the page path is incomplete.<br>
<br>
&gt;Page=Demo Page From Flypage<br>
&gt;Page Path=/flypage/demo.html<br>
&gt;Page Template=/flypage/demo.tmpl<br>
<br>
<br>
&gt;A path is the complete server path. On my system it is /usr/home/flypage/html/flypage/demo.html You need to determine the complete path. <br>
<br>
Verio tech support has been totally non-helpful. I admit I'm new at this, but they just tell me they don't support third party CGI scripts and have been unresponsive.<br>
<br>
How can I find the "complete server path"?
 
#!/usr/bin/perl<br>
<br>
print "Content-type: text/html\n\n";<br>
while (($key, $val) = each %ENV) {<br>
print "$key = $val&lt;BR&gt;\n";<br>
}<br>
<br>
Place the above script in your cgi-bin, make sure permissions are set to execute and run in either from a browser or from the command line.<br>
<br>
It should give you the answers you need.<br>
<br>
--<br>
Jeremy
 
Or if you can log on via telnet, you can simply type pwd at the command line.<br><br>Don
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top