Advertising
- Stuff
- Tuesday, November 27th, 2007 at 3:13:35am MST
- # Koha 2.2 Apache Virtual Host Config File
- #
- # Please include this file in your apache configuration.
- # The best way to do that depends on your site setup.
- # Some like an Include adding to /etc/apache/httpd.conf
- # and some prefer a symlink to this file from some dir.
- # Please refer to your system manuals.
- # Ports to listen to for Koha
- # uncomment these if they aren't already in main httpd.conf
- #Listen
- #Listen
- # NameVirtualHost is used by one of the optional configurations detailed below
- # Please make sure this line is correct before uncommenting.
- # See http://httpd.apache.org/docs/vhosts/ for some guides.
- #NameVirtualHost 11.22.33.44
- # KOHA's OPAC Configuration
- <VirtualHost :>
- ServerAdmin
- DocumentRoot /home/jlcopaco/koha/htdocs
- ServerName
- ScriptAlias /cgi-bin/koha/ /home/jlcopaco/koha/cgi-bin/
- Redirect permanent index.html http://:/cgi-bin/koha/opac-main.pl
- ErrorLog /home/jlcopaco/log/opac-error_log
- TransferLog /home/jlcopaco/log/opac-access_log
- SetEnv PERL5LIB "/home/jlcopaco/intranet/modules"
- SetEnv KOHA_CONF "/home/jlcopaco/etc/koha.conf"
- </VirtualHost>
- # KOHA's INTRANET Configuration
- <VirtualHost :>
- ServerAdmin
- DocumentRoot /home/jlcopaco/intranet/htdocs
- ServerName
- ScriptAlias /cgi-bin/koha/ "/home/jlcopaco/intranet/cgi-bin/"
- Redirect permanent index.html http://:/cgi-bin/koha/mainpage.pl
- ErrorLog /home/jlcopaco/log/koha-error_log
- TransferLog /home/jlcopaco/log/koha-access_log
- SetEnv PERL5LIB "/home/jlcopaco/intranet/modules"
- SetEnv KOHA_CONF "/home/jlcopaco/etc/koha.conf"
- </VirtualHost>
- # If you want to use name based Virtual Hosting:
- # 1. remove the two Listen lines
- # 2. replace : wih your.opac.domain.name
- # 3. replace ServerName wih ServerName your.opac.domain.name
- # 4. replace : wih your intranet domain name
- # 5. replace ServerName wih ServerName your.intranet.domain.name
- #
- # If you want to use NameVirtualHost'ing (using two names on one ip address):
- # 1. Follow steps 1-5 above
- # 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.
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.