httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Glauberman" <rglauber...@michaeli-gymnasium.de>
Subject Re: [users@httpd] Mime_Types
Date Mon, 22 Nov 2004 16:52:35 GMT
open a shell at your webserver. then enter
telnet localhost 80
telnet will open a connection to the server. here you enter the following:
GET /portal/test.doc HTTP/1.0<ENTER>
<ENTER>

you will get a lot of text, the only interresting thing is the serverheader 
in the beginning. it should look like this:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 200 OK
Date: Mon, 22 Nov 2004 16:51:33 GMT
Server: Apache
Last-Modified: Wed, 10 Nov 2004 10:04:00 GMT
ETag: "11cbd-a32-939d0400"
Content-Length: 2610
Connection: close
Content-Type: text/html

you see the content-type line? this is what we need.
ralf

----- Original Message ----- 
From: "Santaro, Paulo" <paulo.santaro@eds.com>
To: <users@httpd.apache.org>
Sent: Monday, November 22, 2004 12:39 PM
Subject: RE: [users@httpd] Mime_Types


> How can I do that?
>
> TKS
>
>
> Paulo Santaro
>
> -----Original Message-----
> From: Ralf Glauberman [mailto:rglauberman@michaeli-gymnasium.de]
> Sent: Friday, November 19, 2004 2:20 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Mime_Types
>
> do your tests by telneting into the server on port 80 and doing your
> requests, we need the mimetype-headers to see whats the problem.
> ralf
>
> ----- Original Message ----- 
> From: "Santaro, Paulo" <paulo.santaro@eds.com>
> To: <users@httpd.apache.org>
> Sent: Friday, November 19, 2004 3:32 PM
> Subject: [users@httpd] Mime_Types
>
>
>> Hi,
>>
>> I'm having a problem to upload files like .doc, .xls and etc, inside a
>> specific directory.
>>
>> When I put a file .doc inside de Apache DocumentRoot and try to open that
>> file, a message show me up to choose "Save or Open" the file. At the
>> moment
>> everything is OK.
>>
>> I'm using Apache with WebLocig and I have a redirect directive like this
>> in
>> httpd.conf:
>>
>> <IfModule mod_weblogic.c>
>> MinSpareServers 10
>> MaxSpareServers 30
>> StartServers 5
>> MaxClients 150
>> MaxRequestsPerChild 10000
>>        WebLogicHost dsv004.cvrd.br
>>        WebLogicPort 8080
>>        MatchExpression *.jsp
>>        DefaultFileName index.jsp
>>        PathTrim /portal
>>        PathPrepend portal/
>> </IfModule>
>>
>> So, when I put the same file .doc inside the directory /portal and try to
>> access it, the file has been opened on the web browser like an html file
>> and
>> no message show me up to save or open file.
>>
>> Has somebody idea what is going on?
>>
>> Regards
>>
>>
>> Paulo Santaro
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message