Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: http server problems

by funky_aunt (Acolyte)
on Feb 10, 2002 at 18:42 UTC ( #144493=note: print w/replies, xml ) Need Help??


in reply to Re: http server problems
in thread http server problems

The question was mine yesterday. I tried the suggestions but am back for more help. I am running the Apache Http sever under windows.xp. So far I have just tried a simple "Hello World" script. #!/usr/bin/perl print "Content-type:text/html"; print "<html><head><title>Test Page</title></head>"; print "<body>\n"; print "

Hello, world!

\n"; print "</body></html>\n"; it is a .pl file in my cgi-bin directory. When I load this page through a web browser, it diplays the shebang line and the print commands and the \n's I have change the options, the addhandler and the scriptalias

Replies are listed 'Best First'.
Re: Re: Re: http server problems
by gellyfish (Monsignor) on Feb 10, 2002 at 19:05 UTC

    You probably want to put a <code> </code> around your code in the first instance ;-}

    Also you will need to read in the Apache Documentation with reference to the ExecCGI option. It is also important with Apache that you have the shebang line correct ...

    If you are still having difficulties you will probably want to find Some Apache specific forum to ask the question

    /J\

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-12-01 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?