Re: Re(4): shtml on WO 5.3
Re: Re(4): shtml on WO 5.3
- Subject: Re: Re(4): shtml on WO 5.3
- From: Sacha Mallais <email@hidden>
- Date: Fri, 23 Sep 2005 09:52:15 -0700
Another thing that might help: module order. mod_include should be
_before_ mod_WebObjects. I've posted my entire LoadModule/AddModule
config for your perusal.
sacha
LoadModule vhost_alias_module /usr/libexec/httpd/mod_vhost_alias.so
LoadModule env_module /usr/libexec/httpd/mod_env.so
LoadModule config_log_module /usr/libexec/httpd/mod_log_config.so
LoadModule mime_magic_module /usr/libexec/httpd/mod_mime_magic.so
LoadModule mime_module /usr/libexec/httpd/mod_mime.so
LoadModule negotiation_module /usr/libexec/httpd/mod_negotiation.so
LoadModule status_module /usr/libexec/httpd/mod_status.so
LoadModule info_module /usr/libexec/httpd/mod_info.so
LoadModule includes_module /usr/libexec/httpd/mod_include.so
LoadModule autoindex_module /usr/libexec/httpd/mod_autoindex.so
LoadModule dir_module /usr/libexec/httpd/mod_dir.so
LoadModule cgi_module /usr/libexec/httpd/mod_cgi.so
#LoadModule asis_module /usr/libexec/httpd/mod_asis.so
#LoadModule imap_module /usr/libexec/httpd/mod_imap.so
#LoadModule action_module /usr/libexec/httpd/mod_actions.so
#LoadModule speling_module /usr/libexec/httpd/mod_speling.so
#LoadModule userdir_module /usr/libexec/httpd/mod_userdir.so
LoadModule alias_module /usr/libexec/httpd/mod_alias.so
LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/
Apache/mod_WebObjects.so
LoadModule rewrite_module /usr/libexec/httpd/mod_rewrite.so
LoadModule access_module /usr/libexec/httpd/mod_access.so
LoadModule apple_auth_module /usr/libexec/httpd/mod_auth_apple.so
#LoadModule anon_auth_module /usr/libexec/httpd/mod_auth_anon.so
#LoadModule dbm_auth_module /usr/libexec/httpd/mod_auth_dbm.so
#LoadModule digest_module /usr/libexec/httpd/mod_digest.so
#LoadModule proxy_module /usr/libexec/httpd/libproxy.so
#LoadModule cern_meta_module /usr/libexec/httpd/mod_cern_meta.so
#LoadModule expires_module /usr/libexec/httpd/mod_expires.so
LoadModule headers_module /usr/libexec/httpd/mod_headers.so
#LoadModule usertrack_module /usr/libexec/httpd/mod_usertrack.so
#LoadModule unique_id_module /usr/libexec/httpd/mod_unique_id.so
LoadModule setenvif_module /usr/libexec/httpd/mod_setenvif.so
#LoadModule dav_module /usr/libexec/httpd/libdav.so
LoadModule ssl_module /usr/libexec/httpd/libssl.so
#LoadModule apple_macbinary_module /usr/libexec/httpd/
mod_macbinary_apple.so
#LoadModule apple_sherlock_module /usr/libexec/httpd/
mod_sherlock_apple.so
#LoadModule perl_module /usr/libexec/httpd/libperl.so
#LoadModule php4_module /usr/libexec/httpd/libphp4.so
ClearModuleList
AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
#AddModule mod_asis.c
#AddModule mod_imap.c
#AddModule mod_actions.c
#AddModule mod_speling.c
#AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_WebObjects.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth_apple.c
#AddModule mod_auth_anon.c
#AddModule mod_auth_dbm.c
#AddModule mod_digest.c
#AddModule mod_proxy.c
#AddModule mod_cern_meta.c
#AddModule mod_expires.c
AddModule mod_headers.c
#AddModule mod_usertrack.c
#AddModule mod_unique_id.c
AddModule mod_so.c
AddModule mod_setenvif.c
#AddModule mod_dav.c
AddModule mod_ssl.c
#AddModule mod_macbinary_apple.c
#AddModule mod_sherlock_apple.c
#AddModule mod_perl.c
#AddModule mod_php4.c
On Sep 23, 2005, at 9:25 AM, Sacha Mallais wrote:
On Sep 23, 2005, at 6:01 AM, Robert Snyder wrote:
Ok,
So I am trying to get this to work, but nothing is getting processed.
Here is the text of the .shtml page (we lots of ssi's pointing to
static
files so we know they work on this server).
<html>
<header></header>
<body>
<p>start</p>
<!--#include virtual="/cgi-bin/WebObjects/CourseSchedulePages.woa/wa/
courseSchedule?programCode=RMIC" -->
</body>
</html>
But the only thing that gets returned in the browser is the word
"start."
Here is a call to the actual direct action. As you can see it
returns a table:
<http://www.worldcampus.psu.edu/cgi-bin/WebObjects/
CourseSchedulePages.woa/wa/courseSchedule?programCode=RMIC>
Here is the URL for the test page with the include that points to the
direct action:
<http://www.worldcampus.psu.edu/test/ssiTest/index.shtml>
If anyone has any good ideas of how to get this to work, I would
really
love it. Right now we are looking at having a static page pull the
table
into a frame which is rather a kluge.
Is there anything useful in the error log? Seems to me that this
should just work.
sacha
On Tue, Sep 20, 2005, Chuck Hill wrote:
If you are using sessions then you need to be storing them in
cookies. Otherwise, is it just a basic
<!--#include virtual="/cgi-bin/WebObjects/AppName.woa/wa/action" -->
include.
I don't recall there being anything else to it (beyond what SSI
usually needs in terms of the xbit hack or naming the files shtml
etc), but that was five years ago.
Chuck
On Sep 20, 2005, at 1:18 PM, Robert Snyder wrote:
On Sun, Sep 18, 2005, Chuck Hill wrote:
You _can_ include
direct action calls to WO from a static HTML file.
How exactly do you do that?
Robert
--
Sacha Michel Mallais Senior Developer / President
Global Village Consulting Inc. http://www.global-village.net/
PGP Key ID: 7D757B65 AIM: smallais
Bottom posting is your friend:
http://www.river.com/users/share/etiquette/
--
Sacha Michel Mallais Senior Developer / President
Global Village Consulting Inc. http://www.global-village.net/
PGP Key ID: 7D757B65 AIM: smallais
ObAd: read "Practical WebObjects" <fnord>
http://www.global-village.net/products/practical_webobjects
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden