hi,
please check your rewrite rules,
usually the problem you have is due to a difference between servername in
the apache-config and the one you use to access the website (e.g. one of
ther serveraliases):
http://this_server_name ->
RewriteRule ^(.*)
http://localhost:8080/VirtualHostBase/http/other_server_name:80/xy/VirtualHostRoot$1
[P,L]
if you use %{SERVER_NAME} in your config it should work for all aliases:
RewriteRule ^(.*)
http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/xy/VirtualHostRoot$1
[P,L]
donw wrote:
>
> Hi Alexander,
>
> Thanks for replying so quickly. Yes it does work correctly when I access
> Plone through the default port (8080). It is only with apache in front of
> it that the problem occurs.
>
> Regards,
>
> Don
>
>
> Alexander Limi wrote:
>>
>> Sounds like your Apache doesn't have proper mappings for CSS files. Does
>> it work if you access Plone directly (ie. on whatever port it's running
>> on
>> instead of through Apache?)
>>
>> — Alexander
>>
>> On Mon, 23 Apr 2007 14:51:33 -0700, donw
>> <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> Hi everyone,
>>>
>>> I have setup my Plone site behind apache, following the various
>>> tutorials. I
>>> am using Plone 2.5.2 on Debian. When I point my browser at the site, I
>>> get a
>>> text only version of the site, with all the graphical elements missing.
>>> Looking in the Javascript console in Firefox gives me the following
>>> error
>>> messages:
>>>
>>> Error: syntax error
>>> Source File:
>>> http://franktraynors.au.com/portal_javascripts/Plone%20Default/ploneScripts4299.js
>>> Line: 2
>>> Source Code:
>>> <html>
>>>
>>> Error: The stylesheet
>>> http://franktraynors.au.com/portal_css/Plone%20Default/ploneStyles8224.css
>>> was not loaded because its MIME type, "text/html", is not "text/css".
>>>
>>> etc.
>>>
>>> I would really appreciate some help on this one, as all my searching has
>>> not
>>> turned up an answer.
>>>
>>> Regards,
>>> Don Williams
>>
>>
>>
>> --
>> Alexander Limi · http://limi.net
>>
>>
>> _______________________________________________
>> Setup mailing list
>> [email protected]
>> http://lists.plone.org/mailman/listinfo/setup
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Plone-2.5.2-behind-Apache---graphics-and-images-not-displayed-tf3635038s15482.html#a10158785
Sent from the Installation & Setup mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup