Incorrect location ocs-files

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
waluyo
Posts: 64
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Incorrect location ocs-files

Postby waluyo » Wed Apr 04, 2012 7:29 am

I have mistakenly defined the ocs-files in web accessible folder /var/www/ocs-files.
I just realized this when a friend of mine reported to me that he can see all the files from the web browser.

Could you please help me how to redefine the location of the ocs-files and relocate it to a local folder (not www folder).

Regards, waluyo

waluyo
Posts: 64
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Re: Incorrect location ocs-files

Postby waluyo » Thu Apr 05, 2012 5:55 am

mcrider (thank you) has suggested to move the folder to a non web readable spot and change the path in config.inc.php

Since I am not an expert system administrator (just learn things recently), to avoid moving wrong folder, I just copied to the folder what I want, then changed

Code: Select all

files_dir=newpath

in config.inc.php

I tested to create a folder from Conference manager > File browser
It created in the new folder, also uploaded papers go to the new folder. All ok now.

Thank you PKP support and developer team.
Regards, waluyo


Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests