hi, not sure if
a) this is the right spot
b) railsdav is still "in use" or other "plugins" are preferred

goal: to use webdav

i installed railsdav according to the guide on:
http://liverail.net/railsdav

i added
#controller
act_as_railsdav , basedir > public
def webdav #gets called via the routes.rb
 res=get_resource_for_path(params[:info_path]) #tried fixed path, eg:
"/tmp/test.txt"
 ......
end


#route
map. connect "mydav/*info_path" , controller>..., action>webdav



>> problem is the whole thing throws an WebDavErrors::ForbiddenError error in 
>> the get_resource_for_path function, but all the file-permissions are fine on 
>> the test.txt...

im not sure how the controller-action should look like to make
everything happen, so im open to everything. tutorials are rare...

thx for any pointer!
tom

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.


Reply via email to