Please bottom post... > I'm not an Apache guru, but I had a similar problem on Linux. You need to add > the following directive into a "conf" file. I've never installed Apache on > Windows before so I'm not sure where you need to put it. On Linux I added it > to "default-server.conf", but there might be a better place for it. > > <Directory path_to_perl_script_directory> > Options +ExecCGI > AddHandler cgi-script .pl > </Directory> >
Since this has now come up twice I thought I would at least remark on it. Using ExecCGI is a hack that should not be taken lightly. If you don't know what it does precisely then you probably don't need it, and certainly shouldn't be using it. Better to use a ScriptAlias directory when setting up a cgi-bin, for more information: http://httpd.apache.org/docs/howto/cgi.html#configuringapachetopermitcgi http://httpd.apache.org/docs-2.0/howto/cgi.html Certainly ExecCGI has its purposes, but don't think it applies here. > I recommend you also join the Apache mailing list, that's where I had help > with this problem. Actually, your question is more suited to that list than > this one. > > http://httpd.apache.org/userslist.html > Definitely a good suggestion. http://danconia.org > On Tuesday 04 May 2004 13:06, Sumanth Sharma wrote: > > Hi All, > > > > Pls Bare with me If I am scratching some rudimental stuff here > > I know perl lang Fundas. But... > > --------------------------------------------------------------------------- > >- - > > [ > > Some Historical background for my problem .... > > {History: I want a project management system, so I plan > > to use Twiki. > > So, to I plan to use some Perl/CGI to manage this. I have > > Installed "Apache > > 2.0" on D:\\ApacheGroup\Apache2". I have also Installed > > mod_perl over > > Activestate 5.8.3 build 509 " } > > > > I have also configured loop-back i.e 127.0.0.1:80 > > as my web-server > > ] > > ------------------------------------------------------------------------ > > Coming to my Question, > > > > Now, I placed a file called host.pl, in the cgi-bin folder > > > > but when I invoke http://127.0.0.1/cgi-bin/host.pl > > My browser tries to download this file. > > > > But I expected Apache/ or Perl to have executed this script. > > [I have used Win2K pro SP4, ActiveState Perl 5.8.3 build 809, Apache 2.0, > > IE 6.0, mod_perl 2.0] > > > > Where have I gone wrong ?? > > or > > How do I get my Perl scripts running on the web-server > > Pls help me. > > > > > > > > Thanks In Advance, > > Sumanth > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>