Welcome, Guest. Please login or register.

Author Topic: Problem running Apache: bad user name www  (Read 2625 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TygreTopic starter

Problem running Apache: bad user name www
« on: April 21, 2011, 02:01:47 AM »
Hi all!

I would like to run Apache on my Amiga (1200, 68040, OS 3.1) but I run into a puzzling problem: I always get the error message "httpd: bad user name www" when running "httpd" (from either binary archives that I found on Aminet 1.3.12 or 1.3.41). What is it that I am doing wrong?

I also tried to hook Apache to Miami as described on http://www.xs4all.nl/~albertv/apache/manual/amiga/FAQ.html#Using%20Apache%20with%20Miami but then when I access "localhost" in IBrowse, IBrowse just keeps waiting for an answer from the Web server forever.

Please, could somebody help me?

Thank in advance!
Yann

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: Problem running Apache: bad user name www
« Reply #1 on: April 21, 2011, 04:10:46 AM »
Holy crap, I haven't played with Apache on Amiga for quite some time.  If you followed the section to-the-letter, chances are you did not create a user named "www".  You can do one of two things: create a user in Miami named "www", or edit the httpd.conf file, look for the Username directive and change its value to whatever user you created in Miami.
 

Offline TygreTopic starter

Re: Problem running Apache: bad user name www
« Reply #2 on: April 21, 2011, 03:12:23 PM »
Hi LoadWB!

Thanks for your reply, unfortunately, I did created a user "ww" in the Users section of the Databases as well as its group in the Groups section... I will keep investigating and keep you posted...

Any other idea/advice?

Take care!
Yann

Offline TygreTopic starter

Re: Problem running Apache: bad user name www
« Reply #3 on: April 26, 2011, 07:42:30 PM »
Hi LoadWB!

I just give Apache another try and got it to work! I am using Apache v1.3.41 from Aminet. It seems that my problem came from the IXEmul.library: I had a file "ENVARC:IXEmul.prefs" that seems to have led to problems, which Apache reported as "Bad user name www"... So so error reporting but it works after removing this file! :)

Take care!
Yann