httpd cgi in /home

karlp at ourldsfamily.com karlp at ourldsfamily.com
Fri Jun 25 17:25:36 UTC 2004


>>
>> Did you put "ScriptAlias" lines in the virtual host entries in your
>> Apache httpd.conf file?  If you don't, then the only directory that you
>> can put executables in is <DocumentRoot>/cgi-bin.  You must also include
>> "AddHandler" lines for the file extensions you intend to use in
>> httpd.conf.
>

I do have .sh in AddHander, but ScriptAlias is in the general section.
This works for scripts where the shtml file is located in /var/www/html
and subdirectories. It's just in the /home/*/public_html directories where
it doesn't work. The interesting thing is I have counters in those
directories which just print to the html 'screen' and they work fine.

If I get this figured out, I'll post my solution.


>
> Karl
>
>> ----------------------------------------------------------------------
>> - Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
>> - VitalStream, Inc.                       http://www.vitalstream.com -
>> -                                                                    -
>> -               500: Internal Fortune Cookie Error                   -
>> ----------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Redhat-install-list mailing list
>> Redhat-install-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/redhat-install-list
>> To Unsubscribe Go To ABOVE URL or send a message to:
>> redhat-install-list-request at redhat.com
>> Subject: unsubscribe
>>
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>






More information about the Redhat-install-list mailing list