OK.  Question for anyone (I'll post this on the Amiga Apache list too).  Does anyone 
have Apache or any other Amiga webserver running reliably on MiamiDx?  I ask because I 
haven't been able to succeed on this in at least a couple months of trying.  I think 
I've tried pretty much everything, varying IPs, different startup methods (WBStartup 
with icons vs. command line, etc.) and HD swap outs, etc. etc. but it seems that 
MiamiDx will lock up the computer after a few days at most no matter what I do.

'regular' Miami, by contrast, seems rock solid.  The AmigaU website, running Arexx 
webserver, has been online 24-7 since March 27,2000, 1+ year.  As has the download 
server for that site, too.  No problems.

I was using MiamiDx because I thought it was required for the purpose of having 
multiple IPs mapped to one Amiga (virtual host webserving) as MiamiDx has the 
convenient 'interface' GUI options for mapping multiple IPs onto the same NIC (in my 
case an Ariadne_ii, couldn't get the x-surf to work with a TekMagic 060 A2000). But 
this past week, I figured out a way to use 'regular' Miami and still serve up multiple 
IPs, and it seems really stable by comparison.

The method used for this, in case you want to use it, is the 'miamiifconfig' tool, 
which only registered Miami users get to use (if you try it with shareware that will 
be your error message, tricky guy, that Holger K.  :)

What you do is create a batch file (like was discussed here a few weeks ago on a 
similar topic), and together with your inetd.toomany setting, you set up an IP alias 
(or more than one).  Then tell Apache about it in your httpd.conf regarding virtual 
domains, and you're all set.

batch file looks like:

cd miami:
ifconfig mi0 alias 123.123.123.123
run apache:httpd >nil:
endcli


This assumes that 123.123.123.123 was the IP you wanted to 'alias' also to this 
machine, as the 'regular' IP would already be in the Miami config settings.  This is 
the second IP.  Presumably you can add more 'ifconfig' lines to this batch file.  
Also, note that the default name of this tool is 'miamiifconfig', which I just renamed 
to 'ifconfig' and moved it to my C: directory so the Amiga knows where it is.


Anyway, save the batch file in your 'miami' directory as startup.bat or something like 
that, then also check icon-information and make sure it is 'executable' - it won't be 
by default.

and then you simply go into your Miami 'events' GUI section (also unavailable if only 
using shareware version, it's grayed out) and then put in something like:

execute miami:startup.bat >NIL:

and you should be good to go.

Then modify your Apache httpd.conf file to respond to these IPs as desired and you 
have a virtual hosting Amiga webserver!  :)




So anyone using MiamiDx as I originally asked?  Or genesis/AmiTCP with virtual hosting?

Kevin Orme
amiga university
www.amigau.com
[EMAIL PROTECTED]
-- 

To unsubscribe send "unsubscribe miami-talk-ml" to
"[EMAIL PROTECTED]". For help on list commands send "help" to
"[EMAIL PROTECTED]".


Reply via email to