Hi Stravros, This is the directory you specified in the ScriptAlias directive.
On my servers, I compiled and installed a clean copy of Apache so the config does not interfere with Apple default installation. I also bind the server on a dedicated IP different from the host (machine) IP. I even use different apache installation to isolate site. I think you can even have distinct wotaskd and womonitor on the same machine if you une distinct IPs. To move the site to another server, you only need to move a single directory and add a startup script. Trying to support the Apple server services and a WO app on the same virtual host is more tricky because you need to modify the right file and make sure you do not interfere with other services. I know many here use default apache from the OS distribution but I really prefer to have an isolated installation with a minimum risk of interference with a system update. A compile from source is also easily moved to a different OS. Samuel Le 2013-12-28 à 11:32, Stavros Panidis <[email protected]> a écrit : > Dear Samuel, > > what should be “Your/cgi-bin/directory” ? > > For example “/cgi-bin/WebObjects/Myapp.woa” or something else? > > Stavros > > On 27 Δεκ 2013, at 4:38 μ.μ., Samuel Pelletier <[email protected]> wrote: > >> Hi, >> >> With newer version of Apache, the request to the WebObjects adaptor are >> denied. You need to change the access permission for the cgi-bon directory >> in your httpd.conf file. >> >> <Directory "Your/cgi-bin/directory"> >> AllowOverride None >> Options None >> Require all granted >> </Directory> >> >> Samuel >> >> Le 2013-12-27 à 09:13, Ralf Schuchardt <[email protected]> a écrit : >> >>> >>> Am 27.Dez. 2013 um 05:34 schrieb Stavros Panidis >>> <[email protected]>: >>> >>>> Dear, >>>> >>>> I try to deploy as follows OS X 10.9.1 clean install on iMac >>>> After finishing installation web server is working serving static pages. >>>> >>>> Then, following instruction from >>>> >>>> http://wiki.wocommunity.org/display/documentation/Deployment >>>> >>>> I did >>>> >>>> -Install WebObjects using Apple’s Installer >>>> -Configure Apache >>>> -Configure launchd >>>> >>>> This last is not working since www.greenislandconsulting.com fail to open. >>>> Is there another way? >>> >>> com.apple.womonitor.plist: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" >>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >>> <plist version="1.0"> >>> <dict> >>> <key>Disabled</key> >>> <false/> >>> <key>GroupName</key> >>> <string>_appserverusr</string> >>> <key>Label</key> >>> <string>com.webobjects.womonitor</string> >>> <key>OnDemand</key> >>> <false/> >>> <key>Program</key> >>> >>> <string>/Library/WebObjects/Applications/JavaMonitor.woa/JavaMonitor</string> >>> <key>ProgramArguments</key> >>> <array> >>> <string>JavaMonitor</string> >>> <string>-WOPort</string> >>> <string>56789</string> >>> </array> >>> <key>ServiceIPC</key> >>> <false/> >>> <key>UserName</key> >>> <string>_appserver</string> >>> </dict> >>> </plist> >>> >>> com.apple.wotaskd.plist: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" >>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> >>> <plist version="1.0"> >>> <dict> >>> <key>Disabled</key> >>> <false/> >>> <key>GroupName</key> >>> <string>_appserverusr</string> >>> <key>Label</key> >>> <string>com.webobjects.wotaskd</string> >>> <key>OnDemand</key> >>> <false/> >>> <key>Program</key> >>> >>> <string>/Library/WebObjects/Applications/wotaskd.woa/wotaskd</string> >>> <key>ProgramArguments</key> >>> <array> >>> <string>wotaskd</string> >>> <string>-WOPort</string> >>> <string>1085</string> >>> </array> >>> <key>ServiceIPC</key> >>> <false/> >>> <key>UserName</key> >>> <string>_appserver</string> >>> </dict> >>> </plist> >>> >>> >>>> Finally JavaMonitor runs, host is available, I can add my application but >>>> when I try to connect I get >>>> >>>> Not Found >>>> >>>> The requested URL /cgi-bin/WebObjects/Myapp.woa was not found on this >>>> server. >>>> >>>> Apache/2.2.24 (Unix) PHP/5.4.17 mod_wsgi/3.3 Python/2.7.5 mod_ssl/2.2.24 >>>> OpenSSL/0.9.8y DAV/2 Server at 192.168.1.64 Port 80 >>> >>> This error means the request is not reaching the WebObjects adaptor, but is >>> handled by Apache itself. I suspect a misconfigured ScriptAlias line in >>> httpd.conf. You may try to comment out any ScriptAlias statements and see >>> if it works then. >>> >>> Best regards, >>> Ralf Schuchardt >>> >>> >>>> >>>> while the application works in Direct Connect mode, e.g. >>>> http://www.mysite.com:2001/cgi-bin/WebObjects/Myapp.woa >>>> >>>> Best regards, happy and successful New Year >>>> >>>> Stavros Panidis >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com >>> >>> This email sent to [email protected] >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
