hi
i installed xampp on my windows_xp_sp2 system.when i types http:\\localhost it works fine, but whenever i try to run ant other file .html or .php it shows me following msg
***************************************************************************************************
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
127.0.0.1
7/31/2010 7:23:00 PM
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
****************************************************************************************************
can u plz tel me what i have done wrong?
i only installed xampp and no other software.
thnkx in anticippation
xampp not working
Started by umarmir_123, Jul 31 2010 09:33 AM
10 replies to this topic
#1
Posted 31 July 2010 - 09:33 AM
|
|
|
#2
Posted 31 July 2010 - 11:52 AM
Where is the file located? You have to have the files located in the correct folder before Apache can serve them.
#3
Posted 31 July 2010 - 05:35 PM
i have installed xampp in c ie. C:\xampp and i have my files in C:\xampp\htdocs\
so where am i wrong?
so where am i wrong?
#4
Posted 31 July 2010 - 06:45 PM
There could be a few things: Using XAMPP (Apache-MySQL-PHP-Perl) for Windows - Textbook
Unfortunately, I'm using a Linux laptop and don't have convenient access to windows at the moment.
Unfortunately, I'm using a Linux laptop and don't have convenient access to windows at the moment.
#5
Posted 31 July 2010 - 07:36 PM
is thr anybody else who can help me..
#6
Posted 31 July 2010 - 07:47 PM
i have installed xampp now is it necessary to instal php also?
#7
Posted 31 July 2010 - 07:54 PM
The AMP in XAMPP stands for "Apache MySQL PHP", it has all three installed by default. For you problem, all I can see is that you're confused about the paths. Try this:
Create a folder "foo" in htdocs, then create a file "file.php":
C:\xampp\htdocs\foo\file.php
And place this into file.php:
http://localhost/foo/file.php
Does it work? I can see no reason why it should fail, you most likely mixed something up.
Note: Make sure XAMPP is started, if it is not running the http://localhost will not exist!
Create a folder "foo" in htdocs, then create a file "file.php":
C:\xampp\htdocs\foo\file.php
And place this into file.php:
<?php print "Hello, World!"; ?>Then save it; Now try going to localhost to see if it exists:
http://localhost/foo/file.php
Does it work? I can see no reason why it should fail, you most likely mixed something up.
Note: Make sure XAMPP is started, if it is not running the http://localhost will not exist!
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#8
Posted 31 July 2010 - 08:02 PM
i followed each of youe step and when i tried to run it i got folloing error
************************************************
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
8/1/2010 9:29:46 AM
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
**************************************************************************
so what more would you like to suggest...i will really appreciate ..
thnx
************************************************
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
8/1/2010 9:29:46 AM
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
**************************************************************************
so what more would you like to suggest...i will really appreciate ..
thnx
#9
Posted 01 August 2010 - 02:57 AM
hey i got it now
Do you try to access the file with the URL http://localhost/xampp/htdocs/?
Thats wrong! localhost already routes to your htdocs folder, so the URL should be http://localhost/
Do you try to access the file with the URL http://localhost/xampp/htdocs/?
Thats wrong! localhost already routes to your htdocs folder, so the URL should be http://localhost/
#10
Posted 01 August 2010 - 03:36 AM
I told you to go to http://localhost/foo/file.php, not http://localhost/xam...cs/foo/file.php. Maybe you should listen a little!
Glad you got it working.
Glad you got it working.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#11
Posted 01 August 2010 - 07:16 AM
sory buddy actualy i was to deep in the problemthat i cudn't realiza this small differenc..anywaz thnks a lot for ur help...
God bless u
God bless u


Sign In
Create Account

Back to top









