Apache Server

I have an Apache server and an application that is attempting to put files on the server.  I get the following errors.  Any ideas on what I need to do to enable this.


ls -l

total 24
-rw-r--r-- 1 root   root    214 Aug 15 16:21 filedump.php
-rw-r--r-- 1 root   root    358 Aug 15 17:14 index.php
drwxrwxrwx 4 apache apache 4096 Oct  1 21:28 live
-rw-r--r-- 1 apache apache  260 Aug 15 17:07 myputfile.ext
-rw-r--r-- 1 root   root     21 Aug 15 16:14 phpinfo.php
-rw-r--r-- 1 root   root    336 Aug 15 17:07 upload.php

[Tue Oct 01 22:31:43 2013] [client] Unable to PUT new contents for /live/GOLFHD/StreamA/Seg_2/StreamA_282.ts.  [403, #0]

[Tue Oct 01 22:31:43 2013] [client] (2)No such file or directory: An error occurred while opening a resource.  [500, #0]

[Tue Oct 01 22:31:44 2013] [client] Unable to PUT new contents for /live/GOLFHD/StreamA/Seg_2/StreamA_282.ts.  [403, #0]

[Tue Oct 01 22:31:44 2013] [client] (2)No such file or directory: An error occurred while opening a resource.  [500, #0]

[Tue Oct 01 22:31:45 2013] [client] Unable to PUT new contents for /live/GOLFHD/StreamA/Seg_2/StreamA_282.ts.  [403, #0]

[Tue Oct 01 22:31:45 2013] [client] (2)No such file or directory: An error occurred while opening a resource.  [500, #0]
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kent DyerIT Security Analyst SeniorCommented:
If the folders/files do indeed exist (check first), then be sure you have appropriate perms setup and pushed down through the folders/files.

Two things to think of when you see: "No Such file or directory."  It is either (1) Truly no file or directory and needs to be created to exist.  (2) If the folder/file does indeed exist, then you have to push permissions down.

One thought that comes to mind with WebDav, is this being run with IIS (ISAPI re-direct) and you may need to push perms through IIS, if applicable.


mdpsolutionsAuthor Commented:
Hi Kent thanks for the comment.  These files don't exist however the application is attempting to place the files on the server using either a POST or a PUT. The application needs to have the ability to constantly write to the Apache server therefore I can not simply create the directories.  Is there anyway to configure apache (Not concerned about security) to allow any remote host to put or post /create files.
Dave BaldwinFixer of ProblemsCommented:
I believe in Apache you need to have an application that will handle PUT and/or POST requests because Apache does not have that feature built in.
you probably go the server root wrong at least for the webdav part. apparently /live/ does not exist meaning that your webdav root is probably another directory.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.