Hi Lachlan,

Thanks for the info. I had tried most of what you explained, other than adding 'Allow from localhost' (which I've now done).

After restarting Apache, I now get:

You don't have permission to access /cgi-bin/WebObjects/ AltQ.woa/-5555 on this server.

I've checked the various permissions, which I believe are correct.

Obviously something's amiss. Thoughts?


On Aug 15, 2008, at 12:48 AM, Lachlan Deck wrote:

Hi Joshua,

On 15/08/2008, at 12:06 PM, Joshua Paul wrote:

Has anyone dealt with getting WOLips working with a MacPorts install of Apache 2?

Not sure what WOLips has to do with Apache?

If so, do you mind sharing your config info, or how you managed to get WO to "serve" through Apache correctly?

I don't see what difference it would make between using the ports install of Apache 2.2 and the default in terms of set up... just the location of the conf file is different :-)

Do a diff between the two httpd.conf files.

For standard install....the bottom of the conf file for apache has:
Include /private/etc/apache2/other/*.conf

I've symlinked like so in the above folder:
webobjects.conf -> /System/Library/WebObjects/Adaptors/Apache2.2/ apache.conf

Then in /etc/apache2/httpd.conf
<Directory />
   Options FollowSymLinks
   AllowOverride None
   Order deny,allow
   Deny from all
   Allow from localhost # added this line
</Directory>

You'll need the alias stuff:
<IfModule alias_module>
  <...>
ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/ WebServer/CGI-Executables/$1"
</IfModule>

But you can find all that stuff diffing the standard httpd.conf...

with regards,
--

Lachlan Deck


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

This email sent to [EMAIL PROTECTED]

Reply via email to