List Info

Thread: Re: how to run encrypted executable through apache?




Re: how to run encrypted executable through apache?
country flaguser name
United States
2007-10-13 15:28:44
> Are you sure the executable works from the command
line? By 'works', I
> mean that it should at least output a Content-Type:
some/type line
> followed by two newlines to stdout.
> 
> -- 
> noodl


Indeed it does work, and the permissions are 755.  Here is
the output:

[cgi-bin]$ ss.pl.x
Content-type: text/html

<html>
<head><meta http-equiv="refresh"
content="">
<title>screen</title>
<script language=javascript>



       
____________________________________________________________
________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: how to run encrypted executable through apache?
user name
2007-10-13 16:52:49
On 13/10/2007, sarta53 <sarta53yahoo.com> wrote:
> Indeed it does work, and the permissions are 755.  Here
is the output:
>
> [cgi-bin]$ ss.pl.x
> Content-type: text/html
>
> <html>
> <head><meta http-equiv="refresh"
content="">
> <title>screen</title>
> <script language=javascript>

I can only guess that something must be different between
the user
environment for yourself and the apache user. You might try
passing
some environment variables, or else getting your script to
output some
debugging information.

PassEnv LD_LIBRARY_PATH

That's just a guess though, there can be any number of
reasons why
your binary isn't running correctly. Perhaps the facility
you've used
to produce the encrypted binary needs access to some library
path
that's in your environment but not the server's?

-- 
noodl

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: how to run encrypted executable through apache?
country flaguser name
United Kingdom
2007-10-13 17:18:25
On Sat, 13 Oct 2007, sarta53 wrote:

[cgi-bin]$ ss.pl.x
Content-type: text/html

<html>
<head><meta http-equiv="refresh"
content="">

That's horribly broken.  What does your browser do with it?

-- 
Nick Kew>


------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )