View Single Post
Old Oct 30th, 2005, 8:51 AM   #4
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Apache will run files with whatever privileges it was originally run with. If the Apache Server binary is launched by a user called wwwrun and they don't have execute access to the binary, Apache won't be able to execute it.

What you can do is chmod the binary to 755 ( # chmod 755 /usr/local/bin/hmmpfam ). Also make sure that /usr/local/bin/hmmpfam is in your PATH, as my executables are stored in /usr/bin.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote