Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Stuff
Tuesday, November 27th, 2007 at 10:13:35am UTC 

  1. # Koha 2.2 Apache Virtual Host Config File
  2. #
  3. # Please include this file in your apache configuration.
  4. # The best way to do that depends on your site setup.
  5. # Some like an Include adding to /etc/apache/httpd.conf
  6. # and some prefer a symlink to this file from some dir.
  7. # Please refer to your system manuals.
  8.  
  9. # Ports to listen to for Koha
  10. # uncomment these if they aren't already in main httpd.conf
  11. #Listen
  12. #Listen
  13.  
  14. # NameVirtualHost is used by one of the optional configurations detailed below
  15. # Please make sure this line is correct before uncommenting.
  16. # See http://httpd.apache.org/docs/vhosts/ for some guides.
  17.  
  18. #NameVirtualHost 11.22.33.44
  19.  
  20. # KOHA's OPAC Configuration
  21. <VirtualHost :>
  22.    ServerAdmin
  23.    DocumentRoot /home/jlcopaco/koha/htdocs
  24.    ServerName
  25.    ScriptAlias /cgi-bin/koha/ /home/jlcopaco/koha/cgi-bin/
  26.    Redirect permanent index.html http://:/cgi-bin/koha/opac-main.pl
  27.    ErrorLog /home/jlcopaco/log/opac-error_log
  28.    TransferLog /home/jlcopaco/log/opac-access_log
  29.    SetEnv PERL5LIB "/home/jlcopaco/intranet/modules"
  30.    SetEnv KOHA_CONF "/home/jlcopaco/etc/koha.conf"
  31.    
  32. </VirtualHost>
  33.  
  34. # KOHA's INTRANET Configuration
  35. <VirtualHost :>
  36.    ServerAdmin
  37.    DocumentRoot /home/jlcopaco/intranet/htdocs
  38.    ServerName
  39.    ScriptAlias /cgi-bin/koha/ "/home/jlcopaco/intranet/cgi-bin/"
  40.    Redirect permanent index.html http://:/cgi-bin/koha/mainpage.pl
  41.    ErrorLog /home/jlcopaco/log/koha-error_log
  42.    TransferLog /home/jlcopaco/log/koha-access_log
  43.    SetEnv PERL5LIB "/home/jlcopaco/intranet/modules"
  44.    SetEnv KOHA_CONF "/home/jlcopaco/etc/koha.conf"
  45.    
  46. </VirtualHost>
  47.  
  48. # If you want to use name based Virtual Hosting:
  49. #   1. remove the two Listen lines
  50. #   2. replace : wih your.opac.domain.name
  51. #   3. replace ServerName  wih ServerName your.opac.domain.name
  52. #   4. replace : wih your intranet domain name
  53. #   5. replace ServerName  wih ServerName your.intranet.domain.name
  54. #
  55. # If you want to use NameVirtualHost'ing (using two names on one ip address):
  56. #   1.  Follow steps 1-5 above
  57. #   2.  Uncomment the NameVirtualHost line and set the correct ip address

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right