 sbrookPremium,Mod join:2001-12-14 Ottawa kudos:4 Reviews:
·TekSavvy Cable
·Rogers Hi-Speed
| OK Where'd they hide the files? I've just been asked to host and webmaster an existing site because the host business has done a disappearing act. He was clearly reselling from various hosts for a friend who's webmaster husband unfortunately is no longer around to do the job or answer questions. Fortunately for now the actual host hasn't taken down the sites of the reseller.
So, I'm working quite blind here.
It's Linux based hosting with Cpanel X.
The original has no parked domains, no subdomains.
I copied the site across to my host and found we have two problems.
imagine
»www.domain.com
Now all the main files are there in public_html image files are there in public_html/images etc.
This all works fine on the new site
BUT there are two links that don't work because I don't have the directories.
»www.domain.com/victoria/index.html
»www.domain.com/secure/index.html
So, I go to the old site, but the directories victoria and secure don't exist there either, yet the site works perfectly pulling up index.html for those two directories!
Scratch head. How can these directories be hidden? |
|
 | Using mod_rewrite. Check the rootmost .htaccess. |
|
 sbrookPremium,Mod join:2001-12-14 Ottawa kudos:4 | Well, that sounded like a great answer until I discovered that there is no .htaccess |
|
 | OK. Try looking for some section of controls in Cpanel that lets you manage rewrite rules. |
|
 sbrookPremium,Mod join:2001-12-14 Ottawa kudos:4 Reviews:
·TekSavvy Cable
·Rogers Hi-Speed
| reply to sbrook Well, this is just weird ...
By accident instead of going to the site's Cpanel by »hostingdomain/cpanel username/pwd
(which gave me an archaic cpanel btw)
I went instead to »www.domain/cpanel username/pwd
and there was the latest Cpanel and everything was there ... missing directories and some hidden (.) files.
Also there was a .htaccess file there with an attempt to do a MOD REWRITE but with a totally different purpose ... it was mobify'ing site ... except the mobify account doesn't appear to be set up yet!
My goodness the previous webmaster/host has one dogs dinner of a site!
Thanks for the assistance. |
|