LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09: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 09:28 AM. Reason: typo
 
Old 02-05-2012, 10:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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



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 01:23 AM
The requested URL /phpmyadmin was not found on this server. zodehala Linux - Newbie 7 08-19-2011 03:17 AM
The requested URL /defaultsite was not found on this server. lqforumuser Linux - Newbie 1 06-28-2009 02:59 PM
on url "http://localhost/" error ""The requested URL could not be retrieved " renuaseri Linux - Newbie 1 04-07-2009 12:23 AM
internal error message"repo-non-oss vaid metadata not found at specified url(s)" sklinux Linux - Newbie 2 11-05-2008 01:26 AM

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

All times are GMT -5. The time now is 01:48 AM.

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
Open Source Consulting | Domain Registration