Portal Home > Knowledgebase > Articles Database > public_html folder is being redirected
public_html folder is being redirected
Posted by DavidV, 05-11-2007, 12:09 PM |
Hey everyone,
My previous programmer configured my site so that when you go to it, it'll pull the files from a directory he created called "apps" rather than from the public_html directory.
Can anyone tell me how to get everything back to running off of the public_html directory?
It's a Linux box.
Thanks!
David
|
Posted by Engelmacher, 05-11-2007, 12:24 PM |
Not without seeing how the redirection is being accomplished.
|
Posted by ZaxiHosting, 05-11-2007, 12:26 PM |
Maybe Put A Redirect?
Search For Either An .htaccess File Or In The Inde For JavaScript Re-Direct Code
Many Thanks
|
Posted by DavidV, 05-11-2007, 12:33 PM |
Just as an FYI. The apps folder is all Java.
|
Posted by ZaxiHosting, 05-11-2007, 12:38 PM |
No,please search in the public directory.This directory is the first directory that the browser go when you go to your domain.
Please search there if there is a javascript in the index file or an .htaccess file
Regards
|
Posted by DavidV, 05-11-2007, 12:51 PM |
I don't see any redirect code. What would it look like?
|
Posted by ThatScriptGuy, 05-11-2007, 01:33 PM |
Look for a file named .htaccess in the public_html directory. More than likely this is how he's creating the redirection. If it's there, just delete it.
If there isn't an .htaccess file, look at the source of index.html or index.php or index.html (index.* basically) and post the contents of it here and we can tell you what to delete.
Kevin
|
Posted by DavidV, 05-11-2007, 02:32 PM |
Ok, it looks like there actually was a redirect in .htaccess
I've removed it and I believe this may have solved the problem. Thanks guys!
|
Posted by ZaxiHosting, 05-11-2007, 02:36 PM |
You're Wecome:-)
|
Add to Favourites Print this Article
Also Read
php news page (Views: 654)