Nirva
September 10th, 2007, 09:35 AM
Hay,
I am trying to setup a simple apache and php server.
I installed all packets through apt-get but I still have some problems.
1 ) I can not connect to my apache server by going to http://localhost/
or http://127.0.0.1. I can only connect to it by going to http://192.168.1.3 ( this is my IP-adress on our network at home )
2 ) I can put .html files in /var/www and they work as they should, but when I try executing a .php file, I get this error :
Not Found
The requested URL /php5-cgi/test.php was not found on this server.
I think these are stupid errors, but I don't know much about servers.
Thanks in advance
I am trying to setup a simple apache and php server.
I installed all packets through apt-get but I still have some problems.
1 ) I can not connect to my apache server by going to http://localhost/
or http://127.0.0.1. I can only connect to it by going to http://192.168.1.3 ( this is my IP-adress on our network at home )
2 ) I can put .html files in /var/www and they work as they should, but when I try executing a .php file, I get this error :
Not Found
The requested URL /php5-cgi/test.php was not found on this server.
I think these are stupid errors, but I don't know much about servers.
Thanks in advance