Abyss does not show every file in the file-listing

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Tue Nov 22, 2005 11:15 pm    Post subject: Abyss does not show every file in the file-listing Reply with quote

I've mounted /dev/sba1 as /media/Warezdisken, and fixed an alias in Abyss as showed below:











If I access /media/Warezdisken, I can see all my files stored on the USB-harddrive:













But if I check it in Abyss, just a few files are shown:




Of course, I still can access all files by typing them in manually, but I want my visitors (classmates) to be able to browse all my po... files without my help. Any suggestions on what I should do?

Here's my config-file:

Quote:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<server>
<parameters>
<root>
/home/cmx/Desktop/abyssws/
</root>
<timeout>
30
</timeout>
<maxconn>
20
</maxconn>
<keepalive>
10
</keepalive>
<opsys>
<pidfile>
log/abyssws.pid
</pidfile>
<sysuser>
cmx
</sysuser>
</opsys>
</parameters>
<host>
<names/>
<path>
htdocs/
</path>
<running>
yes
</running>
<id>
1
</id>
<scripting>
<enabled>
yes
</enabled>
<cgi>
<timeout>
30
</timeout>
<useregistry>
no
</useregistry>
<useshebang>
yes
</useshebang>
<errorfile>
log/cgi.log
</errorfile>
</cgi>
<isapi>
<ext>
dll
</ext>
<errorfile>
log/isapi.log
</errorfile>
<log>
0
</log>
</isapi>
</scripting>
<ssi>
<extensions>
<ext>
shtml
</ext>
<ext>
shtm
</ext>
<ext>
stm
</ext>
</extensions>
<enabled>
yes
</enabled>
<errormessage/>
<timeformat/>
<abbreviatesize>
no
</abbreviatesize>
<execcmd>
no
</execcmd>
</ssi>
<log>
<file>
log/access.log
</file>
<extendedformat>
yes
</extendedformat>
<denied/>
</log>
<indexes>
<index>
index.html
</index>
<index>
index.htm
</index>
</indexes>
<antileech>
<paths/>
<redirect/>
<strict>
no
</strict>
<allowed/>
</antileech>
<bindip>
*
</bindip>
<dirlist>
<type>
1
</type>
<scope>
<order>
ad
</order>
<allow>
<path>
/
</path>
</allow>
</scope>
<hidden>
<file>
.*
</file>
</hidden>
</dirlist>
<port>
1337
</port>
<users>
<user>
<name>
cmx
</name>
<password>
[removed]
</password>
</user>
</users>
<ac>
<rules>
<rule>
<allow>
<user>
cmx
</user>
</allow>
<path>
/warez
</path>
<realm>
Inga tekniker tack
</realm>
<order>
ad
</order>
</rule>
</rules>
</ac>
<aliases>
<alias>
<virtual>
/warez
</virtual>
<real>
/media/Warezdisken
</real>
</alias>
</aliases>
</host>
<throttle>
<maxspeed/>
<maxspeedperip/>
</throttle>
<antihack>
<enabled>
yes
</enabled>
<threshold>
10
</threshold>
<monitorperiod>
10
</monitorperiod>
<banperiod>
20
</banperiod>
<logfile/>
<denied>
<ip>
127.0.0.1
</ip>
</denied>
</antihack>
<mimes>
<mime>
<type>
application/mac-binhex40
</type>
<ext>
hqx
</ext>
</mime>
<mime>
<type>
application/msword
</type>
<ext>
doc
</ext>
</mime>
<mime>
<type>
application/octet-stream
</type>
<ext>
bin
</ext>
<ext>
dms
</ext>
<ext>
lha
</ext>
<ext>
lzh
</ext>
<ext>
exe
</ext>
<ext>
class
</ext>
</mime>
<mime>
<type>
application/pdf
</type>
<ext>
pdf
</ext>
</mime>
<mime>
<type>
application/postscript
</type>
<ext>
ai
</ext>
<ext>
eps
</ext>
<ext>
ps
</ext>
</mime>
<mime>
<type>
application/smil
</type>
<ext>
smi
</ext>
<ext>
smil
</ext>
</mime>
<mime>
<type>
application/vnd.mif
</type>
<ext>
mif
</ext>
</mime>
<mime>
<type>
application/vnd.ms-asf
</type>
<ext>
asf
</ext>
</mime>
<mime>
<type>
application/vnd.ms-excel
</type>
<ext>
xls
</ext>
</mime>
<mime>
<type>
application/vnd.ms-powerpoint
</type>
<ext>
ppt
</ext>
</mime>
<mime>
<type>
application/x-cdlink
</type>
<ext>
vcd
</ext>
</mime>
<mime>
<type>
application/x-compress
</type>
<ext>
Z
</ext>
</mime>
<mime>
<type>
application/x-cpio
</type>
<ext>
cpio
</ext>
</mime>
<mime>
<type>
application/x-csh
</type>
<ext>
csh
</ext>
</mime>
<mime>
<type>
application/x-director
</type>
<ext>
dcr
</ext>
<ext>
dir
</ext>
<ext>
dxr
</ext>
</mime>
<mime>
<type>
application/x-dvi
</type>
<ext>
dvi
</ext>
</mime>
<mime>
<type>
application/x-gtar
</type>
<ext>
gtar
</ext>
</mime>
<mime>
<type>
application/x-gzip
</type>
<ext>
gz
</ext>
</mime>
<mime>
<type>
application/x-javascript
</type>
<ext>
js
</ext>
</mime>
<mime>
<type>
application/x-latex
</type>
<ext>
latex
</ext>
</mime>
<mime>
<type>
application/x-sh
</type>
<ext>
sh
</ext>
</mime>
<mime>
<type>
application/x-shar
</type>
<ext>
shar
</ext>
</mime>
<mime>
<type>
application/x-shockwave-flash
</type>
<ext>
swf
</ext>
</mime>
<mime>
<type>
application/x-stuffit
</type>
<ext>
sit
</ext>
</mime>
<mime>
<type>
application/x-tar
</type>
<ext>
tar
</ext>
</mime>
<mime>
<type>
application/x-tcl
</type>
<ext>
tcl
</ext>
</mime>
<mime>
<type>
application/x-tex
</type>
<ext>
tex
</ext>
</mime>
<mime>
<type>
application/x-texinfo
</type>
<ext>
texinfo
</ext>
<ext>
texi
</ext>
</mime>
<mime>
<type>
application/x-troff
</type>
<ext>
t
</ext>
<ext>
tr
</ext>
<ext>
roff
</ext>
</mime>
<mime>
<type>
application/x-troff-man
</type>
<ext>
man
</ext>
</mime>
<mime>
<type>
application/x-troff-me
</type>
<ext>
me
</ext>
</mime>
<mime>
<type>
application/x-troff-ms
</type>
<ext>
ms
</ext>
</mime>
<mime>
<type>
application/zip
</type>
<ext>
zip
</ext>
</mime>
<mime>
<type>
application/vnd.wap.wmlc
</type>
<ext>
wmlc
</ext>
</mime>
<mime>
<type>
audio/basic
</type>
<ext>
au
</ext>
<ext>
snd
</ext>
</mime>
<mime>
<type>
audio/midi
</type>
<ext>
mid
</ext>
<ext>
midi
</ext>
<ext>
kar
</ext>
</mime>
<mime>
<type>
audio/mpeg
</type>
<ext>
mpga
</ext>
<ext>
mp2
</ext>
<ext>
mp3
</ext>
</mime>
<mime>
<type>
audio/x-aiff
</type>
<ext>
aif
</ext>
<ext>
aiff
</ext>
<ext>
aifc
</ext>
</mime>
<mime>
<type>
audio/x-pn-realaudio
</type>
<ext>
ram
</ext>
<ext>
rm
</ext>
</mime>
<mime>
<type>
audio/x-realaudio
</type>
<ext>
ra
</ext>
</mime>
<mime>
<type>
audio/x-wav
</type>
<ext>
wav
</ext>
</mime>
<mime>
<type>
image/bmp
</type>
<ext>
bmp
</ext>
</mime>
<mime>
<type>
image/gif
</type>
<ext>
gif
</ext>
</mime>
<mime>
<type>
image/ief
</type>
<ext>
ief
</ext>
</mime>
<mime>
<type>
image/jpeg
</type>
<ext>
jpeg
</ext>
<ext>
jpg
</ext>
<ext>
jpe
</ext>
</mime>
<mime>
<type>
image/png
</type>
<ext>
png
</ext>
</mime>
<mime>
<type>
image/tiff
</type>
<ext>
tiff
</ext>
<ext>
tif
</ext>
</mime>
<mime>
<type>
image/vnd.wap.wbmp
</type>
<ext>
wbmp
</ext>
</mime>
<mime>
<type>
image/x-cmu-raster
</type>
<ext>
ras
</ext>
</mime>
<mime>
<type>
image/x-portable-anymap
</type>
<ext>
pnm
</ext>
</mime>
<mime>
<type>
image/x-portable-bitmap
</type>
<ext>
pbm
</ext>
</mime>
<mime>
<type>
image/x-portable-graymap
</type>
<ext>
pgm
</ext>
</mime>
<mime>
<type>
image/x-portable-pixmap
</type>
<ext>
ppm
</ext>
</mime>
<mime>
<type>
image/x-rgb
</type>
<ext>
rgb
</ext>
</mime>
<mime>
<type>
image/x-xbitmap
</type>
<ext>
xbm
</ext>
</mime>
<mime>
<type>
image/x-xpixmap
</type>
<ext>
xpm
</ext>
</mime>
<mime>
<type>
image/x-xwindowdump
</type>
<ext>
xwd
</ext>
</mime>
<mime>
<type>
image/x-icon
</type>
<ext>
ico
</ext>
</mime>
<mime>
<type>
model/iges
</type>
<ext>
igs
</ext>
<ext>
iges
</ext>
</mime>
<mime>
<type>
model/mesh
</type>
<ext>
msh
</ext>
<ext>
mesh
</ext>
<ext>
silo
</ext>
</mime>
<mime>
<type>
model/vrml
</type>
<ext>
wrl
</ext>
<ext>
vrml
</ext>
</mime>
<mime>
<type>
text/css
</type>
<ext>
css
</ext>
</mime>
<mime>
<type>
text/html
</type>
<ext>
html
</ext>
<ext>
htm
</ext>
</mime>
<mime>
<type>
text/plain
</type>
<ext>
asc
</ext>
<ext>
txt
</ext>
</mime>
<mime>
<type>
text/richtext
</type>
<ext>
rtx
</ext>
</mime>
<mime>
<type>
text/rtf
</type>
<ext>
rtf
</ext>
</mime>
<mime>
<type>
text/sgml
</type>
<ext>
sgml
</ext>
<ext>
sgm
</ext>
</mime>
<mime>
<type>
text/tab-separated-values
</type>
<ext>
tsv
</ext>
</mime>
<mime>
<type>
text/xml
</type>
<ext>
xml
</ext>
</mime>
<mime>
<type>
text/vnd.wap.wml
</type>
<ext>
wml
</ext>
</mime>
<mime>
<type>
text/vnd.wap.wmlscript
</type>
<ext>
wmls
</ext>
</mime>
<mime>
<type>
video/mpeg
</type>
<ext>
mpeg
</ext>
<ext>
mpg
</ext>
<ext>
mpe
</ext>
</mime>
<mime>
<type>
video/quicktime
</type>
<ext>
qt
</ext>
<ext>
mov
</ext>
</mime>
<mime>
<type>
video/x-msvideo
</type>
<ext>
avi
</ext>
</mime>
</mimes>
</server>
<version>
2.0.6
</version>
<console>
<port>
9999
</port>
<bindip>
*
</bindip>
<ipcontrol>
<order>
ad
</order>
<allow>
192.168.0.1-192.168.255.254
</allow>
<allow>
172.16.0.1-172.31.255.254
</allow>
<allow>
10.0.0.1-10.255.255.254
</allow>
</ipcontrol>
<language>
en
</language>
<login>
cmx
</login>
<password>
[removed]
</password>
</console>
</root>
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Nov 23, 2005 12:13 pm    Post subject: Re: Abyss does not show every file in the file-listing Reply with quote

