Problem solved:

running Apache as a service did not have same permission as my UID.
Restarted service running under my user (configured Windows service)
and got access to those files.

A

On Oct 2, 3:06 pm, Andre <[EMAIL PROTECTED]> wrote:
> Regards to all,
>
> I have completed Phase 1 of my first Django site and trying to deploy
> it on Apache. And hit a problem:
>
>     if os.path.exists("\\file_server01\myproject\mydir")
>
> This returns True on development Django server and False on Apache 2.2
> with mod_python 3.3.1 running on W2000. I suspect it's something to do
> with apache configuration, security, etc. I even tried
>
> if os.path.exists("\\file_server01\myproject\mydir".replace('\\',
> '/'))
>
> Any ideas anyone? Is this the right forum to discuss?
>
> TIA,
> Andre
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to