Re: cgi and symbolic links

2003-01-23 Thread R. Joseph Newton
Harry Putnam wrote: > Boy, that sailed right over my head... I guess I'd need a little more > filling on both sides of that input to understand it. Hi Harry, The point is that CGI is mostly a process of getting the name and value attributes of form input tags into your programs data hash as nam

Re: cgi and symbolic links

2003-01-23 Thread Harry Putnam
"R. Joseph Newton" <[EMAIL PROTECTED]> writes: > Harry Putnam wrote: > >> I wanted to use a single cgi script to generate several different >> formated pages. > > Hi Harry, > > Given that this is CGI, which interacts with forms on a web page, I > would suggest a different approach: > > # In the o

Re: cgi and symbolic links

2003-01-23 Thread R. Joseph Newton
Harry Putnam wrote: > I wanted to use a single cgi script to generate several different > formated pages. Hi Harry, Given that this is CGI, which interacts with forms on a web page, I would suggest a different approach: # In the original calling page: # In the script to return a page: print W

Re: cgi and symbolic links

2003-01-23 Thread Harry Putnam
Harry Putnam <[EMAIL PROTECTED]> writes: regarding apache setting: Harry wrote: > I won't be able to check this immediately since I don't have root. > But will be able eventually. I turns out the conf file is only write protected so I was able to view it as user. Options FollowSymLinks

Re: cgi and symbolic links

2003-01-23 Thread Harry Putnam
Pete Emerson <[EMAIL PROTECTED]> writes: > I put a working test.pl in /var/www/cgi-bin. > Then I symlinked test2.pl to it. > When I loaded up test2.pl, the web page said: > Forbidden > You don't have permission to access /cgi-bin/test2.pl on this server. I won't be able to check this immediately

RE: cgi and symbolic links

2003-01-23 Thread Dan Muey
> I put a working test.pl in /var/www/cgi-bin. > Then I symlinked test2.pl to it. > When I loaded up test2.pl, the web page said: > Forbidden > You don't have permission to access /cgi-bin/test2.pl on this server. > > Then I put this in my section of > httpd.conf: Options FollowSymLinks That's

Re: cgi and symbolic links

2003-01-23 Thread Pete Emerson
I put a working test.pl in /var/www/cgi-bin. Then I symlinked test2.pl to it. When I loaded up test2.pl, the web page said: Forbidden You don't have permission to access /cgi-bin/test2.pl on this server. Then I put this in my section of httpd.conf: Options FollowSymLinks Now test2 works, and th

RE: cgi and symbolic links

2003-01-23 Thread Dan Muey
> I ran into something today I've never noticed any comment > here about. Maybe I should know this but never ran into it before. > > I wanted to use a single cgi script to generate several > different formated pages. That is, the output page would > have different ordering depending on the

cgi and symbolic links

2003-01-23 Thread Harry Putnam
I ran into something today I've never noticed any comment here about. Maybe I should know this but never ran into it before. I wanted to use a single cgi script to generate several different formated pages. That is, the output page would have different ordering depending on the content of ENV{SC