Figured it out.  I had the write apache config files, but the wrong apache.  I 
was running the MacOS built in one instead of the one I installed from MacPorts.



> On Mar 7, 2018, at 6:18 AM, Jeff Schmitz <jeffschm...@icloud.com> wrote:
> 
> I’m having the same "The requested URL /cgi-bin/WebObjects/… was not found on 
> this server"  error on a new server I’m setting up.  I brought the config 
> files over from a working machine, changed all the “host” parameters to the 
> new machine name, and brought over the same apache4.2 mod_WebObjects.so from 
> the working machine. 
> 
> I’m running:
> Server version: Apache/2.4.28 (Unix)
> Server built:   Oct 29 2017 19:28:54
> 
>  womonitor starts the app fine, no errors.
> 
> Anything else to check?
> 
>> On Jun 26, 2017, at 2:20 PM, Louis Demers <louisdem...@mac.com 
>> <mailto:louisdem...@mac.com>> wrote:
>> 
>> Yes, it actually mucked with 
>> /Library/Server/Web/Config/apache2/httpd_server_app.conf and removed
>> 
>> the two lines i had added ...
>> 
>> # Including WebObjects Configs
>> Include 
>> /Library/WebObjects/Versions/WebObjects543/System/Library/WebObjects/Adaptors/Apache2.4/apache.conf
>> 
>> 
>> I'm back up...
>> 
>> Thanks...
>> 
>> Louis Demers Eng.
>> louisdem...@mac.com <mailto:louisdem...@mac.com>
>> 
>> 
>> 
>>> On Jun 26, 2017, at 14:22, Chuck Hill <ch...@gevityinc.com 
>>> <mailto:ch...@gevityinc.com>> wrote:
>>> 
>>> Hi Louis,
>>>  
>>> You should always make a back up of httpd.conf when doing this.  Apple 
>>> loves to fiddle.
>>>  
>>> Not Found
>>> The requested URL /cgi-bin/WebObjects/Alexandria was not found on this 
>>> server.
>>>  
>>> Means that it is not seeing cgi-bin as a script directory.  Check these 
>>> sections of the Apache config:
>>>  
>>>     #                                                                       
>>>                                                                             
>>>        
>>>     # ScriptAlias: This controls which directories contain server scripts.  
>>>                                                                             
>>>        
>>>     # ScriptAliases are essentially the same as Aliases, except that        
>>>                                                                             
>>>        
>>>     # documents in the target directory are treated as applications and     
>>>                                                                             
>>>        
>>>     # run by the server when requested rather than as documents sent to the 
>>>                                                                             
>>>        
>>>     # client.  The same rules about trailing "/" apply to ScriptAlias       
>>>                                                                             
>>>        
>>>     # directives as to Alias.                                               
>>>                                                                             
>>>        
>>>     #                                                                       
>>>                                                                             
>>>        
>>>     ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) 
>>> "/Library/WebServer/CGI-Executables/$1"
>>>  
>>> #                                                                           
>>>                                                                             
>>>        
>>> # "/Library/WebServer/CGI-Executables" should be changed to whatever your 
>>> ScriptAliased                                                               
>>>         
>>> # CGI directory exists, if you have that configured.                        
>>>                                                                             
>>>        
>>> #                                                                           
>>>                                                                             
>>>        
>>> <Directory "/Library/WebServer/CGI-Executables">
>>>     AllowOverride None
>>>     Options None
>>>     Require all granted
>>> </Directory>
>>>  
>>>  
>>> Chuck
>>>  
>>> From: Webobjects-dev 
>>> <webobjects-dev-bounces+chill=gevityinc....@lists.apple.com 
>>> <mailto:webobjects-dev-bounces+chill=gevityinc....@lists.apple.com>> on 
>>> behalf of Louis Demers <louisdem...@mac.com <mailto:louisdem...@mac.com>>
>>> Date: Monday, June 26, 2017 at 11:15 AM
>>> To: "webobjects-dev@lists.apple.com 
>>> <mailto:webobjects-dev@lists.apple.com>" <webobjects-dev@lists.apple.com 
>>> <mailto:webobjects-dev@lists.apple.com>>
>>> Subject: Application no longer responding after OSX and Server update
>>>  
>>> Hi,
>>> 
>>> applied to our OSX server this morning the latest os and server versions. 
>>> Now ou app is no longer responding 
>>> 
>>> wotasd is running without error
>>> 
>>> Javamonitor is running without error
>>> 
>>> application is running whether started from Javamonitor or manually
>>> 
>>> accessing the application  with 
>>> http://alexandria.obzerv.com/cgi-bin/WebObjects/Alexandria 
>>> <http://alexandria.obzerv.com/cgi-bin/WebObjects/Alexandria> yields 
>>> 
>>> Not Found
>>> The requested URL /cgi-bin/WebObjects/Alexandria was not found on this 
>>> server.
>>> 
>>> 
>>> accessing the application  with http://alexandria.obzerv.com:2001/ 
>>> <http://alexandria.obzerv.com:2001/> yields
>>> 
>>> Safari can't open page
>>> Safari can't open page ... because the server unexpectedly dropped the 
>>> connection...
>>> 
>>> 
>>> Any clue ?
>>> 
>>> 
>>> Louis Demers Eng.
>>> louisdem...@mac.com <mailto:louisdem...@mac.com>
>>>  
>>>  
>>> 
>>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com 
>> <mailto:Webobjects-dev@lists.apple.com>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/jeffschmitz%40icloud.com
>>  
>> <https://lists.apple.com/mailman/options/webobjects-dev/jeffschmitz%40icloud.com>
>> 
>> This email sent to jeffschm...@icloud.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/jeffschmitz%40icloud.com
> 
> This email sent to jeffschm...@icloud.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