Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have installed apache in debian lenny distro but everytime i start it or check its status it says apache running with certain process id. but when i check the defualt web page (i.e http://server-ip) it gives "It Works" but when i try my pages it doesnt works

Giving this error "The requested URL /click-to-call.php was not found on this server. Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 Server at Port 80"

Please help

in response to questions posed:

  • I have placed click-to-call.php inside /var/www/html if i am wrong then where should I place this file.
  • When i try "/etc/init.d/httpd status " it gives file not found
  • I have root access.
  • I have placed the file inside /var/www/html
share|improve this question

migrated from Sep 12 '09 at 9:44

This question came from our site for professional and enthusiast programmers.

apache itself is working if you got that error message. – Stu Thompson Sep 12 '09 at 7:46
up vote 2 down vote accepted

Where you put the 'click-to-call.php' file?
have you tried to put it in the right place like "/var/www/"?
You'll need a root account to have access to this folder (I guess you have :D)

share|improve this answer
have the root access. and i have placed the file inside /var/www/html – sk Sep 12 '09 at 8:06
The debian/ubuntu default docroot is /var/www/ not /var/www/html/ – theotherreceive Sep 12 '09 at 15:28

In Debian it's

/etc/init.d/apache2 status

But we already know apache is running. So, try browsing to:


share|improve this answer

that's because your click-to-call.php not located inside your apache's default directory

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.