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/>

Reply via email to