cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Hoechstaedter <j.hoechstaed...@memocomp.de>
Subject Re: include css
Date Fri, 13 Jun 2008 10:29:01 GMT
No, I am able to access the directory. Theres nothing special about it.

Andre Juffer schrieb:
> Johannes Hoechstaedter wrote:
>> Thank you for your response Andre,
>>
>> I left the default pipelines for internal-resource and 
>> extrenal-resource in my sitemap untouched, ok you are right. I copied 
>> my file and I tried the follwing:
>>
>> href="cocoon://resource/external/style/style-main.css"
>> href="cocoon:/resource/external/style/style-main.css"
>> href="resource/external/style/style-main.css"
>> href="file//C:/.../resource/external/style/style-main.css"
>>
>> The results stays the same. Is there anything else?
>
> The first two would not work in a browser. The last one refers to a 
> file  locally on the machine where the browser runs. The third one 
> should be fine. I cannot see what it would not work. As a matter I 
> have exactly the same in my applications (except for a different name 
> for the CSS file). Is the directory itself not accessible? Maybe wrong 
> permissions?
>
>>
>> My pipeline for external-resources:
>>
>> <map:pipeline id="external-resource">
>>      <!-- Put matchers for external (accessible to the outside world, 
>> e.g. browser) resources here.
>>        More details: 
>> http://cocoon.zones.apache.org/daisy/cdocs-site-main/g2/1345.html -->
>>      <map:match pattern="resource/external/**">
>>        <map:read src="resource/external/{1}"/>
>>      </map:match>
>>    </map:pipeline>
>>
>>
>> Andre Juffer schrieb:
>>> Johannes,
>>>
>>> the /resource/internal is meant for internal access only (check your 
>>> sitemap) and is consequently not accessible from outside requests. 
>>> The other location /resource/external is meant for external access 
>>> (again check your sitemap.
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message