Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Serving ZIP and/or doc file from Apache

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Can some others try this simple test with Tomcat ..  
Author Message
newey499

External


Since: Jun 25, 2004
Posts: 1



(Msg. 1) Posted: Fri Jun 25, 2004 12:47 pm
Post subject: Serving ZIP and/or doc file from Apache
Archived from groups: alt>apache>configuration (more info?)

Hi all,

Apache 2.x
Windows 2000 - Sorry, but it ends up in a Real Computer (Linux)

Problem:
Downloading MS Word or Zip files from server.

Zip and doc files are corrupted. The zip and doc files are clean in the
webserver directory. Downloading the
files via the website produces corrupted file.

Am I missing something in httpd.conf -I know the files are OK, its only
when they are served via Apache

Any help gratefully received


--
Kind Regards

Chris Newey
cnewey.TakeThisOut@spymac.com
http://cnewey.pwp.blueyonder.co.uk

 >> Stay informed about: Serving ZIP and/or doc file from Apache 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Fri Jun 25, 2004 1:12 pm
Post subject: Re: Serving ZIP and/or doc file from Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris Newey <newey499 RemoveThis @hotmail.com> wrote:
 > Zip and doc files are corrupted. The zip and doc files are clean in the
 > webserver directory. Downloading the files via the website produces
 > corrupted file.

Usually there is nothing to do on the web server to have files downloaded
to your machine, if a file isn't an HTML file your browser will ask if
you want to get it. But sometimes the web server pretends to send it
as an ASCII text file instead of a binary one. So, check your MIME types.
Eventually, check also the magic file.

Davide

--
| ... After all, all he did was string together a lot of old, well-known
| quotations. -- H. L. Mencken, on Shakespeare
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Serving ZIP and/or doc file from Apache 
Back to top
Login to vote
rednoise

External


Since: Jun 26, 2004
Posts: 5



(Msg. 3) Posted: Sat Jun 26, 2004 4:54 pm
Post subject: Re: Serving ZIP and/or doc file from Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 25 Jun 2004, Davide Bianchi <davideyeahsure.TakeThisOut@onlyforfun.net> wrote
in news:2k2c3uF162g2jU2@uni-berlin.de:

 > But sometimes the web server pretends to send it as an ASCII text
 > file instead of a binary one. So, check your MIME types.
 > Eventually, check also the magic file.

I thought the default configuration files already dealt with most
common file types, including zip and doc. You're right, though - it
sounds like they are being served as text rather than binary. Maybe
his mime.types or magic files are missing or corrupt.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Serving ZIP and/or doc file from Apache 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 4) Posted: Sat Jun 26, 2004 7:46 pm
Post subject: Re: Serving ZIP and/or doc file from Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Chris Newey" <newey499 RemoveThis @hotmail.com> schreef in bericht
news:8ERCc.2636$g24.2001@nurse.blueyonder.net...
 > Apache 2.x
 > Windows 2000 - Sorry, but it ends up in a Real Computer (Linux)
 >
 > Problem:
 > Downloading MS Word or Zip files from server.
Server sends a decent content-type:
Content-Type: application/msword
Content-Type: application/zip

 > Zip and doc files are corrupted. The zip and doc files are clean in the
 > webserver directory. Downloading the files via the website produces
 > corrupted file.
So is your *.html ...
... however, the _smaller_ *.inc looks fine

 > Am I missing something in httpd.conf -I know the files are OK, its only
 > when they are served via Apache
Are you using ZoneAlarm?
Try <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableacceptex" target="_blank">http://httpd.apache.org/docs-2.0/mod/mpm_winnt.html#win32disableacceptex</a>

Are you using ZA 5 (after recent update) ... check their forum and revert to
version 4.5 !!

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Serving ZIP and/or doc file from Apache 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
apache serving ftp-requests - Hi all 'round, for years now I have used apache for document delivery and found it flexible and reliable. And I DO know that apache is an http server, not an ftp server. However I do have a project where I am forced to offer certain documents by an ftp..

Apache not serving .wml files - Quite a simple one this, I just cannot figure whats going wrong? I have both apache 1.3 and 2.0 running happily on my win XP machine, I am routing my IP address to apache using no-ip.com. With this simple set up I can type http:ant.servebeer.com and up...

Apache 2 + php Not serving correctly - I am having trouble with getting php and Apache 2.0 on Windows XP Apache is installed fine and seems to be working ok I am using the php.exe method as I am only using it as a test server on a laptop. It refused to serve any pages with .php I added the...

apache serving incomplete files - Hello, I've done some searching on this subject but have come up with nothing so I'm hoping someone here can help. I'm currently running apache 2.0.46 on my home machine and I have a couple of vitual hosts set-up. My problem is that apache appears to...

Apache stops serving pages - Hello. I've just installed Mandrake 9.2 with Apache. All I want is the web server. After a couple of minutes I noticed Apache just stopped serving pages. The logs still work though. Out put from apachectl extendedstatus Apache Server...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]