Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to load a cgi script when the webpage loads

by LogicalChaos (Beadle)
on Jan 03, 2002 at 04:46 UTC ( #135872=note: print w/replies, xml ) Need Help??


in reply to How to load a cgi script when the webpage loads

If you want the cgi script instead of a page (default.html for instance), redirect from your page to your cgi script: <META HTTP-Equiv="Refresh" CONTENT="3; URL=http://your.place.com/cgi/my.cgi">

Replies are listed 'Best First'.
Re: Answer: How to load a cgi script when the webpage loads
by merlyn (Sage) on Jan 03, 2002 at 04:55 UTC
Re: Answer: How to load a cgi script when the webpage loads
by Anonymous Monk on Jan 03, 2002 at 07:28 UTC
    Better yet, if you have access to the server (or virtual host) configuration, just disguise your cgi's as .html files by using the AddType and AddHandler under apache or the equivilant on other webservers. Or for a more "friendly" alternative, add .cgi, .pl, .exe or whatever to the DefaultIndex (or equiv. on other servers). -c

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2021-04-23 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?