cmxflash,

Can you please open in a terminal window, and execute the following commands:

Code:
cd /media/Warezdisken
ls -al > /tmp/ls-result-for-aprelium.txt


Then please send to support@aprelium.com the file /tmp/ls-result-for-aprelium.txt as well as the HTML code of the directory listing generated by Abyss Web Server.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
killermist
-


Joined: 10 May 2003
Posts: 19

PostPosted: Mon Nov 28, 2005 6:02 pm    Post subject: Reply with quote

I have been having this same issue, but with a much smaller number of files.
I figured I could whip up a perl script to handle making directory listings, but I figured you might have a solution already.

Would you like me to supply the same files as you requested from the first guy?

Both result files are available in this archive: http://killermist.com/abyss-files.tar.gz
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Nov 29, 2005 11:33 am    Post subject: Reply with quote

killermist,

Thanks for the files. We've downloaded them and they will certainly help us locate this bug.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
killermist
-


Joined: 10 May 2003
Posts: 19

PostPosted: Tue Nov 29, 2005 8:34 pm    Post subject: Reply with quote

Script updated: files with ' in them were not being properly linked. FIXED
As a temporary solution, *nix users and possibly Win32 users (not tested win32) can use this script.

Code:

#!/usr/bin/perl

opendir (DIR, "$ENV{REDIRECT_SCRIPT_FILENAME}");
@files = readdir(DIR);  @files = sort(@files);
closedir(DIR);

