[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with apache



If I include this line in my index file:
<!--#include virtual="/cgi-bin/count.cgi" -->
All it wants to do is download the page to disk. The .html page does not even load. If I remove the line of code the pages loads fine.. ???

RegardsAt 07:19 PM 11/10/2000 +0000, you wrote:
Eileen Orbell <eileen@orbell.com> wrote:
>I need a little help with apache and setting up the following code to
>run.  At this moment it is contained in my .hmtl file and nothing happens
>other than the other html code I have in there
>
><!--#exec cgi="http://hostname/cgi-bin/count.cgi"-->
>
>I have 3 files in my /etc/apache directory
>httpd.conf
>srm.conf
>access.conf
>
>If this helps any I can run .cgi files in the cgi-bin directory fine...

You don't have the IncludesNOEXEC option set for the location containing
your .html file, do you? If so, change it to just Includes.

(BTW, <!--#include virtual="/cgi-bin/count.cgi" --> is preferable to
#exec cgi.)

--
Colin Watson                                     [cjw44@flatline.org.uk]


--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Eileen Orbell
Software & Internet Applications
Capitol College
mailto:eileen@orbell.com
mailto:eileen@orbell.net
Don't Fear the Penguin.





Reply to: