LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-05-2012, 10:27 AM   #1
alihonarmand
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
"The requested URL /test1.php was not found on this server." Error


Hi everyone,

I'm using Ubuntu for some time right now. I have installed Apache, PHP, and MySQL recently and try to test my server. everything works fine unless the apache reports that "test1.php" file including "<?php phpinfo() ?>" is not in the /var/www folder, while I'm sure it is there.
can anyone help?

thanks priorly.

Last edited by alihonarmand; 02-05-2012 at 10:28 AM. Reason: typo
 
Old 02-05-2012, 11:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,633

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
Hi,

Check the apache error_log to see where it looks for the requested file.
BTW you have an error in your php syntax. Miss a ";" after the phpinfo() function:
Code:
<?php phpinfo(); ?>
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW TO FIX ""The requested URL /phpMyAdmin was not found on this server."" amritpalpathak Linux - Software 20 11-06-2012 02:23 AM
The requested URL /phpmyadmin was not found on this server. zodehala Linux - Newbie 7 08-19-2011 04:17 AM
The requested URL /defaultsite was not found on this server. lqforumuser Linux - Newbie 1 06-28-2009 03:59 PM
on url "http://localhost/" error ""The requested URL could not be retrieved " renuaseri Linux - Newbie 1 04-07-2009 01:23 AM
internal error message"repo-non-oss vaid metadata not found at specified url(s)" sklinux Linux - Newbie 2 11-05-2008 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration