Solved

WebDAV Check-Out Retrieves Parsed PHP File Instead of Source

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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 …

762 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

17 Experts available now in Live!

Get 1:1 Help Now