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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 8575
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 3 guests