Thanks for the understanding of the conf file includes. It's a big help.
Since all of the cgi scripts I'll be running on this server are nph
scripts, I was finally able to get them to work by routing all cgi
scripts to nph-cgiwrap instead of cgiwrap in the cgiwrap.conf file.
However, I understand that using mod_perl to execute perl scripts is
more efficient and faster than using cgiwrap. This server is not
going to be open to the general public, so I'm not concerned with the
security issues of not using cgiwrap.
Does anyone know if there is a way to make sure that mod_perl is used
to execute cgi perl scripts, and how can it be known that mod_perl is
executing the scripts instead of cgiwrap?
Mark
On Feb 28, 2007, at 11:38 AM, Adam Crews wrote:
> hmm.. I would have thought that would have worked. The other place
> would be in the mod_perl conf directly. On my system the module is
> loaded, but not actually used. (as none of the SetHandler directives
> are all commented). The config file is /etc/httpd/conf.d/perl.conf
>
> For the structure, basically, it goes:
> /etc/httpd/conf/httpd.conf
> then /etc/httpd/conf.d/*.conf is included
> then each of the sites in /etc/httpd/conf/vhosts is included
> each of these siteXX files also includes a siteXX.include from the
> same directory.
>
> -Adam
>
> On 2/28/07, Mark Landson <mark (at mark) landsonmusic.com> wrote:
>>
>> Thank you for helping me to understand the file structure here.
>> Unfortunately, when I do that, it still doesn't work. Is there
>> something
>> else that might be over-riding it? Can .htaccess files be used?
>>
>> Is there a flow chart of the file structure someplace? That would
>> be helpful
>> for people getting to know this system.
>>
>> Mark
>>
>>
>>
>> On Feb 28, 2007, at 2:16 AM, Adam Crews wrote:
>>
>> in /etc/httpd/conf/vhosts
>> you will see a bunch of siteXX.include files
>> simply add this to the which ever site you want to enable it for, and
>> run 'service httpd restart'
>>
>> -Adam
>>
>> On 2/27/07, Mark Landson <mark (at mark) landsonmusic.com> wrote:
>> Hello all, I'm new to BlueQuartz and the mailing list. Hopefully
>> someone can help out with a problem I've run into.
>>
>> I noticed that my NPH (non-parsed headers) perl scripts don't work.
>> Is there a way to enable nph support? Normally, in the mod_perl
>> config file I would put this:
>>
>> <Files */nph-*>
>> PerlSendHeader Off
>> </Files>
>>
>> but I don't know where that should go in the BlueQuartz
>> configuration.
>>
>> Any help would be very much appreciated!
>>
>> Mark
>>
>>
>>
>>
>>
>> --
>> -----------------------------------------------------------------
>> Shroom.net Donation Based Web Hosting
>> http://www.shroom.net/
>> -----------------------------------------------------------------
>>
>>
>>
>
>
> --
> -----------------------------------------------------------------
> Shroom.net Donation Based Web Hosting
> http://www.shroom.net/
> -----------------------------------------------------------------
>