cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Köster <n...@lolili.de>
Subject Auth-Protect for map:read
Date Thu, 15 Apr 2004 16:54:57 GMT
Hi there,

While properly authenticated (-> other pages work quite well) the one below
doesn't show my pdf but a message like this:

Error during resolving of the input stream

org.apache.cocoon.ResourceNotFoundException: Error during resolving of the
input stream: org.apache.excalibur.source.SourceNotFoundException:
file:/C:/Programme/Apache Software Foundation/Tomcat
5.0/webapps/cocoon/nkpm/resources/documents/ doesn't exist.

cause: java.io.FileNotFoundException: C:\Programme\Apache Software
Foundation\Tomcat 5.0\webapps\cocoon\nkpm\resources\documents (Zugriff
verweigert)

Without the auth-protect it works.


	<map:pipeline>
		<map:match pattern="lounge/documents/*">
	        <map:act type="auth-protect">
	          	<map:parameter name="handler"
value="portalhandler"/>
				<map:read mime-type="application/pdf"
src="resources/documents/{1}"/>
			</map:act>
		</map:match>
	</map:pipeline>

What's wrong in it??

Thanx,
Reegards,
Nils


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


Mime
View raw message