print "Content-type:text/html\n\n";
print <<HEAD;
<html>
<head>
<title>File Listing</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#ff0000" alink="#0000ff">
HEAD
print "<h2>File Listing:</h2><br/>\n";
foreach $file(@files)
{
        print "<a href=\"$file\">$file</a><br>\n";
}

print <<EOF;
</body>
</html>
EOF



Save the file as filelist.pl in the root of the hosts for which you want to use it, and set these "directory listing"settings for the hosts.


Of course you'll need perl loaded and configured in Abyss.
Back to top View user's profile Send private message
aprelium-beta
-


Joined: 24 Jun 2004
Posts: 383

PostPosted: Sun Feb 19, 2006 2:43 am    Post subject: Reply with quote

killermist and cmxflash,

The problem has been located and fixed in the newly release version 2.3 Beta 2 ( http://www.aprelium.com/forum/viewtopic.php?t=8373 ).

Abyss Web Server was not able to "access" files larger than 2 GB on Linux because the executable was using the standard Linux files API.
The new version fixes the problem and uses the 64 bit extended Linux files API to supports large files if your Linux kernel have them (this should be the case with kernels version 2.4.18 and higher). Otherwise it will only use the standard files API.

Can you please test this new feature and let us know if it works fine for you?

Note that this problem was only affecting the Linux version. Windows, Mac OS X, and FreeBSD versions of Abyss Web Server have been able to access large files since version 2.0.

Thanks for your help.
_________________
Beta Testing Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sun Feb 19, 2006 3:41 am    Post subject: Reply with quote

I'm using kernel 2.6.12-386.

I will test the beta version tomorrow when I have my laptop running.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Feb 19, 2006 1:52 pm    Post subject: Reply with quote

cmxflash wrote:
I'm using kernel 2.6.12-386.

I will test the beta version tomorrow when I have my laptop running.

Thanks.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sun Feb 19, 2006 2:09 pm    Post subject: Reply with quote

Hello again Aprelium.

I've tested the new beta-version, and it works great. All files are displayed.
Thanks for fixing this bug so fast.

I've also noticed that Firefox has the same problem, if I enter /media/warezdisken, only a few files are visible.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Feb 20, 2006 11:16 am    Post subject: Reply with quote

cmxflash wrote:
Hello again Aprelium.

I've tested the new beta-version, and it works great. All files are displayed.
Thanks for fixing this bug so fast.

I've also noticed that Firefox has the same problem, if I enter /media/warezdisken, only a few files are visible.

Thank you for your feedback. We're glad to know that it works now.

Our guess is that your Firefox has not been compiled with large file support. Most open source programs has to be rebuilt to take advantage of this feature at the source code level. In Abyss Web Server we've developed a method to switch automatically between the 32 and 64 file access API without any need to recompile - that's less hassle for our users and for us (since we have only one executable for Linux, not two).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB phpBB Group