Re: Re: Error 404 Not Found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Good Guy,

When I loaded test.php into the browser with localhost/test.php it only echoed the contents of test.php back. If I do the same thing with any .php file I have in htdocs the result is the same - echoes back the content of the file. If I type localhost/test I get the 404 error message... "The requested URL /test was not found on this server."

Robert

----- Original Message ----- From: "Good Guy" <xfsgpr@xxxxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Saturday, December 07, 2013 8:59 PM
Subject:  Re: Error 404 Not Found


On 07/12/2013 23:26, Robert wrote:
Did not resolve the issue.  Thanks for trying...
Robert



Does your server recognize any of the .php files? To test it, create a blank file and paste this code in it:

<?php phpinfo(); ?>

Now save this file in your htdocs folder as "test.php" (without the quotes of course).

Now try to load the file in your browser by typing:

localhost/test.php

If it loads then your server is setup to load php files; If it doesn't load then you know it is not set up correctly. By loading the file, you should get various php configuration details but you don't need to worry about it for now except that it should load correctly.


--
Good Guy
Website: http://mytaxsite.co.uk
Website: http://html-css.co.uk
Email: http://mytaxsite.co.uk/contact-us



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux