Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: SilvrDrgn on November 25, 2008, 04:09:38 AM

Title: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: SilvrDrgn on November 25, 2008, 04:09:38 AM
Well, the power supply in my A4000T died.  Unfortunately, it's the main computer I run my website on.  I'd like to try to get Apache running on WinUAE as a backup until my A4000T is fixed.  I've got everything working in WinUAE except when I try to start up Apache.  It complains about "bad user www".  The "www" user is configured in the httpd.conf file for Apache, and I believe the issue is that the bsdsocket.library emulation of WinUAE does not account for the "www" user.  Any ideas how I can add the "www" user to WinUAE bsdsocket.library emulation, or get Apache working some other way?
Title: Re: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: Matt_H on November 25, 2008, 04:26:16 AM
The new uaenet.device emulates actual network hardware. Enable that, and good ol' MiamiDX or AmiTCP might be all you need (along with WinPCap on the Windows side).

Caveat: I have yet to get uaenet.device working. :crazy:
Title: Re: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: amesie2 on November 25, 2008, 04:29:25 AM
You should be able to put a regular AT power supply into your 4000T(should swap right in)which I'm sure wouldn't cost much to get.
Title: Re: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: SilvrDrgn on November 25, 2008, 04:38:37 AM
I can't get uaenet.device to work right no matter what I do.  Not sure about that thing.

Yes, I'm working on a PC power supply replacement, but need an adapter since my A4000T was converted from a desktop.  Waiting on the power plug adapter to get here since I don't feel like hacking the wires myself.
Title: Re: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: SilvrDrgn on November 25, 2008, 02:36:07 PM
Still looking for additional suggestions on getting Apache to work within WinUAE.  Anyone?  TIA!
Title: Re: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: AmigaHeretic on November 25, 2008, 05:20:01 PM
Quote

SilvrDrgn wrote:
Still looking for additional suggestions on getting Apache to work within WinUAE.  Anyone?  TIA!


Yeah, you need to get uaenet.device working with something like Miami or AmiTCP or something.  

I run a webserver off of WinUAE as well, though now I am currently using hserv instead of apache, but shouldn't matter.

Here I wrote this on my experience getting uaenet.device working with WinUAE.  That can be serveral issues such as if you have more than one LAN device like an ethernet port and wireless card, two ethernet ports on your pc, router issues etc.  But I ran into most of those issues and figured them out. ;-)

Using Miami and uaenet.device with WinUAE (http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=27227&forum=8)


I'm pretty sure there is no way to use run a webserver from bsdsocket.library (actually there is one of the arexx web server that "works" sort of, but it won't even serve a single web page with graphics with out problems when using bsdsocket.library)
Title: Re: A4000T temporarily dead - Apache on WinUAE as a backup
Post by: SilvrDrgn on November 25, 2008, 10:14:02 PM
I'll take a look at your link when I get a chance.  Thanks!