Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-22-2008, 09:29 PM   #1
Registered: Jan 2005
Location: NZ
Distribution: Fedora / Debian
Posts: 99

Rep: Reputation: 21
Web Servers don't want to show [larger] .tar and .rar files?


I've encountered this problem on two very separate occasions - once with my shared hosting provider, and once with my VPS provider.

No matter what I try (renaming to a different extension, removing the extension altogether), the web server does not want to show .rar and .tar archives in folder listings. If I try to download the file by manually typing in the file name after the server URL, I get this error:


 You don't have permission to access /Test.rar on this server.
 Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Is there something I'm missing here? Does some default setting need to be changed in the .conf files to allow these files?

My host runs Apache and I am running ligHTTPD on my VPS. both refuse to display .rar and .tar.

Also, I have noticed that smaller .tar files are allowed, I believe the limit is 2GB. Is there a limitation on the size of a file that a web server can host?

Old 01-22-2008, 11:53 PM   #2
Registered: Nov 2007
Location: Carson City, NV USA
Distribution: Various, but always Debian based
Posts: 70

Rep: Reputation: 15
Imfamous 2GB limit

Yes, there is a 2GB barrier. I will call it a barrier rather than a limit as it can be overcome. Too many details to deal with here, so you will have to deal with your provider(s). Google apache 2GB and you will will get a sense of what it is about.


apache, httpd, lighttpd, rar, size, tar, webserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to deal with .rar files in linux now that rar is no longer part of linux Lleb_KCir Linux - Software 14 11-22-2008 07:01 AM
question on how to rar multiple files into there own rar file steve51184 Linux - Software 13 10-24-2007 04:23 PM
rar or tar, or both for my situation? xushi Programming 9 05-26-2006 07:00 AM
show biggest files in tar archive? ahz10 Linux - Software 3 11-04-2005 03:48 PM
Software for synchronizing files on web servers josephswagner Linux - Software 2 02-06-2003 12:13 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration