Advertisement
Guest User

sample multi-site library config

a guest
Jul 14th, 2014
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. <VirtualHost *:443>
  2. DocumentRoot "/openils/var/web"
  3. ServerName algoma.concat.ca:443
  4.  
  5. # - absorb the shared virtual host settings
  6. Include eg_vhost.conf
  7. Include eg_vhost_ssl.conf
  8. <Location /eg>
  9. PerlAddVar OILSWebTemplatePath "/openils/var/templates_algoma"
  10. PerlAddVar OILSWebLocale "fr_ca"
  11. PerlAddVar OILSWebLocale "/openils/var/data/locale/fr-CA.po"
  12. </Location>
  13.  
  14. SetEnv physical_loc 111
  15. </VirtualHost>
  16.  
  17. <VirtualHost *:443>
  18. DocumentRoot "/openils/var/web"
  19. ServerName boreal.concat.ca:443
  20.  
  21. # - absorb the shared virtual host settings
  22. Include eg_vhost.conf
  23. Include eg_vhost_ssl.conf
  24. <Location /eg>
  25. PerlAddVar OILSWebTemplatePath "/openils/var/templates_boreal"
  26. PerlAddVar OILSWebLocale "fr_ca"
  27. PerlAddVar OILSWebLocale "/openils/var/data/locale/fr-CA.po"
  28. PerlAddVar OILSWebDefaultLocale "fr-CA"
  29. </Location>
  30.  
  31. SetEnv physical_loc 135
  32. </VirtualHost>
  33.  
  34. <VirtualHost *:80>
  35. ServerName algoma.concat.ca
  36. DocumentRoot /openils/var/web/
  37. DirectoryIndex index.xml index.html index.xhtml
  38. Include eg_vhost.conf
  39. <Location /eg>
  40. PerlAddVar OILSWebTemplatePath "/openils/var/templates_algoma"
  41. PerlAddVar OILSWebLocale "fr_ca"
  42. PerlAddVar OILSWebLocale "/openils/var/data/locale/fr-CA.po"
  43. </Location>
  44. SetEnv physical_loc 111
  45. </VirtualHost>
  46.  
  47. <VirtualHost *:80>
  48. ServerName boreal.concat.ca
  49. DocumentRoot /openils/var/web/
  50. DirectoryIndex index.xml index.html index.xhtml
  51. Include eg_vhost.conf
  52. <Location /eg>
  53. PerlAddVar OILSWebTemplatePath "/openils/var/templates_boreal"
  54. PerlAddVar OILSWebLocale "fr_ca"
  55. PerlAddVar OILSWebLocale "/openils/var/data/locale/fr-CA.po"
  56. PerlAddVar OILSWebDefaultLocale "fr-CA"
  57. </Location>
  58. SetEnv physical_loc 135
  59. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement