Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: cgi HTML head error

by perlfan (Vicar)
on Oct 27, 2021 at 23:07 UTC ( #11138129=note: print w/replies, xml ) Need Help??

in reply to cgi HTML head error

On a shared host where you have a cgi-bin directory, start off with a simple script. It doesn't even need to be Perl - it could be anything that prints to STDOUT and is executable.

The minimal response from any of these programs is this,

Status: 200 Content-type: text/html <!doctype html> <html> HTML Goes Here </html>

See I also recommend checking out CGI::Tiny. If you're on a shared host that's "powered" by cPanel/WHM, then you can likely install Perl modules locally via the cPanel interface (ask your host if you don't know). There's also cpanm coupled with local::lib.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2022-01-28 23:16 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (74 votes). Check out past polls.