Hi,

Thanks for your reply. After adapting your
configuration file into mine, I am now able to have
Apache listening on port 8001 as well as 80.

However, I am at a lost as to how to put in ASGARD and
NADMIN into this new setup so that I can have a
staging and live server.

Could you help me out in this area?

Many thanks in advance.

--- Henri Kaukola <[EMAIL PROTECTED]> wrote:
> Hello!
> 
> I may not be the best person to answer to this one
> but let's see.
> 
> Do you have port 8001 open on your server
> and edited midgard-data.conf so that Apache will
> recognise both virtual hosts ?
> 
> If answer to both questions above is yes
> then go to Websites and open the host information
> again
> (the earth icon again ;)) and check both of your
> hosts
> and see that their status is Online.
> 
> If this is also ok (online) then I'm running
> out of answers... 
> 
> Here's an example from my "test environment's"
> midgard-data.conf
> (NOTE 1: Check especially line "MidgardDatabase".)
> (NOTE 2: I replaced my username and password! ;))
> 
> -----
> 
> Listen 8001
> <VirtualHost 127.0.0.1:8001>
>     MidgardEngine On
>     ServerName localhost
>     Port 8001
>     DocumentRoot /var/www/html
>     MidgardDatabase midgardstaging <username>
> <password>
>     MidgardBlobDir /var/www/blobs_staging
> 
>     # Switch off magic quotes - it is required with
> Midgard
>    
>     php_value magic_quotes_gpc off
>     php_value magic_quotes_runtime off
> 
>     # Configure text parser:
>     # Change to 'russian' for Russian Midgard
>     MidgardParser latin1
>     # Configuration for Russian Midgard:
>     <IfModule mod_charset.c>
>      # default charset for real or virtual server
> (selected if all other
> charset-
>      # selections methods fails)
>      CharsetDefault koi8-r
>      # Default source (on-disk) charset (we keep all
> content in DB in
> KOI8-R
>      # encoding). If you want different encoding,
> please re-encode
> midgard-ru.sql
>      # before inserting it into DB too.
>      CharsetSourceEnc koi8-r
>      # Force mod_charset to do its work
>      CharsetDisable Off
>     </IfModule>
> </VirtualHost>
> 
> <VirtualHost 127.0.0.1:80>
>     MidgardEngine On
>     ServerName localhost
>     Port 80
>     DocumentRoot /var/www/html
>     MidgardDatabase midgardlive <username>
> <password>
>     MidgardBlobDir /var/www/blobs_live
> 
>     # Switch off magic quotes - it is required with
> Midgard
>    
>     php_value magic_quotes_gpc off
>     php_value magic_quotes_runtime off
> 
>     # Configure text parser:
>     # Change to 'russian' for Russian Midgard
>     MidgardParser latin1
>     # Configuration for Russian Midgard:
>     <IfModule mod_charset.c>
>      # default charset for real or virtual server
> (selected if all other
> charset-
>      # selections methods fails)
>      CharsetDefault koi8-r
>      # Default source (on-disk) charset (we keep all
> content in DB in
> KOI8-R
>      # encoding). If you want different encoding,
> please re-encode
> midgard-ru.sql
>      # before inserting it into DB too.
>      CharsetSourceEnc koi8-r
>      # Force mod_charset to do its work
>      CharsetDisable Off
>     </IfModule>
> </VirtualHost>
> 
> -----
> 
> 
> Hope this helps, if not, please provide some more
> information
> on your setup.
> 
> Best regards
> 
>   //Henri Kaukola
> 
> 
> On Tue, 2002-07-23 at 11:35, jiang jinhua wrote:
> > Thanks so much for replying me...
> > 
> > I now have another question to ask you which I
> have
> > already post but no one have time to reply...
> > 
> > When I  tried to create a company and create a
> website
> > for it, I met the following problem... 
> > I chose "type of site" to be "standard staging /
> > live". I haven't appoved it, but it already can
> beed
> > access from the port 80, while it can not be
> accessed
> > from port 8001 ( staging ). It should not be like
> > this... 
> > 
> > What should I do?
> > 
> > Thanks again..
> > 
> > Jinhua
> > 
> 
> -- 
> Henri Kaukola                         [EMAIL PROTECTED]
> Consultant                            Tel: +358-20-198 6037
> Nemein Oy                             
> http://www.nemein.com
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to