Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(jeffa) Re: configuring apache to automatically send Content-Type header and exec as CGI based on file extension

by jeffa (Bishop)
on Nov 03, 2001 at 21:20 UTC ( [id://123056]=note: print w/replies, xml ) Need Help??


in reply to configuring apache to automatically send Content-Type header and exec as CGI based on file extension

Slightly OT, i just wanted to add the fun to be had with 'CGI extensions': I used the second one to allow IE users to get their database results in the form of an Excel Spreadsheet. By configuring Apache to accept .xls as a CGI script (in one particular directory), the not-so-skilled users could save the file without having to change the name of the file from say, foo.cgi to foo.xls - which would have confused them.

The first one can be called just like a regular image: <img src="foo.png">. Fun stuff!

jeffa

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-03-29 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found