OT: mime-type for CSV

2000-10-10 Thread Robert Friberg


Hi all,

I have a handler that returns data in CSV-format. How can
I persuade browsers to suggest a fileextension of .csv

All the users are known and have MS Excel on their windoze
boxes.


regards,

--
robert friberg, ensofus ab




simplest authorization possible, please

2000-10-07 Thread Robert Friberg


Hi all,

I'm not really that lazy, I could probably find out
pretty quickly from the excellent guide or the eagle 
book in my lap right now.

It's just that I'm way behind schedule for an application
thats due on monday :=) Any time saved will be greatly
appreciated, I promised my daughter a biketrip today.

Given this:


Location /padm
  SetHandler perl-script
  PerlHandler Apache::padm
/Location


What is the fastest/simplest way to add basic authorization?
I'm comfortable with hardcoded usernames/passwords in a
handler for now.

Many, many thanks in advance.
--
robert friberg, ensofus ab




caching dynamic pages

2000-08-14 Thread Robert Friberg


Hi all,

I'm new to modperl but not perl, running a standard RH 6.0
with the modperl RPM off apache.org. I'm generating pages
from a mysql db which change maybe 3 times a week. The
expected traffic will be between 1000 and 1 hits 
per day. Obviously I would like to cache some of the
common pages and maybe some raw table data.

My question is where should I put the var and how do I access it? 
I don't want one copy for each child, so I should go for the
startup file, right?

tia,
--
robert friberg, ensofus ab
+46(0)708 98 57 01