Solved

WebDAV Check-Out Retrieves Parsed PHP File Instead of Source

Posted on 2007-03-30
2
483 Views
Last Modified: 2013-12-06
I have successfully set up a WebDAV directory with permission access and can connect with the credentials I provide.

The problem is, whenever I check out a PHP file, I receive the parsed version instead of the source.

The PHP files are parsed fine and can be accessed from a browser, but the problem occurs only when I try to get or check out a file via a WebDAV connection.

I am sure it's a directive or permissions issue, but I have no idea where to start looking.

Any help would be appreciated.
0
Comment
Question by:cracky
2 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 500 total points
ID: 18834918
Guess this is a configuration issue of your webserver.  You need to configure your webserver so that for the webdav-part php is not enabled. Gues you will need to have a virtual host for webdav which has no interpretation of php enabled and the rest which has php enabled.
Unfortunal I can't tell you how to configure apache that way. Maybe the docu help http://httpd.apache.org/docs/2.0/en/mod/mod_mime.html
0
 
LVL 14

Author Comment

by:cracky
ID: 18835014
Thanks hernst.

Surely the whole idea is for WebDAV to be able to serve files and allow you to connect and transfer them at the same time? Doesn't it defeat the purpose if I have to check out from a directory outside of the Docroot?

I'll examine the options, but hopefully someone will chime in with another idea :)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now