Web server problem

Hi,
I’ve just installed QNX 6.3 (x86 version),
I then installed Apache and all seemed to be ok,
I started inetd and httpd
but while I try to connect to http://localhost I got the error
“The connection was refused when attempting to contact localhost”

the port is setted to 80,
also by trying to connect to http://localhost:8080 got
“The connection was refused when attempting to contact localhost:8080”

I’m completely new to QNX,
I’ve setted it, setup some user, installed Samba and got it networked with
Windows machines but I got this problem with Apache.

Can someone point me to the right direction ?
Thanks in advance.

Sw wrote:

Hi,
I’ve just installed QNX 6.3 (x86 version),
I then installed Apache and all seemed to be ok,
I started inetd and httpd
but while I try to connect to > http://localhost > I got the error
“The connection was refused when attempting to contact localhost”

the port is setted to 80,
also by trying to connect to > http://localhost:8080 > got
“The connection was refused when attempting to contact localhost:8080”

I’m completely new to QNX,
I’ve setted it, setup some user, installed Samba and got it networked with
Windows machines but I got this problem with Apache.

Can someone point me to the right direction ?
Thanks in advance.


Hi,

You need to change in httpf.conf:

ServerName localhost

By the way you may add in proper sections of httpd.conf:

LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

to have PHP working (PHP 4.3.1 from QNX 6.2.1 repository)

-Jacek