Web server path to local path?

Peter Felts pfelts at u.washington.edu
Sat Oct 19 11:53:32 PDT 2002


That did it. Thanks.
-----------
Peter Felts
http://www.feltsstudios.com

> From: Kolbe Kegel <kolbe at u.washington.edu>
> Reply-To: linux at u.washington.edu
> Date: Sat, 19 Oct 2002 01:10:52 -0700
> To: UW Linux Group <linux at u.washington.edu>
> Subject: Re: Web server path to local path?
> 
> i would just put print `pwd`; in my perl script.. that ought to print
> the name of the directory that the perl script is running in.
> 
> --kolbe
> 
> Peter Felts wrote:
> 
>> Hi, I'm working on a site for a client, adding a perl search engine.
>> Everything works fine, but the script needs to know the actual path to the
>> web directory on the remote server in order to search-ify it. The thing is,
>> the client didn't give me any SSH or telnet login so I can't find the real
>> path to the web directory. Does anyone know if there's a way to find out the
>> path to the real directory without a SSH/telnet login? Actually, I'm not
>> even sure if the server is unix or windows based.
>> -----------
>> Peter Felts
>> http://www.feltsstudios.com
>> 
>> 
>>  
>> 
> 
> 



More information about the Linux mailing list