View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Fri May 24, 2002 2:36 pm Post subject: Paths within cgi scripts |
|
|
I am using the abyss web server to develop perl programs on a local pc running win xp. no problems with the configuration. But when using paths to files that work on my unix hosting server abyss fails to locate the path.
for example "/cgi-bin/store/admin/data/init.ini". The perl compiler is putting out an error saying that the file does not exist. But if you copy and paste the path given in the error it will display it fine. And remember on a unix box it finds the file just fine.
Any ideas?
Great server, keep it coming.
Jon |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri May 24, 2002 11:13 pm Post subject: Re: Paths within cgi scripts |
|
|
Anonymous wrote: | I am using the abyss web server to develop perl programs on a local pc running win xp. no problems with the configuration. But when using paths to files that work on my unix hosting server abyss fails to locate the path.
for example "/cgi-bin/store/admin/data/init.ini". The perl compiler is putting out an error saying that the file does not exist. But if you copy and paste the path given in the error it will display it fine. And remember on a unix box it finds the file just fine.
Any ideas?
Great server, keep it coming.
Jon |
When a CGI script is run, the default directory is the one where it is located. So you'll need to code the paths with respect to your current configuration (using absolute paths like c:\somepath\cgi-bin\.... ). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|