|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
On Fri, 3 Jun 2005, Andreas Riedel
<news4riedel@expires-2005-06-30.arcornews.de> wrote: > Hello NG. > > I've some problem which is hard to explain and I even didn't found it an > other posting. I don't think, that this woun't be discused. But there are so > many items for Apache and download, that I wasn't able to find, what I > searching for. So please excuse, that I will post a question which will have > tousands before me. > > I have the problem, that I've install an Apache Server only for one reason. > To deliver software in the intranet. There are no static or dynamic HTML > pages on the server, only ZIP and EXE and so on. > > I've configured these directory like the follow > > AliasMatch ^/software-hoghead(.*) > "D:/Sonstiges/Austausch/software-hoghead$1" > ><Directory "D:/Sonstiges/Austausch/software-hoghead"> > Options Indexes FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all ></Directory> > > All seams to be fine. I can navigate throw the directory and even download > all the files on the server. But the strange thing is, even while the > downloaded files are from same size and looks fine, they are demaged. > Zipfile lose there icons and can't be open, ZIP files are corrupted and can > not be unpacked. I don't no what happens, but it looks like I have > misconfigured something, so that the file lose some of there very last bits > or I don't know. > > I've try the download from Firefox, IExplore and LeechGet. All with the same > result. All download crashed. So please tell me what's going wrong. Maybe you do not find any answers related to apache, because it may or may not be an apache problem. The only thing I can think of that could be apache related is if you messed with the mime types and apache is not sending a proper Content-type header. Since the files you are discussing are binary, and Windows handles binary and text files differently, the first question is how did the files get TO the server? For example if you FTP uploaded ZIP or EXE files to the server, that has to be done in biniary mode (not ascii mode). And since the problem happens on IE (which often ignores Content-type) as well as other browsers that do pay attention to Content-type, I suspect that the files on the server are already corrupted. Any apache configuration is NOT going to correct that. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> Maybe you do not find any answers related to apache, because it may or may
> not be an apache problem. The only thing I can think of that could be > apache related is if you messed with the mime types and apache is not > sending a proper Content-type header. > > Since the files you are discussing are binary, and Windows handles binary > and text files differently, the first question is how did the files get TO > the server? For example if you FTP uploaded ZIP or EXE files to the > server, that has to be done in biniary mode (not ascii mode). > > And since the problem happens on IE (which often ignores Content-type) as > well as other browsers that do pay attention to Content-type, I suspect > that the files on the server are already corrupted. Any apache > configuration is NOT going to correct that. Thanks, but this takes no effect. What I wonder is, I try it on an other computer. Both are base installation with no other changes as I discribe above. On one platfoem it runs, on the other not. So it must have to do with my local setting and programms. May be it is the SP2 or I don't now. Crazy. But, thanks for . Andreas Riedel |
|
![]() |
| Outils de la discussion | |
|
|