OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



php upload_max_filesize? where to place .htaccess file

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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.

php upload_max_filesize? where to place .htaccess file

Postby Peter_gup » Mon May 21, 2007 10:38 pm

I've been looking at changing the default php upload size within OJS.
The OJS is running as a Virtual host on the webserver. I have tested the upload_max_filesize option against the web server on the actual host and am able to alter the max size successfully.

My question is where to place the .htaccess file within OJS to allow for the upload of larger files?

My system is a Redhat ES4 running apache 2.2. OJS-2.1.0
Peter_gup
 
Posts: 2
Joined: Sun May 20, 2007 5:55 pm
Location: QLD, Australia

Postby asmecher » Tue May 22, 2007 9:33 am

Hi Peter_gup,

If your server is configured to accept this sort of override, you can put the .htaccess file in the OJS installation directory (i.e. the one that contains the main index.php script).

Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests