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

Discussion in 'HTML' started by Nospam, Aug 15, 2006.

  1. Nospam

    Nospam 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?
     
    Nospam, Aug 15, 2006
    #1
    1. Advertising

  2. Nospam

    Karl Groves Guest

    "Nospam" <> wrote in
    news:gniEg.2$:

    > 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
     
    Karl Groves, Aug 15, 2006
    #2
    1. Advertising

  3. Nospam

    Matt Probert Guest

    On Tue, 15 Aug 2006 11:38:52 GMT, "Nospam" <> 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
     
    Matt Probert, Aug 15, 2006
    #3
  4. 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
     
    David Dorward, Aug 15, 2006
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stoco

    .htaccess and perl cgi

    Stoco, Jan 12, 2004, in forum: Perl
    Replies:
    0
    Views:
    2,877
    Stoco
    Jan 12, 2004
  2. draphael

    .htaccess for file extensions?

    draphael, Oct 30, 2005, in forum: HTML
    Replies:
    2
    Views:
    387
    draphael
    Oct 30, 2005
  3. Nospam
    Replies:
    3
    Views:
    615
    Jerry Stuckle
    May 27, 2006
  4. Mark

    .htaccess from perl script?

    Mark, Jan 9, 2004, in forum: Perl Misc
    Replies:
    5
    Views:
    173
    Eric Schwartz
    Jan 12, 2004
  5. Apache htaccess and perl

    , Aug 5, 2006, in forum: Perl Misc
    Replies:
    6
    Views:
    309
Loading...

Share This Page