Solved

WebDAV Check-Out Retrieves Parsed PHP File Instead of Source

Posted on 2007-03-30
2
487 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Cloud file services can fill many different roles for your business. Often, the use of cloud file services begins with employees using consumer products, like Dropbox, to share files with customers and each other. While sync-and-share can be an effe…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

821 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