Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > perl file(.pl) file in my htaccess doesn't work

Reply
Thread Tools

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

 
 
Nospam
Guest
Posts: n/a
 
      08-15-2006
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?


 
Reply With Quote
 
 
 
 
Karl Groves
Guest
Posts: n/a
 
      08-15-2006
"Nospam" <(E-Mail Removed)> wrote in
news:gniEg.2$(E-Mail Removed):

> 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?



--
Karl Groves
www.karlcore.com
 
Reply With Quote
 
 
 
 
Matt Probert
Guest
Posts: n/a
 
      08-15-2006
On Tue, 15 Aug 2006 11:38:52 GMT, "Nospam" <(E-Mail Removed)> wrote:

>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


--
A comprehensive who's who of the world's mythologies.

http://www.probertencyclopaedia.com/mythology.htm
 
Reply With Quote
 
David Dorward
Guest
Posts: n/a
 
      08-15-2006
Matt Probert wrote:

> 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).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache htaccess and perl robertutah@gmail.com Perl Misc 6 08-05-2006 06:12 PM
redirect to a perl script with htaccess Nospam HTML 3 05-27-2006 07:44 PM
.htaccess for file extensions? draphael HTML 2 10-30-2005 07:34 PM
.htaccess from perl script? Mark Perl Misc 5 01-12-2004 09:57 PM
.htaccess and perl cgi Stoco Perl 0 01-12-2004 08:13 PM



Advertisments