Thanks Stephan. I fixed it by adding a virtualhost *:80  and changing the
directory from the default of /var/www/html (or whatever it was) to the
/opt path containing my static resources.

Thank you

Mark

On Wed, 24 Jan 2018 at 08:08 Stéphan Mertz <sme...@me.com> wrote:

> Hello,
>
> Do you have a <VirtualHost *:80> configuration in the webobjects.conf
> file, or just <VirtualHost *:443> ?
>
> Stéphan
>
>
> Le 24 janv. 2018 à 00:07, Mark Wardle <m...@wardle.org> a écrit :
>
> Dear all,
>
> I have migrated an application to a new server, in the process upgrading
> from Centos 5 to 7, PostgreSQL 8 to 10 and apache 2.2 to 2.4
>
> Apart from a nasty ScriptAlias declaration that needed commenting out,
> installing was mostly a breeze.
>
> I have an odd problem with apache delivering (or rather, not delivering)
> static resources. It works using https:// but not http:// and I have two
> hostnames can resolve to the same IP address and one works with https://
>  and one doesn't.
>
> I have installed the static WebServerResources bit of my application in
> /opt/Local/WebServer/Documents/WebObjects/Appname.woa/...  and
> WebServerResources in the webobjects.conf apache file is
> /opt/Local/WebServer/Documents
>
> Am I missing something obvious? Can't work out why it works only with one
> hostname and only via https.
>
> Mark
>
> _______________________________________________
> 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/smertz%40me.com
>
> This email sent to sme...@me.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