Solved

WebDAV Check-Out Retrieves Parsed PHP File Instead of Source

Posted on 2007-03-30
2
490 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

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…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

622 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