Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <IfDefine !IS_EDX_LOADED>
  2. Define IS_EDX_LOADED
  3. WSGIDaemonProcess lms user=daemon group=daemon processes=2 threads=15 home=/edx/apps/edx/edx-platform python-path=/edx/apps/edx/edx-platform:/edx/apps/edx/edx-platform/venv/lib/python2.7/site-packages display-name=%{GROUP}
  4. </IfDefine>
  5.  
  6.  
  7. RewriteEngine On
  8. RewriteRule ^/edx-studio(.*) http://%{SERVER_NAME}:18010/ [R,L]
  9. RewriteRule ^/redirect_to_wiki.* https://wiki.bitnami.com/Applications/Bitnami_Open_edX#How_to_configure_the_Preview_button_in_Studio.3f [NE,R,L]
  10.  
  11. Alias /static/ /edx/apps/edx/edxapp/staticfiles/
  12. <Directory /edx/apps/edx/edxapp/staticfiles/>
  13. <IfVersion < 2.3 >
  14. Order allow,deny
  15. Allow from all
  16. </IfVersion>
  17. <IfVersion >= 2.3 >
  18. Require all granted
  19. </IfVersion>
  20. <IfModule pagespeed_module>
  21. ModPagespeedDisallow "*"
  22. </IfModule>
  23. </Directory>
  24.  
  25. Alias /media/ /edx/apps/edx/edxapp/media/
  26. <Directory /edx/apps/edx/edxapp/media/>
  27. <IfVersion < 2.3 >
  28. Order allow,deny
  29. Allow from all
  30. </IfVersion>
  31. <IfVersion >= 2.3 >
  32. Require all granted
  33. </IfVersion>
  34. <IfModule pagespeed_module>
  35. ModPagespeedDisallow "*"
  36. </IfModule>
  37. </Directory>
  38.  
  39. WSGIProcessGroup lms
  40. WSGIApplicationGroup %{GLOBAL}
  41.  
  42. WSGIScriptAlias / /edx/apps/edx/edx-platform/lms/wsgi_apache_lms.py
  43. <Directory /edx/apps/edx/edx-platform/lms>
  44. <Files wsgi_apache_lms.py>
  45. Order deny,allow
  46. Allow from all
  47. </Files>
  48. </Directory>
  49.  
  50. <Directory "/edx/apps/edx/edx-platform">
  51.  
  52.  
  53. Options FollowSymLinks MultiViews
  54. LanguagePriority en
  55. ForceLanguagePriority Prefer Fallback
  56. AllowOverride All
  57. <IfVersion < 2.3 >
  58. Order allow,deny
  59. Allow from all
  60. </IfVersion>
  61. <IfVersion >= 2.3 >
  62. Require all granted
  63. </IfVersion>
  64. <IfModule pagespeed_module>
  65. ModPagespeedDisallow "*"
  66. </IfModule>
  67.  
  68. Include "/edx/apps/edx/conf/banner.conf"
  69. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement