Noob question.
I have my first cgi script and when I run it the browser displays the source code of the script instead of executing it.
I added both:
My script is set to 755.
May be I should add some preferences to the proxy server?
Or should point the script some way. I am new to Apache and don't know if I should do something else except start it.
I would appreciate any clue.
Corwin
I have my first cgi script and when I run it the browser displays the source code of the script instead of executing it.
I added both:
Code:
ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
AddHandler cgi-script .cgi .pl
My script is set to 755.
May be I should add some preferences to the proxy server?
Or should point the script some way. I am new to Apache and don't know if I should do something else except start it.
I would appreciate any clue.
Corwin