aueddonline |
09-21-2011 05:18 PM |
running cgi Ubuntu/Apache 2
I have apache2 and perl installed on an ubuntu box. I'm trying to use some server side perl script on my default website.
below is the html for my website, when i type in localhost to my browser it takes me to a directory listing of the files. I can then click on index.shtml and get the page up. However the perl cgi scipt isn't run. If I go back to the directory listing root page I get 'permission denied' when clicking on the cgi-bin folder. I have changed the owner and the groups of the website directories to the www-data. Any idea why my script isn't running and why I have a permission problem?
Code:
<HTML>
<BODY>
<P>Here's the output from my program:</P>
<FORM ACTION="cgi-bin/hello.cgi" METHOD=POST>
<P>This is the correct Version</P>
</BODY>
</HTML>
|