You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Haipeng Du <fl...@hotmail.com> on 2004/08/27 00:47:25 UTC
reportMethod
Could somebody explain reportMethod for me? If I have file with uri
http//localhost:8080/slide/files/test.txt, how could I get all information
about this one, for example: version number, history. And if I want to
replace it with an old version file, how could I do?
Thanks a lot.
Haipeng
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: reportMethod
Posted by Ingo Brunberg <ib...@fiz-chemie.de>.
> Could somebody explain reportMethod for me? If I have file with uri
> http//localhost:8080/slide/files/test.txt, how could I get all information
> about this one, for example: version number, history.
Take the time to read the Delta-V spec you can find at www.webdav.org
and search the slide-user and slide-dev archives for examples.
> And if I want to
> replace it with an old version file, how could I do?
There's the UPDATE method that serves that purpose. Again, a look at
the spec is invaluable.
> Thanks a lot.
> Haipeng
Regards,
Ingo
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Domain.xml -> scope
Posted by Pingkui HOU <ko...@sunflare.co.jp>.
Sorry, I got it.
I changed the node in the web.xml,
"<param-name>scope</param-name>
<param-value>/files</param-value>"
now, it works.
best regards.
----- Original Message -----
From: "Pingkui HOU" <ko...@sunflare.co.jp>
To: "Slide Users Mailing List" <sl...@jakarta.apache.org>
Sent: Friday, August 27, 2004 10:20 AM
Subject: Domain.xml -> scope
> hi, there,
>
> I was trying to test the configuration function of Slide according to the
> configuration page on the slide homepage.
> "...if you want to expose only the /files collection via WebDAV, set this
> parameter to '/files'. "
>
> I changed the domain scope node from "<scope match="/" store="tx"/>" to
> "<scope match="/" store"tx">/files</scope>" and restarted the Tomcat.
> When I open the URL http://localhost:8080/slide with the user: john, I
still
> was able to see all five directories: users, files, history,...........
>
> BTW, I tested it using the tomcat bundle version.
>
> Any idea will be appreciated.
>
> Best Regards.
>
> Pingkui Hou
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Domain.xml -> scope
Posted by James Mason <ma...@apache.org>.
The "scope" being referred to in this case a parameter to the webdav
servlet. You can find this in the web.xml file in the slide/WEB-INF
folder that comes with the tomcat bundle. Change the <param-value/> tag
to <param-value>/files</param-value> and you should be good to go.
-James
Pingkui HOU wrote:
> hi, there,
>
> I was trying to test the configuration function of Slide according to the
> configuration page on the slide homepage.
> "...if you want to expose only the /files collection via WebDAV, set this
> parameter to '/files'. "
>
> I changed the domain scope node from "<scope match="/" store="tx"/>" to
> "<scope match="/" store"tx">/files</scope>" and restarted the Tomcat.
> When I open the URL http://localhost:8080/slide with the user: john, I still
> was able to see all five directories: users, files, history,...........
>
> BTW, I tested it using the tomcat bundle version.
>
> Any idea will be appreciated.
>
> Best Regards.
>
> Pingkui Hou
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Domain.xml -> scope
Posted by Pingkui HOU <ko...@sunflare.co.jp>.
hi, there,
I was trying to test the configuration function of Slide according to the
configuration page on the slide homepage.
"...if you want to expose only the /files collection via WebDAV, set this
parameter to '/files'. "
I changed the domain scope node from "<scope match="/" store="tx"/>" to
"<scope match="/" store"tx">/files</scope>" and restarted the Tomcat.
When I open the URL http://localhost:8080/slide with the user: john, I still
was able to see all five directories: users, files, history,...........
BTW, I tested it using the tomcat bundle version.
Any idea will be appreciated.
Best Regards.
Pingkui Hou
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org