I am probably more ignorant on installing and setting up Midgard than most
but...My VirtualHost configuration is port based. Why? Because it's the
first thing I got results from. Obviously other folks will be able to help
you with other options.
Hopefully the following from my http.conf will give you as starting point.
# Port: The port the standalone listens to. For ports < 1023, you will
# need httpd to be run as root initially.
Listen 80
Listen 8099
Listen 8101
LoadModule midgard_module /usr/lib/apache/1.3/mod_midgard.so
LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
<VirtualHost yoursite.com:80>
ServerAdmin [EMAIL PROTECTED]
ServerName www.yoursite.com
DocumentRoot /home/username/www/
ErrorLog /home/accountname/logs/yoursite.com-error_log
TransferLog /home/accountname/logs/yoursite.com-access_log
CustomLog /home/accountname/logs/yoursite.com-access_log combined
ScriptAlias /cgi-bin /home/accountname/www/cgi-bin
</VirtualHost>
MidgardEngine on
MidgardRootfile /usr/lib/apache/1.3/midgard-root.php3
<Files midgard-root.php3>
require valid-user
AuthName Midgard
AuthType Basic
</Files>
MidgardDatabase midgard
MidgardUsername username
MidgardPassword password
NameVirtualHost www.yoursite.com:8101
NameVirtualHost www.yoursite.com:8099
<VirtualHost yoursite.com:8101>
ServerName www.yoursite.com
Port 8101
</VirtualHost>
<VirtualHost yoursite.com:8099>
ServerName www.mi-recordz.com
Port 8099
</VirtualHost>
On Thu, 2 Dec 1999, Ken Pooley wrote:
> I am still working on installing Midgard, once I used RPMs I felt like less
> of a man but it all went smoothly...I am working on a laptop which has
> proved to make things a little odd since the linux install was a bit of an
> adventure....anyway....I am down to doing the modifications of my http.conf
> and am having a hard time....is there anyone who can volunteer any
> insights...one thing I was specifically curious about was why the root
> midgard file is installed at /usr/lib/apache/midgard-root.php3 ....does
> that seem right. Part of the problem is that I have never configured
> virtual servers so if this is a case of me just being stupid....sorry....
> kp
>
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]
>
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]