discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUstep tool as cgi on Solaris 10


From: Andreas Höschler
Subject: GNUstep tool as cgi on Solaris 10
Date: Wed, 20 Dec 2006 00:08:56 +0100

Hi all,

I am migrating a web application from Solaris 9 to Solaris 10. The core component of the web application is a very little Objective-C tool named Adaptor that is called as follows

http://www.something.de/cgi-bin/Adaptor

and supposed to return html code on standard output. However, when I enter this URL, the web browser gives me

Forbidden
You don't have permission to access /cgi-bin/Adaptor on this server

When I call this tool on the command line as root I get

/var/apache/cgi-bin/Adaptor

Content-type: text/html

<head>
<title>Error</title>
</head><body><h1>Error</h1>You have to specify either an application or an identifier!</body>
...

so it's basically working. I added "include /var/apache/conf/GNUstep.conf" to /etc/apache/httpd.conf, created a file /var/apache/conf/GNUstep.conf

SetEnv CLASSPATH "//GNUstep/Library/Libraries/Java:/opt/GNUstep/Local/Library/Libraries/Java:/opt/GNUstep/System/Library/Libraries/Java"
SetEnv EDITOR "pico"
SetEnv GNUSTEP_HOST "sparc-sun-solaris2.8"
SetEnv GNUSTEP_HOST_CPU "sparc"
SetEnv GNUSTEP_HOST_OS "solaris2.10"
SetEnv GNUSTEP_HOST_VENDOR "sun"
SetEnv GNUSTEP_LOCAL_ROOT "/opt/GNUstep/Local"
SetEnv GNUSTEP_MAKEFILES "/opt/GNUstep/System/Library/Makefiles"
SetEnv GNUSTEP_NETWORK_ROOT "/opt/GNUstep/Local"
SetEnv GNUSTEP_SYSTEM_ROOT "/opt/GNUstep/System"
SetEnv GNUSTEP_USER_ROOT "//GNUstep"
SetEnv GUILE_LOAD_PATH "//GNUstep/Library/Libraries/Guile:/opt/GNUstep/Local/Library/Libraries/Guile:/opt/GNUstep/System/Library/Libraries/Guile"
SetEnv HOSTNAME "svetys"
SetEnv HOSTTYPE "sparc"
SetEnv HZ "100"
SetEnv LD_LIBRARY_PATH "//GNUstep/Library/Libraries:/opt/GNUstep/Local/Library/Libraries:/opt/GNUstep/System/Library/Libraries"
SetEnv LIBRARY_COMBO "gnu-gnu-gnu"
SetEnv MACHTYPE "sparc-sun-solaris2.10"
SetEnv OLDPWD "/tmp"
SetEnv OSTYPE "solaris"
SetEnv PATH "//GNUstep/Tools:/opt/GNUstep/Local/Tools:/opt/GNUstep/System/Tools:/usr/local/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/apache/bin:/usr/local/ssl/bin:/usr/ccs/bin:/opt/FrontBase/bin:/usr/local/teTeX/bin:/usr/sfw/bin:/opt/sfw/bin:/opt/csw/bin:/usr/ucb"

and restarted apache.

/usr/apache/bin/apachectl stop
/usr/apache/bin/apachectl start

Under Solaris 9 a similar procedure made it working, not so under Soalris 10. I am stuck! Any ideas?

Thanks a lot!

Regards,

Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]