rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: ninjapimp on January 04, 2010, 08:51:18 PM
-
Today I add a new folder, real folder.
btu when i try to surf to it, i get : Access Denied
This resource is not accessible, sorry.
I'm not sure why it wont work, it works for otehr folders I've done
any ideas?
this error comes via localhost mode or using full internet address
via local host it lets go deep into 1 folder then error comes
i can verify path is viable as i can access it via windows explorer
using latest beta build.
-
sorry for the late reply.
please hover the mouse over this folder, so that the hints are shown, and report what's written in there.
-
today i upgraded to beta build 251. and right away i get. this in breadcumbs sections, Home/Server Error
same problem
as for your requests, i hover over the folder in question
url:/ftp/
path: \\thecus\raid5\FTP
default file mask: index.htm*;default.htm* [inheited]
realm: devils rage bbs [inherited]
don't consider as download (mask): thumbs.db
if i refresh page,, error goes away. if i go further into folders the problem may reappear or not
i've tested this outside my lan from another ISP ip address and same problem
it sorta comes and goes i can eventually reproduce the problem but not 100% time, it sort of just comes randomly from any folder it seems.
-
i guess it's something to do with the networked resource.
1) could you have some network problems?
anyway it's strange it says "Access Denied".
i'd expect a "Not found".
2) could you try mapping the networked resource to a drive letter and see if the problem persists?
by studying the source, the "denied" can be issued in these cases
c1- by a script in event [download] or [request]
you should know if you have such event scripts.
if you don't know, ALT+F6 to see event scripts
c2- with folder archives if they are not archivable or they are empty
you are not using folder archives
c3- if it's a file and the download it's forbidden
it's not a file, it's a folder
c4- uploading to a virtual folder
you are not uploading
c5- folders without the "browsable" flag
the flag is expected to not change just by refresh the page on the browser, since it's manually set.
c6- forbidden referer
a "refresh" should not change the "referer" (that's the previous URL, where you are coming from).
anyway you can check for sure that Menu > limits > allowed referer > is empty
-
the problem with access denied
if I access the same folders and files via IIS web server i never see this issue, it only comes from HFS. thus far I've had 300,000 hits on my HFS. I dont know how many get the access denied, but I know some are telling me about it. I've set HFS with as little restrictions as possible. as for network errors, the load is very minimal, sometimes only 1 person is on HFS and problem comes so it can't be bandwidth.
i will test more via network mapping as i'm using the UNC method to map the folder to VFS as opposed to a drive letter mapping.
i'm not sure why i can not reproduce it all the time, its random and the problem happens from within my local lan and outside my lan. the strange thing is, using IIS webserver on my windows server 2008 I've never seen this problem it only appears on HFS. I'll keep playing with it, maybe I'll find what causes it.
thanks for the help and tips.
-
IIS may just retry once or twice when facing a certain problem.
that may explain.
-
what can i do to further troubleshoot this problem?
i've got alot of users who it my site who complain saying the get access denied
i'm not sure how to fix this
my HFS is a pretty simple setup, i simply add a "real" folder and use a custom rawr template and thats about it.
am I the only person with this problem? if so what could be causing it?
the work around is to refresh.
using IIS I never see this problem and I'm sahring exact same folder yet for some reason HFS keeps saying access denied but if one does refresh problem goes away. the issue can appear randomly at any folder for no apparent reason even when theres only 1 person browsing the HFS.
here is my customized options:
only-1-instance=no
# default: yes
easy=no
# default: yes
port=2000
# default:
files-box-ratio=0.206489675516224
# default: 0
log-file-name=hfs_log_month-%m%.log
# default:
log-date=yes
# default: no
log-bytes-sent=yes
# default: no
log-apache-format=%h %l %u %t "%r" %>s %b "%{Referer}i %z"
# default:
tpl-file=D:\hfs\RAWR-Template-0.1.2\RAWR-Template-0.1.2.tpl
# default:
auto-save-vfs=yes
# default: no
tray-icon-for-each-download=no
# default: yes
last-dialog-folder=\\thecus\raid5\FTP
# default: D:\hfs
auto-save-vfs-every=600
# default: 0
last-update-check=40205.135018125
# default: 0
tray-shows=connections
# default: downloads
max-ips=10
# default: 0
max-ips-downloading=10
# default: 0
max-contemporary-dls=10
# default: 0
max-contemporary-dls-ip=1
# default: 0
open-in-browser=*.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg;*.avi;*.mpg;*.mkv;*.m4v;*.mp4;*.mpeg
# default: *.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg
connections-timeout=20
# default: 60
last-file-open=D:\hfs\iphonoe.vfs
# default:
find-external-on-startup=yes
# default: no
encode-spaces=no
# default: yes
in-browser-if-mime=yes
# default: no
icon-masks=.ipa|18||.rar|10001||
# default:
icon-masks-user-images=10001:eNpz93SzsEwUYBBgSGNgUPzJwsjA4M6gwwAEILG2H7//+zMwJAlLMFinSfgyTGKMZOgIP3r8zOnzV2/efjCLMzFYUHziRAaGsEVaWloxwlIL+NMZmoMYQuc0NDA0MvovWrxs7bqNeZLyqqqqxcLaWfxqDMFTKhm9/ldcOHpU9uJFhogXOwRMGRgM/dsYg/7v+7BzJ8OGJ/+X3P3/f+q9/+3Xd3992Hj6///FT3sv/u95f3bG9f8MPh11LK6sSVsZ7kxi6Ios47RgSHO0t7dnyHcP5lMIl2EQvT+7lzGo8PWhF5Fb/2ef+pJ0oPTo/6DN/7UfLY3b+d/x6brM/f8Zhg5gX9tgyc/U0trKb+XeJcotziPPIy4pNXkyd5c7O7dMP4+hiMwCEdPpYgwc3FwCq9asZlVmkuBgYFd2V9HR0JSVtXew4xd153QXl2M9cfKEDePMw/zCjJcuX1nGwTfj5q1NW4zc1dT1dbUd3VyclA4d4ZXjfSf0QfpTF/thA2Hmn79+KV27cYthp2xHgUtrt5yCg4jkpmS3DmW+jocajocbjnYLcmh1ZSQzNfYrONqFlDArHHBgsAYAt1ShGg==|
# default:
recent-files=D:\hfs\iphonoe.vfs
# default:
trusted-files=D:\hfs\iphonoe.vfs
# default:
compressed-browsing=no
# default: yes
out-total=298494868347
# default: 0
in-total=162478807
# default: 0
hits-total=357463
# default: 0
downloads-total=9540
# default: 0
connections-columns=IP address;120|File;180|Progress;84|Status;180|Speed;60|Time left;55|
# default: IP address;120|File;180|Status;180|Speed;60|Time left;55|Progress;70|
ip-services=http://www.dovedove.it/hfs/ip.php|;http://www.checkip.org|color=green>;http://www.whatismyip.org/|;http://www.melauto.it/public/rejetto/ip.php|;http://checkip.dyndns.org|:;http://2ip.ru|#0033FF">;http://www.canyouseeme.org|td><b>
# default:
ip-services-time=40199.7613959375
# default: 0
-
try this
menu > debug > temporarily reset options
and see if the problem disappear
-
ok, i did that. reset
but i still get it
it took 3 refreshes to get the access denied.
no but me is on it, simply going into a folder, not even trying to leech a file or anything like that.
if i refresh page access denied goes away
its just keeps appearing randomly for no reason that i can tell
let me try it without the rawr template. i'll just use vanilla version so if i get access denied also
-
i think i may have figured it out
've been using a rawr template. and get access denied
but if i install the basic hfs template the erro does nto come
so its something most likely with rawr templates.
i've made no changes to the template except for a small jpeg logo. otherwise the template is just as they released it.
bummer, that was beautiful template, i loved the layout
prior to 251 i never got this error though so maybe something int he rawr template code needs updating for 252
i'm not sure
i'll keep testing the template to see if i can reproduce the error
-
1. as far as i remember, the "temporarily reset" applies to the template too, and it should revert to the default one.
so, it's strange that you had to additionally change the template after using the "temporarily reset". are you sure you did nothing wrong with it?
2. i forgot one test that may enlighten us.
right click on the log > log what
enable "replies"
enable "icons"
disable "only served requests"
this way you may start to see those 403s in the log.
a first theory may be: the main page is loaded correctly, but an additional file, part of the page, is denied, and the browser decides to show it.
-
sorry, there was a problem and I panic
when i did the reset temp options, the HFS no longer worked.
yes it did change the template but no one could actually access it so i panic and closed HFS and restarted. when i did this it reloaded the rawr template.
i think it changed my port. i dont use port 80 because I use IIS. HFS will not work if port 80 is being used by IIS.
once I changed the template to something less fancy...i'm using HFS Damn now as my new template and the access denied is gone.
it seems the access denied message only appears when i use the rawr template.
i just now applied those log options you mentioned. and i'll test to see if i see 403s in the log now with the hfs damn tempalte in place.
so far since using hfs damn template, no one has mentioned they getting error message so this is a good thing.
i loved the rawr template as it was alot more informative compared to this hfs damn which is a lil too simplistic for my taste but as long as theres no errors its better than nothing.
thanks again
-
1. maybe you'll never get the 403s again with the "damn" template, so you should consider reverting to the RAWR template if you want to know more about those 403s.
2. by what i can understand from your description, you didn't actually tested the "temp reset" situation, since you faced major problems. You said you panicked: i guess that's your "production" system and you don't want it to be "down".
My suggestion is to disable Menu > start/exit > only 1 instance
then you must save options, and now you'll be able to start 2 different HFS.
the first one will continue serving your friends,
while the second one, running on another port, will let you make test the "temp reset".
This settings change would have been not needed, you could achieve the same result by holding CTRL when you run HFS the second time, but there's a bug in this feature. Fixed in next release.
By testing you may find that the problem is not caused by the rawr tpl itself, but some incompatible settings.
My guessing, anyway, is that is some setting under Menu > Limits
-
i've put back the rawr template
i have a user who complains he gets the access denied problem repeatedly...
here is copy n paste from the log
24.164.xxx.xxx - - [07/Feb/2010:11:27:45 -0600] "GET /FTP/MAC%20-%20OSX%20-%20APPLE/Games/Quake%204%20(MAC)/Quake%204%20(MAC).rar HTTP/1.1" 200 - "http://www.xxxxx.com:2000/FTP/MAC%20-%20OSX%20-%20APPLE/Games/Quake%204%20(MAC)/ "
i try to reproduce but i dont get error
theres only one person trying to leech so i 'm certain its not bandwidth issues.
what else can i do to solve this pesky problem?
if i use the Damn template i can't reproduce but if i use the rawr template i get thsi problem.
i've tried other rawr templates and i get access denied too so perhaps its something int he coding of the template that causes this problem.
-
the log you posted is a "200", not a "403".
did you try removing all "limits" ?
-
i have removed every single limit
i scanned the log for 403 status code error and there are none
the person who visits my site will get the access denied message and i check the log and its status is 200
so the log is not truly indicative of the access denied error message.
i myself get them too, i check the log for last entry which was me and its status is 200. its like HFS did its job of fething the data but did not log the error.
i've got it set to no limits and will give it more tests to see if i can reproduce.
here are my options so ya can verify limits are disabled:
only-1-instance=no
# default: yes
easy=no
# default: yes
port=2000
# default:
files-box-ratio=0.206489675516224
# default: 0
log-file-name=hfs_log_month-%m%.log
# default:
log-date=yes
# default: no
log-bytes-sent=yes
# default: no
log-replies=yes
# default: no
log-icons=yes
# default: no
log-apache-format=%h %l %u %t "%r" %>s %b "%{Referer}i %z"
# default:
tpl-file=D:\hfs\RAWR-Template-0.1.2\RAWR-Template-0.1.2.tpl
# default:
auto-save-vfs=yes
# default: no
tray-icon-for-each-download=no
# default: yes
browse-localhost=no
# default: yes
last-dialog-folder=\\thecus\raid5\FTP
# default: D:\hfs
auto-save-vfs-every=600
# default: 0
last-update-check=40206.8042147454
# default: 0
tray-shows=connections
# default: downloads
open-in-browser=*.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg;*.avi;*.mpg;*.mkv;*.m4v;*.mp4;*.mpeg
# default: *.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg
flash-on=
# default: download
connections-timeout=20
# default: 60
last-file-open=D:\hfs\iphonoe.vfs
# default:
find-external-on-startup=yes
# default: no
encode-spaces=no
# default: yes
in-browser-if-mime=yes
# default: no
icon-masks=.ipa|18||.rar|10001||
# default:
icon-masks-user-images=10001:eNpz93SzsEwUYBBgSGNgUPzJwsjA4M6gwwAEILG2H7//+zMwJAlLMFinSfgyTGKMZOgIP3r8zOnzV2/efjCLMzFYUHziRAaGsEVaWloxwlIL+NMZmoMYQuc0NDA0MvovWrxs7bqNeZLyqqqqxcLaWfxqDMFTKhm9/ldcOHpU9uJFhogXOwRMGRgM/dsYg/7v+7BzJ8OGJ/+X3P3/f+q9/+3Xd3992Hj6///FT3sv/u95f3bG9f8MPh11LK6sSVsZ7kxi6Ios47RgSHO0t7dnyHcP5lMIl2EQvT+7lzGo8PWhF5Fb/2ef+pJ0oPTo/6DN/7UfLY3b+d/x6brM/f8Zhg5gX9tgyc/U0trKb+XeJcotziPPIy4pNXkyd5c7O7dMP4+hiMwCEdPpYgwc3FwCq9asZlVmkuBgYFd2V9HR0JSVtXew4xd153QXl2M9cfKEDePMw/zCjJcuX1nGwTfj5q1NW4zc1dT1dbUd3VyclA4d4ZXjfSf0QfpTF/thA2Hmn79+KV27cYthp2xHgUtrt5yCg4jkpmS3DmW+jocajocbjnYLcmh1ZSQzNfYrONqFlDArHHBgsAYAt1ShGg==|
# default:
recent-files=D:\hfs\iphonoe.vfs
# default:
trusted-files=D:\hfs\iphonoe.vfs
# default:
compressed-browsing=no
# default: yes
out-total=499714580116
# default: 0
in-total=208162433
# default: 0
hits-total=450936
# default: 0
downloads-total=12997
# default: 0
connections-columns=IP address;120|File;180|Progress;84|Status;180|Speed;60|Time left;55|
# default: IP address;120|File;180|Status;180|Speed;60|Time left;55|Progress;70|
update-daily=no
# default: yes
ip-services=http://www.dovedove.it/hfs/ip.php|;http://www.checkip.org|color=green>;http://www.whatismyip.org/|;http://www.melauto.it/public/rejetto/ip.php|;http://checkip.dyndns.org|:;http://2ip.ru|#0033FF">;http://www.canyouseeme.org|td><b>
# default:
ip-services-time=40219.5965239352
# default: 0
all i can think of, its got to be a problem with the rawr template
when i use the vanilla plain hfs template i never see the access denied but when i use rawr template i get access denied.
-
i scanned the log for 403 status code error and there are none
the person who visits my site will get the access denied message and i check the log and its status is 200
so the log is not truly indicative of the access denied error message.
that's apparently because you leaved the "log > what > only served requests" enabled.
here are my options so ya can verify limits are disabled:
good.
can you report if the problem was solved this way?
-
24.26.xxx.42 - - [17/Feb/2010:20:03:47 -0600] "GET /header-logo.jpg HTTP/1.1" 404 1753 "http://www.xxxxxx.com:2000/FTP/MOVIES/DVD-RIP/2009/ "
i see a 404 error
and i check file "header-logo.jpg" and sure enough it is present and when i hit the site the logo does appear, it just sometimes it does not, does nto seem to cause a problem as site seem to load fine except no logo.
could this be causing the access denied error?
-
that logo never appears to me.
you say it's present because you see it in your vfs?
hover it, and see where it points.
it's likely the file was physically moved and it's not pointed correctly.
-
127.0.0.1 - cu [22/Feb/2010:22:14:01 -0600] "GET /FTP/GAMES/10/Aliens_Vs_Predator_Proper-Razor1911/previews_and_thumbnails/thumb-alien%20vs%20predator.jpg.jpg HTTP/1.1" 404 3279 "https://www.xxx.com/FTP/GAMES/10/Aliens_Vs_Predator_Proper-Razor1911/ "
thats fromt he log above...
not sure why but i'll browse my folders on my LAN, and everythihng displays fine i see no errors, nothing is missing yet on HFS is says 404
2/22/2010 10:14:01 PM cu@127.0.0.1:58610 Requested GET /FTP/GAMES/10/Aliens_Vs_Predator_Proper-Razor1911/previews_and_thumbnails/thumb-alien vs predator.jpg.jpg
2/22/2010 10:14:01 PM cu@127.0.0.1:58610 Sent 1460 bytes
2/22/2010 10:14:01 PM cu@127.0.0.1:58610 Not served: 404 - Not found
thats from the onscreen log
i'm confused why there is a file not found when i made noa tempt to d/l anything and everything loks fine on screen when i browse
-
the fact you see everything fine is subjective (to what you expect).
about the log you posted, i can say you there's no "reviews_and_thumbnails" folder under "Aliens_Vs_Predator_Proper-Razor1911",
so it's very correct to return "404 not found".
by accessing the existing folder, anyway, i still see a plain text "devils rage" above "HttpFileServer 2.3 beta".
that's the alternative text shown by the browser in case the logo image is missing. as indeed it is.