Hello, I have done with updating CFG_SITE_SECURE_URL in my invenio-local.conf
vi invenio-local.conf CFG_SITE_SECURE_URL = http://invenio.ihep.ac.cn sudo -u apache /opt/invenio/bin/inveniocfg --update-config-py /etc/init.d/httpd reload The error is still there. I use 'sudo -u apache ...', Does it matter? I checked role/user, there is no role/user conncted to the action "submit" for DEMOVID. Even, when I use super admin account to submit a video file, I got the same error. Any clue? Thanks a lot, Best regards, Lanxin ________________________________________ From: Jerome Caffaro Sent: 05 February 2013 08:44 To: Lanxin Ma Cc: Samuele Kaplun; project-invenio-general (Invenio users) Subject: Re: vedio upload Dear Lanxin, On 02/05/2013 04:46 AM, Lanxin Ma wrote: > I have switched off SSL( 443 port ) and commented the lines below in httpd > .conf in my invenio server, restart httpd. But I still got the same error. One additional step to switch off SSL (you might have done it, but not explicitly stated above) is to update CFG_SITE_SECURE_URL in your invenio-local.conf to replace 'httpS' with 'http', and propagate the change: $ emacs /opt/invenio/etc/invenio-local.conf $ sudo -u www-data /opt/invenio/bin/inveniocfg --update-config-py $ sudo /etc/init.d/httpd reload > There is a message in apache.log > > tail -f /opt/invenio/var/log/apache.log > 202.122.32.43 - - [05/Feb/2013:11:24:49 +0800] "POST /submit/upload_video > HTTP/1.1" 403 8434 "-" "Shockwave Flash" 4708858 Good, that is one step in the right direction! This line means that the Flash plugin tried to upload the file, but the server returned a '403' HTTP error code, i.e. the access is not granted. Do you have some role/user connected to the action "submit" for the doctype corresponding to your submission ("DEMOVID" I presume) and corresponding action (probably "SBI")? In principle user having access to the submission should also be able to upload the file, but let's try to understand what is happening. Best regards -- Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

