From mail.list@ficonab.com Sat Aug 27 17:25:40 2011 From: mail list To: smallwiki@list.inf.unibe.ch Subject: CSS issue for Apache deployments Date: Sat, 27 Aug 2011 23:25:23 +0800 Message-ID: <117217E2-8A3C-4AD2-B757-8D92CDE13B9F@ficonab.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4285528706106689573==" --===============4285528706106689573== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Aplogies but I am a bit new to pier so please excuse any mistakes in communic= ations. I am using Pharo 1.3 and have pier loaded up on it nicely. (to get it all wo= rking nicely i had to install OSP process). It all works well on my local box (styles etc). I then deployed the image to an amazon linux box behind apache 2.2. This is = all set up nicely and the mod_proxy and mod_rewrite are working well. The only issue i have is that the default style sheet is not presenting with = the proper url. (e.g. I can login/logout of pier, all works well except for = the default css style sheet associated with the environment - e.g. I get an= error 404 on the default style sheet) First few paragraphs of the html page follows... <= link rel=3D"stylesheet" type=3D"text/css" media=3D"print" href=3D"http://test= help.sg.estormtech.com/files/PRBlueprintLibrary/print.css"/> rel=3D"stylesheet" type=3D"text/css" > href=3D"http://testhelp.sg.estormtech.com/files/WADevelopmentFiles/developm= ent.css"/> name=3D"generator" content=3D"Pier - Magritte - Seaside"/> type=3D"text/css" > href=3D"testhelp.sg.estormtech.com/estormhelp/a9/8bwetsf5rctr3kefd2lkty9b5m= bkws/style.css"/> > If you look at the last href you will see that it is missing the http:// (so > when the link is presented in the browser the browser tries to connect to: > "http://testhelp.sg.estormtech.com/testhelp.sg.estormtech.com/estormhelp/a9= /8bwetsf5rctr3kefd2lkty9b5mbkws/style.css" > Note the repetition of the domain name due to the lack of http:// in the > href > Any thoughts or advice? > in the pier config pages I have hostname set (test help.sg.estormtech.com) > and http and base url and resource url set to / > S. > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > --=20 Lukas Renggli www.lukas-renggli.ch --===============0276778311606595594==--