Forum Replies Created
-
AuthorPosts
-
mbudmMember
In case this is of any use to others. My host will not run php as a CGI or SUPHP. So they recommend that I create a .htaccess file that allows only pdf’s to be read written or executed…
Deny from all
<FilesMatch “.(pdf)$”>
Allow from all
</FilesMatch>
Seems like an ok fallback solution to me but to be honest I might shop around for a different host.
mbudmMemberGreat thanks that helped me to find out some more info… I got this back from my hosting provider:
“If your account is on Unix, and you are using PHP you need to change the directory mode to 777 if you wish to add or remove files in the directory. To be able to write to files, you need to chmod the files to 666.”
Obviously I’ve now asked them why this is the case and if they can’t change this I’ll find a better host
mbudmMemberI’m assuming that in this subanon had to 777 the destination directory for stamped files. If so I’m having a similar issue, as long as Other/Public permissions are set to rwx then pdf files are stamped ok (manually or via my implementation) but anything less than 7 for Other/Public and I get an error (in $value variable of the provided php post integration script) ‘SetaPDF_Error Object’.
Could admin elaborate a little on this comment, i.e. is there a common mistake that you have in mind:
“Obviously the permission settings on your server is misconfigured so contact your hosting provider to fix the root issue.”
I’ll talk to my host about this but I find that the more I can tell them the quicker they act
-
AuthorPosts