Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Running a cgi script from index .html

by mnlight (Scribe)
on Mar 07, 2003 at 17:27 UTC ( [id://241195]=note: print w/replies, xml ) Need Help??


in reply to Re: Running a cgi script from index .html
in thread Running a cgi script from index .html

I am using Apache server.
  • Comment on Re: Re: Running a cgi script from index .html

Replies are listed 'Best First'.
Re: Re: Re: Running a cgi script from index .html
by fruiture (Curate) on Mar 07, 2003 at 17:54 UTC

    That's good. The documentation is available online ;)

    It's likely that Ovid is right and you cannot configure anything at all, but if you can, I think the following will be configurable as it is no danger for the server.

    # .htaccess file <Files index.html> SetHandler cgi-script </File>

    Now you can simply put a Perl Script in "index.html" and it will work.

    If you only want it to be index.html because it is the directory index, there's a better method:

    DirectoryIndex index.cgi index.pl

    You don't need any index.html now, just create index.cgi (or index.pl if you like) and it will be directory index.

    --
    http://fruiture.de

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://241195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-24 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found