Re: Setting up Apache on OS-X Tiger (not server) - Vectorworks drawings download a .txt?
- From: Heiko Recktenwald <me@xxxxxxxxxxx>
- Date: Mon, 25 Jul 2005 10:50:32 +0000 (UTC)
Dan <daninbrum@xxxxxxxxxxx> wrote:
> I am trying to configure apache to allow Vectorworks drawings to be
> downloaded. I put a file in the appropriate directory and link to them
> (e.g. <A HREF="../../myfiles/mydrawing">Test</A>).
Well, you dont use an extension, which is the most simple method to
tell the server what MIME type to send to the client.
So you get the default MIME type, which is text/plain or something like
that, safari is so clever to add the proper extension ".txt" for this
MIME type-.
You must (!) know the MIME type for Vectorworks drawings, if there is
one, or invent something new, put that into apaches mime.types file
and into safari.
The secrets of MIME...
Most funky aspect of the net next to email.
Bellcore!
H.
http://www.uni-bonn.de/~uzs106/ -- may not work in parts, DOS attacks
etc, but UNI Bonn is ok.
>
> In safari, I hold down Alt and click on the link to download the file.
> Down it comes... ...with a .txt extension. And it trys to open it in
> TextEdit. Arg!
>
> What am I doing wrong? Is it a permissions issue (it doesn't feel like
> one)?
>
> Thanks,
>
>
>
> Dan
>
.
- References:
- Prev by Date: Setting up Apache on OS-X Tiger (not server) - Vectorworks drawings download a .txt?
- Next by Date: Installing Redhat/Ubuntu etc on Virtual PC problem
- Previous by thread: Setting up Apache on OS-X Tiger (not server) - Vectorworks drawings download a .txt?
- Next by thread: Installing Redhat/Ubuntu etc on Virtual PC problem
- Index(es):
Relevant Pages
|