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:
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 < email@hidden> 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'
|