I think you will need to make it www.mydomain.com/calendar.cgi, but if that
small change is okay, what you want to do should be doable. Without knowing
the details of your setup, I can't give you a step-by-step guide, but a
general outline is:

        make /DocumentRoot/calendar.cgi a symlink to
                /DocumentRoot/cgi-bin/calendar/script.cgi 

        turn on the apache (you are using apache, right?) options
                for /DocumentRoot to AlowSymlinks and ExecCGI

... replacing /DocumentRoot above with whatever your actual DocumentRoot is.

This may be pretty much what you've tried. If so, then your only problem is
that without the .cgi in the symlink, apache isn't recognizing the program
as an executable. If making that change doesn't help, you'll need to
describe the setup and what you are trying in more detail.

Oh, one specific -- the symlink has to point to the cgi program itself, not
to the directory it is in.

BTW, if I were doing this myself, I might take a slightly different
approach. I'd have a short intro page at (say) URL
www.mydomain.com/calstart.html that contained a "Welcome ..." message and a
form that used a button to start the calendar's cgi from its native
location. Adds a step, but not a terribly burdensome one. Or if the domain
just runs the calendar, this page could be the default Home Page even.

At 05:15 PM 3/1/00 -0600, Rob Wright wrote:
>I've got something I've been trying to do, and am about to the point of
>thinking it can't be done. I have a cgi for a webpage calendar that I
>would like people to be able to visit without having to use a big long
>URL like www.mydomain.com/cgi-bin/calendar/script.cgi, but something
>simple like www.mydomain.com/calendar. Is there any way to do this with
>a link between a /home/calendar directory and the cgi directory? I've
>tried numerous combinations looking for the right one and nothing seems
>to work. I've been able to get the link to point to the right directory,
>but not execute the cgi, it just lists the folders. Any helpful hints??

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to