perl file(.pl) file in my htaccess doesn't work

G

Guest

I don't know why this doesn't work in my htaccess, every user who visits the
site a perl program is supposed to run, which sows the time, however this
doesn't work at all, is there a particular set of rules to use a perl file
..pl in an htaccess file?
 
K

Karl Groves

I don't know why this doesn't work in my htaccess, every user who
visits the site a perl program is supposed to run, which sows the
time, however this doesn't work at all, is there a particular set of
rules to use a perl file .pl in an htaccess file?

My clock works just fine. I have one on my computer, one on my desk, and
one on the cell phone attached to my belt. Do I really need your site to
tell me the time?
 
M

Matt Probert

I don't know why this doesn't work in my htaccess, every user who visits the
site a perl program is supposed to run, which sows the time, however this
doesn't work at all, is there a particular set of rules to use a perl file
.pl in an htaccess file?

In simple terms...

Perl is a server-side scripting language called through CGI. .htaccess
is an additional configuration file for the Apache web server.

Within a web page you may, for example use something like:

<img src="perl_clock.pl">

To automaticaly call a Perl program which returns an image to be
displayed.

You will have to check your server's configuration to establish:

1) If perl scripting is enabled
2) In which directory CGI execution is allowed.

If the server is not your own, but is on a shared hosting service,
then contact the host for assistance.

Matt
 
D

David Dorward

Matt said:
Perl is a server-side scripting language called through CGI.

Perl is a general programming language that can be used by webservers
through CGI and other interfaces (including mod_perl and FastCGI).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top