View Single Post
  #7   (View Single Post)  
Old 13th November 2008
lalebarde lalebarde is offline
New User
 
Join Date: Nov 2008
Posts: 6
Default

Thanks J5nko,

Quote:
First do a syntax test with apachectl
Syntax OK

Quote:
$ grep -in listen /var/www/conf/httpd.conf
190:Listen 192.168.2.11:80
191:Listen 192.168.2.11:443
323:Listen 80
324:Listen 443

ok, I am not consistent here but it should be ok. For the trial, I suppress the ip specification, and let only the port. I am still forbidden.

Quote:
$ netstat -an -f inet
Proto Recv-Q Send-Q Local Address Foreign Adress (state)
tcp 0 0 192.168.2.20.80 192.168.2.10.54875 TIME_WAIT
tcp 0 0 *.80 *.* LISTEN
tcp 0 0 *.443 *.* LISTEN
tcp 0 0 *.22 *.* LISTEN
tcp 0 0 *.37 *.* LISTEN
tcp 0 0 *.13 *.* LISTEN
tcp 0 0 127.0.0.1.587 *.* LISTEN
tcp 0 0 127.0.0.1.25 *.* LISTEN
udp 0 0 192.168.2.20.31537 88.191.17.134.123
udp 0 0 127.0.0.1.512 *.*
udp 0 0 192.168.2.20.24521 88.191.11.98.123
udp 0 0 192.168.2.20.8367 88.191.47.13.123
udp 0 0 192.168.2.20.11927 91.121.138.209.123
udp 0 0 192.168.2.20.39243 81.93.183.116.123
udp 0 0 *.514 *.*


192.168.2.10 is another PC with windows. The one with which I try to connect to the server .20 is .11

Quote:
I am assuming you are using the default Apache which is in the OpenBSD
Yes

Quote:
Did you follow the message given by the install of the PHP package?
Yes :
ln -s /var/www/conf/modules-sample/php5.conf /var/www/conf/modules
ln -s /var/www/conf/modules-sample/mysql.ini /var/www/conf/php5/mysql.ini

vi /var/www/conf/httpd.conf : uncomment AddTyp application/x-httpd-php .php
I put also : ServerTokens ProductOnly

Other clue ?
Reply With Quote