On Jul 17, 2008, at 7:14 PM, D Tim Cummings wrote:

On 17/07/2008, at 2:17 AM, Rams wrote:

Clicking WOStats or the app name on the app details page gives me

Forbidden
You don't have permission to access /cgi-bin/WebObjects/myapp.woa/1 on this server.

could be a host name issue

Turns out, I needed to enable access in the apache httpd.conf file with

<Directory />
    Options FollowSymLinks
    AllowOverride None
#    Order deny,allow
#    Deny from all
</Directory>

I then changed that back, and used the suggestion found here:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg18879.html

<Location /cgi-bin/WebObjects>
    Allow from All
</Location>

#Does this line need to go inside the <IfModule alias_module> block?
Alias /WebObjects /Library/WebServer/Documents/WebObjects
<Location /WebObjects>
    Options -Indexes
    Allow from All
</Location>

And either of those seems to cure the 403 Forbidden problem, but now my problem is that I'm getting "No Instance Available" pages seemingly at random. The apache access_log shows a 500 error.

I tried enabling logging with a $ sudo touch /tmp/logWebObjects and so far I see no WebObjects.log in the tmp directory or anything WO related in /var/log either.

To get logging working in Leopard I also had to

edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf and uncomment the last line
WebObjectsLog /Library/WebObjects/Logs/WebObjects.log Debug

and I had to create the file with permission for _appserver to write to it
touch /Library/WebObjects/Logs/WebObjects.log
chown _appserver /Library/WebObjects/Logs/WebObjects.log

I've tried all this and still don't see anything showing up in the log. I would assume if it were working, I would at least see an info message or two in debug mode... So, I'm still having no luck getting the adaptor log working. Do I need to restart my instances after I sudo touch /tmp/logWebObjects or something?

rg

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to