Thanks Bastien, it worked.

Has I use a apache2.4 in a custom location, I adjusted your command with my 
apxs to:

make ADAPTORS=Apache2.4 LTFLAGS='--tag CC' APXS2.2=/Kaviju/Web/apache2/bin/apxs

After spending too much time with the default Apache 2.4 configuration to get 
rid of the "Forbidden" error without allowing access to /, I think my solution 
may help others.

In the httpd.conf file:

 - Change the ScriptAlias directive to the Apple default one:

ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
"/Library/WebServer/CGI-Executables/$1"

- Add the web object config include (adjust to the location of the file, mine 
is in the apache conf directory):

Include conf/webobjects.conf

In the webobjects.conf file:

Adjust the WebObjects module configurations:

WebObjectsDocumentRoot /Kaviju/Web/websites/web.kaviju.com
WebObjectsAlias /apps/WebObjects

Add these lines to allow access to the apps in all virtual hosts:

<Location /apps/ >
   Require all granted
</Location>

Samuel

Le 2013-07-15 à 17:33, Bastian Triller <bastian.tril...@gmail.com> a écrit :

> $ sudo ln -s 
> /Applications/Xcode.app/Contents/Developer/Toolchains/{XcodeDefault,OSX10.8}.xctoolchain
> $ cd ~/git/wonder/Utilities/Adaptors
> $ make ADAPTORS=Apache2.2 LTFLAGS='--tag CC'
> 
> 
> On Mon, Jul 15, 2013 at 9:36 PM, Chuck Hill <ch...@global-village.net> wrote:
> No help from me, but I ran into this recently.  I did not really need it, so 
> I just ran away.
> 
> 
> On 2013-07-15, at 12:14 PM, Samuel Pelletier wrote:
> 
> > If I specify only CGI, it build. Any other fail with the errors I quoted.
> >
> > The build script probably broke with the xCode release that removed gcc 
> > many months ago. It just seems people are not compiling adaptor often.
> >
> > Samuel
> >
> > Le 2013-07-15 à 13:00, John Huss <johnth...@gmail.com> a écrit :
> >
> >> Try this  - from BuildingInstructions.html:
> >>      • Select the adaptor that you want to build by editing the ADAPTORS 
> >> variable in make.config. You can build multiple adaptors for different web 
> >> servers at the same time.
> >>
> >>
> >> On Mon, Jul 15, 2013 at 11:19 AM, Samuel Pelletier <sam...@samkar.com> 
> >> wrote:
> >> Hi,
> >>
> >> I try to compile an Apache adaptor on Mac OS X 10.8 with the xCode 4.6 
> >> command line tools installed.
> >>
> >> The default make stop at FastCGI with an error:
> >> lipo: can't figure out the architecture type of: 
> >> /var/folders/jz/k0w8zpfd7w7b04zt077cs1140000gn/T//ccc2vy1M.out
> >>
> >> If I go to the Apache2.2 directory and make, another error:
> >> libtool: compile: unable to infer tagged configuration
> >> libtool: compile: specify a tag with `--tag'
> >>
> >> In Apache 2.4, same error.
> >>
> >> I tried to add this --tag=CC thing that seems missing somewhere but I 
> >> cannot figure where it should be added. Adding it to a gcc line produce 
> >> another error:
> >> cc1: error: unrecognized command line option "-ftag=CC"
> >>
> >> Is there someone who understand all these makefile and flags to help me 
> >> fix this?
> >>
> >> Samuel
> >>
> >>
> >>
> >>  _______________________________________________
> >> Do not post admin requests to the list. They will be ignored.
> >> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> >> Help/Unsubscribe/Update your Subscription:
> >> https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
> >>
> >> This email sent to johnth...@gmail.com
> >>
> >
> > _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> >
> > This email sent to ch...@global-village.net
> 
> --
> Chuck Hill
> Executive Managing Partner, VP Development and Technical Services
> 
> Practical WebObjects - for developers who want to increase their overall 
> knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/gvc/practical_webobjects
> 
> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
> Companies in B.C!
> 
> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of 
> Canada’s Fastest-Growing Companies by PROFIT Magazine!
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/bastian.triller%40gmail.com
> 
> This email sent to bastian.tril...@gmail.com
> 

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

This email sent to arch...@mail-archive.com

Reply via email to