cgi absolute path

marburger

Registered
I have cgi scripts that load a common resource file. They need to locate this resource file through an absolute path.

Could someone please share the absolute path to the CGI-Executables folder?

I have tried
A) /Library/WebServer/CGI-Executables/filename.cgi
B) /Local/Library/WebServer/CGI-Executables/filename.cgi
C) /Users/myname/Library/WebServer/CGI-Executables/filename.cgi

and no luck.

Thanks in advance.
 
Well, after much surfing the "absolute" path to the CGI-Executables folder is.....

~/Library/WebServer/CGI-Executables/filename.cgi

I'm not sure why the ~ (tilda) is required, but I tried it and it worked!!

Enjoy.
 
Back
Top