WebDAV and MS Office Temp Files

Author Message

Aaron River

Tuesday 21 February 2006 12:57:11 pm

We're using eZp 3.7.2, apache 2.0.52, and php 4.3.9.

On the clients, we're using WebDrive to access the WebDAV resources provided by eZp.

The problem is that when editing a MS Office document from the dav folder via WebDrive,
office's temp files get published to our site.

In WebDrive, I've set the client to "Cache temporary MS Office files" and "Disable DFS".
This has mostly fixed the problems, in that many of the odd offic temp files are never
sent to the webdave server. But, one temp file is still getting through. It always has the
suffix "tmp", and begins with "~WRL".

This is really the only thing, so far, that I've noticed that will keep us from being able to
use the webdav functionality of eZp on a production level.

Can I setup eZp webdav to refuse files based on extension, etc? Is there any better
explanation of how to setup webdav out there? I'v looked at all the usual webdav setup
pages online.

Aaron River

Tuesday 21 February 2006 1:16:02 pm

Test .. (sorry...n00b)

Siniša Šehović

Wednesday 22 February 2006 2:16:41 pm

Hi Aaron,

I belive you could use RewriteRule in your apache httpd.conf to disable "~WRL".

Take a look on this : http://ez.no/community/forum/install_configuration/virtual_hosting_problem_rewriterule_urgent/re_virtual_hosting_problem_rewriterule__12

S.

 

---
If at first you don't succeed, look in the trash for the instructions.

Aaron River

Tuesday 28 February 2006 11:06:57 am

Haven't had to try this yet. I updated our WebDrive version to their latest release, and it looks like they cache those files locally now too.

It is an interesting question of whether a redirect would make Office happy. Would it be okay with the file not getting created? Perhaps if it was not, the tmp files could be created in a designated temporary directory on the dav server, such as "Media/Tmp" (using the rewriting approach). This way, Office would get its tmp files, but they wouldn't get published either.

Thanks.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 04:27:52
Script start
Timing: Jan 19 2025 04:27:52
Module start 'layout'
Timing: Jan 19 2025 04:27:52
Module start 'content'
Timing: Jan 19 2025 04:27:53
Module end 'content'
Timing: Jan 19 2025 04:27:53
Script end

Main resources:

Total runtime1.1422 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 591.2656152.6406
Module start 'layout' 0.00540.0042 743.906339.4766
Module start 'content' 0.00961.1312 783.3828543.6719
Module end 'content' 1.14080.0014 1,327.054712.1484
Script end 1.1421  1,339.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2955160.0002
Check MTime0.00140.1256160.0001
Mysql Total
Database connection0.00070.059210.0007
Mysqli_queries1.086495.1206600.0181
Looping result0.00060.0543580.0000
Template Total1.106396.920.5531
Template load0.00190.163720.0009
Template processing1.104496.693220.5522
Template load and register function0.00020.018210.0002
states
state_id_array0.00200.175210.0020
state_identifier_array0.00120.102320.0006
Override
Cache load0.00160.1374290.0001
Sytem overhead
Fetch class attribute can translate value0.00150.131220.0007
Fetch class attribute name0.00200.178250.0004
XML
Image XML parsing0.00070.058620.0003
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00090.0775150.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs