Obyx can be invoked from the command line and can be configured for run-time in one of 3 ways.
Below is an example configuration file for obyx. Notice it is very similar to the Apache configuration without the setenv command. It is up to you to maintain the security of this file but due to the potentially sensitive nature of it it certainly shouldn't be world readable.
#OBYX_DEVELOPMENT on
OBYX_SQLSERVICE_REQ true
OBYX_ROOT_DIR /var/www/site/example/pubroot/
OBYX_SCRIPTS_DIR /var/www/site/example/scripts/
OBYX_SCRATCH_DIR /tmp/
OBYX_SQLSERVICE mysql
OBYX_SQLDATABASE obyx_database
OBYX_SQLHOST localhost
OBYX_SQLUSER obyx_db_user
OBYX_SQLUSERPW obyx_password
OBYX_SQLPORT 3306
OBYX_VALIDATE_ALWAYS true
### IGNORE THESE - Unless you're using a mac
# OBYX_LIBCURLSO libcurl.dylib
# OBYX_LIBPCRESO /usr/local/lib/libpcre.dylib
# OBYX_LIBMYSQLCRSO /usr/local/mysql/lib/libmysqlclient_r.dylib
# OBYX_LIBPQSO /usr/local/pgsql/lib/libpq.dylib
# OBYX_LIBZIPSO libz.dylib
With a configuration file such as this you are now able to invoke obyx like this:
./obyx.cgi -c /etc/obyx/obyx.conf updateRSS.obyx
Obyx will look for updateRSS.obyx within the OBYX_ROOT_DIR in this case /var/www/site/example/pubroot/ and run it.
echo "twitterUser" | ./obyx.cgi -c /etc/obyx/obyx.conf getTwitterStatus.obyx