Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2014 11:31:59 -0400
From:      Monah Baki <monahbaki@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: CGI scripts not working
Message-ID:  <CALP3=x_UfDwFvsu8c-Tr24b7kMsJYHBiXy3tZ6MMJTGKK0F3Bw@mail.gmail.com>
In-Reply-To: <54047BB2.30509@bytecamp.net>
References:  <CALP3=x-9TJFWKzCvTo%2BiLp9cZZOKKt3vBxunmLLtor_tVWRQkg@mail.gmail.com> <54047BB2.30509@bytecamp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks all, renaming the file test to test.cgi works.

Now I have other cgi files without the .cgi extension, how can I keep
them as is without changing the file name and have apache read them
correctly.

I did enable the following:
LoadModule cgi_module libexec/apache24/mod_cgi.so
LoadModule cgid_module libexec/apache24/mod_cgid.so



Thank you

On Mon, Sep 1, 2014 at 9:59 AM, Robert Schulze <rs@bytecamp.net> wrote:
> Hello,
>
> Am 01.09.2014 14:55, schrieb Monah Baki:
>
>> Hi all,
>>
>> I installed on FreeBSD 9.3 apache 2.4 from ports
>>
>> I am trying to run the following test script located in
>> /home/ipaudit/public_html/cgi-bin/test
>
>
> test does not match "*.cgi", so your Handler doesn't get called.
> Rename test to test.cgi and retry.
>
> regards,
> Robert Schulze
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALP3=x_UfDwFvsu8c-Tr24b7kMsJYHBiXy3tZ6MMJTGKK0F3Bw>