• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apache static file problems - Centos 7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache static file problems - Centos 7


  • Subject: Re: Apache static file problems - Centos 7
  • From: Mark Wardle <email@hidden>
  • Date: Fri, 26 Jan 2018 21:53:14 +0000

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 <email@hidden> 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 <email@hidden> 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      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Apache static file problems - Centos 7 (From: Mark Wardle <email@hidden>)
 >Re: Apache static file problems - Centos 7 (From: Stéphan Mertz <email@hidden>)

  • Prev by Date: Re: [E] Re: Optimizing WO use on AWS
  • Next by Date: Prevent loading model into default group
  • Previous by thread: Re: Apache static file problems - Centos 7
  • Next by thread: Optimizing WO use on AWS
  • Index(es):
    • Date
    • Thread