Just did a deployment on CentOS 7 (finally took the time to set up my HP 
MicroServer). You have to comment this in httpd.conf:

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/« 
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

and in webobjects.conf:

<Location /cgi-bin/WebObjects/>
    <Limit GET POST OPTIONS >
      Require all granted
    </Limit>
    Require all denied
</Location>

Reload Apache (sudo apachectl graceful) after.

> Le 27 mai 2016 à 20:54, Theodore Petrosky <[email protected]> a écrit :
> 
> on CentOS, any and all files ending with .conf that live in /etc/http/conf.d/ 
> will be read.
> 
> This is the last lines of httpd.conf
> 
> # Supplemental configuration
> #
> # Load config files in the "/etc/httpd/conf.d" directory, if any.
> IncludeOptional conf.d/*.conf
> 
> 
> I renamed the box so it comes up as localhost, and  i the error has changed to
> 
> Not Found
> 
> The requested URL /cgi-bin/WebObjects/ASProjectManagement was not found on 
> this server.
> 
> so now the .woa/1 is gone. but the project that lives here is not working.
> 
> you do not use centos, but you are using apache. if you had the installation 
> structure as below, what would your webobjects.conf look like?
> 
> /var/www/html is the default location for web pages and indeed I put a file 
> index.html there and it is served just fine.
> 
> Ted
> 
> 
>  
> 
>> On May 27, 2016, at 8:03 PM, Paul Hoadley <[email protected]> wrote:
>> 
>> Hi Ted,
>> 
>> With the caveat that we don’t use CentOS, and that there is almost certainly 
>> more than one way to do it...
>> 
>> On 27 May 2016, at 10:53 pm, Theodore Petrosky <[email protected]> wrote:
>> 
>>> Given, you have a split install set up for
>>> 
>>> application:   /opt/Local/Library/WebObjects/JavaApplications/
>>> split install:   /var/www/html/WebObjects/
>>> 
>>> what directory directive do you put into webobjects.conf?
>> 
>> You’ve got to put that where Apache is expecting to find its configuration 
>> files. On Amazon Linux, that’s /etc/httpd/conf.d. You need to work out where 
>> that would be for CentOS, then re-start Apache.
>> 
>> 
>> -- 
>> Paul Hoadley
>> http://logicsquad.net/
>> 
>> 
>> 
> 
> _______________________________________________
> 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/probert%40macti.ca
> 
> 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]

Reply via email to