RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Status.html is downloaded at file upload

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Anturaju93



Joined: 13 May 2010
Posts: 83
Location: Romania

PostPosted: Feb 01, 2012 6:50 am    Post subject: Status.html is downloaded at file upload Reply with quote

I have a big problem with one fileserver.
When a file is uploaded status.html is downloaded automatically.
What can i do?
Admin, do i need this perl modules installed on fileserver:
File::Path
LWP::UserAgent
HTTP::Request::Common
File::Copy
Digest::MD5
HCE_MD5 - posibil sa nu fie
CGI::Simple
Fcntl ':flock'
LWP::UserAgent
Digest::MD5
HTML::Form
Encode
CGI::Simple
Exporter
Apache and CGI is configure correctly.
Back to top
View user's profile Send private message Yahoo Messenger
Anturaju93



Joined: 13 May 2010
Posts: 83
Location: Romania

PostPosted: Feb 02, 2012 9:32 am    Post subject: Reply with quote

Admin, please can you help me?
I checked and i have all the perl modules installed.
Still status.html is downloaded at file upload.
Sad
Back to top
View user's profile Send private message Yahoo Messenger
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1287

PostPosted: Feb 02, 2012 10:08 am    Post subject: Reply with quote

There's nothing to do with perl modules. Check your apache config and maybe .htaccess in tmp folder. It shouldnt downloading.
Back to top
View user's profile Send private message Send e-mail
Anturaju93



Joined: 13 May 2010
Posts: 83
Location: Romania

PostPosted: Feb 02, 2012 10:51 pm    Post subject: Reply with quote

status.html is downloaded only on Google Chrome
On Firefox the status-bar is not working and showing some code on upload page,
On Google Chrome when o hit upload, status.html from htdocs/tmp is downloaded automatically, but upload and download works fine.
I have this problems only at one file server.

I must mention that this file server is at my home, using NAT and now DMZ to be accessible from outside the network. I used a fileserver at my home before, with succes, but this one is downloading status.html at upload.

This is my VirtualHost config:
Code:
DocumentRoot /home/atom
ServerName atom.abcdownload.ro
<Directory "/home/atom">
AllowOverride All
allow from all
Options +Indexes
</Directory>
ServerAdmin admin@abcdownload.ro
ScriptAlias /cgi-bin "/home/atom/cgi-bin"

I use my network IP for apache virtualhost, because when i use external IP apache is not looking in /home/atom , is looking in /var/www/html even for virtualhosts.
Admin can you help my? I can pay you for the solution.

If i remove the javascript code from status.html then the file is not downloaded anymore.
Back to top
View user's profile Send private message Yahoo Messenger
Anturaju93



Joined: 13 May 2010
Posts: 83
Location: Romania

PostPosted: Feb 02, 2012 11:16 pm    Post subject: Reply with quote

Using google i have figured out:
This is the corect config for VirtualHost:
Code:
DocumentRoot /home/atom
ServerName atom.abcdownload.ro
<Directory "/home/atom">
AllowOverride All
allow from all
Options Indexes [b]Includes[/b]
[b]AddHandler server-parsed .html[/b]
</Directory>
ServerAdmin admin@abcdownload.ro
ScriptAlias /cgi-bin "/home/atom/cgi-bin"

And is working fine now.
I have never used this config on any fileserver i had, don't know why i need`it now, but it finally works.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
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 © 2001, 2005 phpBB Group