I am having this error:
[Mon Dec 05 10:22:23 2011] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS!
[Mon Dec 05 10:22:23 2011] [error] (13)Permission denied: mod_rewrite: could not start RewriteMap program /etc/httpd/conf.d/upsell_by_id.py
This error is associated with this line :
RewriteMap upsells prg:/etc/httpd/conf.d/upsell_by_id.py
I realize that this probably means that the execution user for apache cannot execute these files. How do I determine what the execution environ ment is for apache? How do I make this file upsell_by_id.py executable to apache?
I get this error when I try to run the upsell_by_id.py as apache:
Traceback (most recent call last):
File "/etc/httpd/conf.d/upsell_by_id.py", line 8, in <module>
keyword_groups = pickle.load(open("/home/zumodo/upsell_backup/upsells.pkl", "rb" ) )
IOError: [Errno 13] Permission denied: '/home/zumodo/upsell_backup/upsells.pkl'
This is despite the fact that the file upsells.pkl appears to have all the neccessary permission:
-rwxrwxrwx. 1 skline skline 6.4M Dec 5 08:50 upsells.pkl