I am running a django application on top of apache using mod_wsgi using WAMP.
A specific URL allows me to transfer the contents of image files whose paths are stored in the database.
Files can be found on the local computer or under a network drive ( \\my\network\folder ).
With the development server (manage.py runningerver), I have no problem reading and streaming files.
With WAMP and network drive files, I get IOError : obviously, because the httpd instance does not have read permission on the specified drive.
In the task manager, I see that httpd.exe is running SYSTEM . I would like to tell WAMP to start the server as [I], since I have read and write permissions in the public folder. (ultimately, the production server must be started by the user "www-admin" with permissions)
Mapping a network share folder to a drive letter (Z: for example) does not solve this at all.
The User / Group directives in httpd.conf do not seem to affect Apache behavior.
I also edited: I tried duplicating the HKLM\[...]\wampapache in HK_CURRENT_USER\ and renaming the original key, but then the new key does not seem to be found when I smd it
> httpd.exe -n wampapache -k start
or when I start WAMP.
I'm out of ideas :)
Has anyone had the same problem?
apache wamp
Olivier h
source share