<?xml version="1.0" encoding="windows-1252"?>
<node id="751229" title="Re^2: Prompted to Open or Save CGI Program -- configuration issue?" created="2009-03-17 11:55:18" updated="2009-03-17 11:55:18">
<type id="11">
note</type>
<author id="522408">
olus</author>
<data>
<field name="doctext">
&lt;code&gt;
&lt;Directory "PATH FOR YOUR CGI SCRIPTS"&gt;
    Options ExecCGI
    SetHandler cgi-script
&lt;/Directory&gt;
&lt;/code&gt;
&lt;p&gt;is instructing apache to treat the files found at that particular directory as Perl scripts. So, write there the location of the scripts, and make sure they are executable.&lt;/p&gt;
&lt;p&gt;
&lt;blockquote&gt;&lt;i&gt;my file doesn't have the &lt;virtualhost *&gt; command&lt;/i&gt;&lt;/blockquote&gt;
Maybe your &lt;code&gt;httpd.conf&lt;/code&gt; doesn't have the &lt;code&gt;virtualhost&lt;/code&gt; directive but, if you look at the dir where your &lt;c&gt;httpd.conf&lt;/c&gt; file is, you will find a few directories like &lt;code&gt;vhosts, extra, or other ....&lt;/code&gt;. Peeking into the files in there you'll probably find that directive. There are different ways to configure vhosts, I suggest you read some introductory material on Apache.
&lt;/p&gt;</field>
<field name="root_node">
751091</field>
<field name="parent_node">
751165</field>
</data>
</node>
