Guillaume Denizot wrote:
> 
> Hello, excuse me for my english but...
> I have installed successfuly Apache, Perl, MySQL (DBI) and
> DBD-mysql.
> test.pl is a perl file which run.
> What should I write in my home page:
> <form action="????" method="POST">?
> 
> How should I configure httpd.conf to execute it?

in http.conf:

<Directory "/path/to/server/root/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>


in your html:

<form method="post" action="/cgi-bin/test.pl">

and make sure your script is executable:

chmod 755 test.pl

should do the trick.

Reply via email to