Michael Crute wrote:
On 9/3/05, q-parser <[EMAIL PROTECTED]> wrote:Here it is: # ******************************************************** Listen 100 Listen 200 # 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 #NameVirtualHost virtual:100 # KOHA's OPAC Configuration <VirtualHost virtual:100> ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/koha/opac/htdocs ServerName virtual ServerPath /usr/local/ ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://virtual:100/cgi-bin/koha/opac-main.pl ErrorLog /usr/local/koha/log/opac-error_log TransferLog /usr/local/koha/log/opac-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" <Directory "/usr/local/koha/opac/htdocs"> Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymlinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html </Directory> <Directory /usr/local/koha/opac/cgi-bin> Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymLinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html </Directory> </VirtualHost> # KOHA's INTRANET Configuration <VirtualHost virtual:200> ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/koha/intranet/htdocs ServerName virtual ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" Redirect permanent index.html http://virtual:200/cgi-bin/koha/mainpage.pl ErrorLog /usr/local/koha/log/koha-error_log TransferLog /usr/local/koha/log/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" <Directory "/usr/local/koha/intranet/htdocs"> Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymlinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html </Directory> <Directory /usr/local/koha/intranet/cgi-bin> Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymLinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html </Directory> </VirtualHost> # ******************************************************** Those port numbers are chosen for explanatory reason, but I wouldn't object if they worked ;) This whole file is Include-d into apache2.conf. I emphasize that on my localhost, it works great, with ports 85 and 8585 instead the two here. The curious thing is, that if I want to use port 8585 here, the browser shows me main apache page (you know, as if port 80 is used). All I want to know is why apache does not 'want' to listen to the given ports? I don't know, maybe it does, but I'm getting time-outs. |
- Re: [gentoo-user] [OT] Apache Virtual Host q-parser
- Re: [gentoo-user] [OT] Apache Virtual Host Michael Crute
- Re: [gentoo-user] [OT] Apache Virtual Host q-parser
- Re: [gentoo-user] [OT] Apache Virtual Host A. Khattri
- Re: [gentoo-user] [OT] Apache Virtual Host Michael Crute