XFileSharing Pro - Extra File-Server Installation

Message
Author
gembels
Posts: 24
Joined: May 21, 2010 6:53 am

Extra File-Server Installation

#1 Postby gembels » May 23, 2010 7:23 pm

File Server tests:
api.cgi: OK
temp dir exist: OK
temp dir mkdir: OK
temp dir rmdir: OK
tmp dir exist: OK
tmp dir mkdir: OK
tmp dir rmdir: OK
upload dir exist: OK
upload dir mkdir: OK
upload dir rmdir: OK
htdocs dir exist: OK
htdocs dir mkdir: OK
htdocs dir symlink: OK
htdocs dir symlink del: OK
htdocs dir rmdir: OK
config read: OK
config write: OK
fs.cgi: OK
upload.cgi: OK
htdocs URL accessibility: ERROR (should see XFS on link)

error log:
[Mon May 24 02:15:33 2010] [error] [client xx.105.183.154] File does not exist: /srv/users/dl1/index.html

In fs-dist is no index.html in there.. so what I should do

if I do copy ./files/index.html to ./ its run ok

but when I generate it for user download example
http://www.maknyos.com/4ice0we1jrg2/winbox.exe.html

it generate http://dl1.users.maknyos.com/8/zj4cejgi ... winbox.exe

but the files in http://dl1.users.maknyos.com/files/8/zj ... winbox.exe

what is the problem ?

gembels
Posts: 24
Joined: May 21, 2010 6:53 am

#2 Postby gembels » May 23, 2010 7:51 pm

what i do right know is make new .htaccess on htdocs folder

Code: Select all

RewriteRule ^(1/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(2/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(3/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(4/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(5/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(6/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(7/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(8/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(9/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
RewriteRule ^(0/.*)$ http://dl1.users.maknyos.com/files/$1 [R=301,L]
waiting for problem solving ...

gembels
Posts: 24
Joined: May 21, 2010 6:53 am

#3 Postby gembels » May 23, 2010 9:17 pm

problem solved, I should put domain/files/ on admin setting