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.
XFileSharing Pro - Status.html is downloaded at file upload
-
- Posts: 91
- Joined: May 13, 2010 6:46 pm
-
- Posts: 91
- Joined: May 13, 2010 6:46 pm
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:
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.
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: Select all
DocumentRoot /home/atom
ServerName atom.abcdownload.ro
<Directory "/home/atom">
AllowOverride All
allow from all
Options +Indexes
</Directory>
ServerAdmin [email protected]
ScriptAlias /cgi-bin "/home/atom/cgi-bin"
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.
-
- Posts: 91
- Joined: May 13, 2010 6:46 pm
Using google i have figured out:
This is the corect config for VirtualHost:
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.
This is the corect config for VirtualHost:
Code: Select all
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 [email protected]
ScriptAlias /cgi-bin "/home/atom/cgi-bin"
I have never used this config on any fileserver i had, don't know why i need`it now, but it finally works.