Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

WebTen

Re: CGI problem

To: webten@xxxxxxxxxxxxxxx
Subject: Re: CGI problem
From: Charlie Romero <charlie@xxxxxxxxxxxxxxxx>
Date: Tue, 14 Nov 2000 23:47:35 -0500
> Your .pl scripts should work as you expect under WebTen. The most
 common problem is permissions. Is the script in an executable
 directory? Maybe /cgi-bin/myscripts/ or something to that affect?
 What are you using as your path variable in your script?

Hi,


The permissions are all set properly. I don't know what path I should be using
but I'm using:

One thing that sometimes happens is your cgi will try to write a temp. file the stock cgi-bin directory permissions are 775 and if you're trying to write into it it will fail. What I've done is create a subdirectory called /scripts/ and chmod it to 777 and then place my publicly executable script in this directory. In your case the .cgi might be attempting to write the temp .html file in the cgi-bin directory and that's not allowed.


/usr/local/etc/httpd/cgi-bin/

that looks like the right path.


The other question I have is how to set up separate cgi-bin directories for each
virtual host. Right now I just have one main one at the top level. Any help
would be appreciated.

I think there's some notes on this topic on Tenon's site. I don't offer that feature so I can't help.


Good luck.

charlie

----
Tenon Intersystems' WebTen Mailing List
To unsubscribe: send mail to webten-request@xxxxxxxxx with the subject: unsubscribe
Find searchable Mailing List archives at
http://listsearch.blueworld.com/webtensearch.lasso


<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists