This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

when I type localhost in my urlbar firefox appends /xampp to it and gives a 404 I do not use xampp help please

  • 4 replies
  • 1 has this problem
  • 3 views
  • Last reply by ljearwood

more options

I use Apache2.2 with PHP not xampp, however firefox appends the /xampp to the urlbar when I type localhost, I can type the exact address in the urlbar and it works but this really bothers me. I used xampp at one time but found I did not like it, so I uninstalled it and reinstalled Apache and php from their respective zip files. This just started happening

I use Apache2.2 with PHP not xampp, however firefox appends the /xampp to the urlbar when I type localhost, I can type the exact address in the urlbar and it works but this really bothers me. I used xampp at one time but found I did not like it, so I uninstalled it and reinstalled Apache and php from their respective zip files. This just started happening

Chosen solution

Hmmm, I still think it's most likely a redirect from the server. Is there an index.php that could contain a Location header?

Can you use the Firebug add-on (Net tab), or an external proxy like Fiddler2, to view the request and response?

Read this answer in context 👍 1

All Replies (4)

more options

Perhaps there is some detritus in an .htaccess file in the root of your localhost site? You might also check httpd.conf.

more options

thank you for your answer, I have looked through htaccess and httpd.conf I can find nothing that references xampp

more options

Chosen Solution

Hmmm, I still think it's most likely a redirect from the server. Is there an index.php that could contain a Location header?

Can you use the Firebug add-on (Net tab), or an external proxy like Fiddler2, to view the request and response?

more options

Thank you there was a an index.php that I did not write, I deleted it and it took care of the problem, man I can't believe I overlooked that, thank you again.

LJ