This person also sent this question on github, so if anyone is interested, go there for the canonical thread:
https://github.com/fruux/sabre-dav/issues/722 On Wednesday, September 23, 2015 at 2:56:41 AM UTC+2, Alex .A wrote: > > Hi IngoRatsdorf, > > Thanks for your reply. My saber/dav is working fine right now. I can see > the page that has the form to upload file and create directories. But, when > I upload a file and then click on the uploaded file name, I get 404 error. > That's because the url path of the file doesn't have the "public" folder > name on it, if manually add the "/public" to the address bar before the > file name, I can see the file on the browser (I am I can open it if it's > picture, the picture can be seen, which is fine). > > How we can setup up our route to automatcally adds the "/public" to the > route of the uploaded file? For example, plz see the attached file, when I > click on the "pic_2.jpg" , I see 404 error on the page. > > Another issue I have is using the Finder on my Mac. I can connect to > remote server using Finder and web dav, but when I drag a file to that > folder , it asked me for username/password, but never accepts my > username/password. > > Should I setup my credentials somewhere in Saberdav? > > Thank you, I really appreciate your help. > Alex > > > On Friday, September 18, 2015 at 4:37:49 PM UTC-7, IngoRatsdorf wrote: >> >> Hi Alex, >> >> are you sure that you read http://sabre.io/dav/gettingstarted/ ? >> See down half way through the "Testing". Apparently you have to enter the >> URL that you have assigned to your server. If you do not know how to get >> there, then I suggest you read about your server (Apache?, don't know) and >> PHP. >> >> Please refer to this: >> >> We're talking about this line: >> >> $server->setBaseUri('/url/to/server.php'); >> >> This path needs to point exactly to the server script. To find out what >> this should be, try to open server.php in your browser, and simply strip >> off the protocol and domainname. >> >> So if this is how you access sabredav: >> >> http://mydomain/sabredav/server.php >> >> Then your base url would be: >> >> /sabredav/server.php >> >> >> So you would have to enter exactly that for testing: >> >> http://mydomain/sabredav/server.php >> >> But of course we do not know how you have set up and what your URL is and >> whether you use rewriting... >> >> Cheers, >> Ingo >> >> >> On 16/09/2015 10:58, Alex .A wrote: >> >> Hi Guys, >> >> I am new to SaberDav. I installed SaberDav in my server and want to >> simply create a test function to see if the SaberDav is working fine. >> >> I read the docs in http://sabre.io/dav/gettingstarted/ , but I don't >> know how to see the result in browser ? >> >> Thanks, >> Alex >> -- >> >> -- You received this message because you are subscribed to the Google Groups "SabreDAV Discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sabredav-discuss/5e1b259e-0a74-4626-a91c-6e2d658c822b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
