How to fix http 404 error?

I have a CPANEL ERROR when I use the tilde to acess a site it goes through but when I remove it I get a 404 error  e.g http://192.168.0.1/~Username/index.php -> works fine while  http://mysite.com/index.php -> does not work it gives me a 404 not found Anyone had n solved this before?

  • Answer:

    If the user does not have a dedicated IP address this is the way it works. The IP address goes to the default site on the server, where index.php does not exist. The ~User is using mod_userdir which actually redirects it to the correct user dir.

Billy Vierra at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.