Hi All,
I am encountering a problem for using WSGIScriptAliasMatch, I am hopping
someone can help me out.
I am working on a project, the project have three parts
1- Configuration website: it would be handled by a django application e.g.
config.wsgi
2- Serve the segment files for MPEG dash which will be handled by another
django app e.g. mpegdash.wsgi
3- Static resources e.g. files, php script, imge, video/audio.
now I am try to handle 1 and 2 by using different Django apps to handle,
the configuration I used in the Apache is below:
=========================================================
WSGIScriptAlias /mat "E:/Work/MAT/config.wsgi"
WSGIScriptAliasMatch
^/testsuite/tests/([a-z0-9][a-z0-9\-]*(\.[a-z0-9][a-z0-9\-]*)+_[A-Z0-9][A-Z0-9_\-]*)/(.*\.fmp4)/(.*)$
"E:/Work/MAT/mpegdash.wsgi"
========================================================
when a request e.g.
"http://mat.test/testsuite/tests/mat.test_1050/720x576i_1000Kbps/media.fmp4/video/1/init.mp4"
comes in, it is handled by mpegdash.wsgi correctly,
but second request such as
"http://mat.test/testsuite/tests/mat.test_1050/HEAAC_96K_3secseg/segments/seg-.fmp4/dashfile.mp4"
will cause fatal error "C:\Python27\lib\site-packages\win32\lib\pywintypes.py
in __import_pywin32_system_module__, line 114"
I think I didn't use the WSGIScriptAliasMatch correctly, could some one
tell what is the problem for my configuration? any suggestion to handle
this?
Thanks in advance.
Best regards,
Monica.
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.