Changing root directory or redirecting root to sub-directory
HI again,
I want to install phpnuke to a sub-directory called HTML so that I can have another directory called admin - for phpmyAdmin and other admin stuff.
However when you type in the url (which points to the root directory) the nuke index.php doesn't load because its in the HTML\ subdirectory.
Is there a way to change the the root directory to the HTML one, or is there a way to redirect all urls from pcplaygroun.com/ to pcplayground.com/html/?
I have tried using .htaccess files but the best I could do was have all urls point to the one file: Using DirectoryIndex /html/index.php.
However if I type in pcplayground.com/html/manager/ is still loads the file in /html/index.php and not /html/manager/index.php.
Anyone who know how to do this easily could you please let me know, otherwise I will install phpnuke to the root directory.
I haven't installed it yet because I was waiting to find out how to do it!
Thanks again,
Matt
|