Web Hosts control panel going to page not found

Permalink
Hi

I have a strange problem with a site I have just completed, my client has a VPS Hosting account with verio on which I have set up a concrete site. All works fine but when my client goes to the hosting control panel he gets directed to the 404 page not found page. He contacted verio and they have said its something to do with the site redirecting. Anybody got any ideas how I get round this.

Thanks.

 
jbx replied on at Permalink Reply
jbx
Am I right to assume that to reach his control panel he visits a URL likehttp://www.hisdomain.com/panel

If so, C5 may be jumping on that if pretty urls are enabled. It depends on the setup inside your .htaccess file.

Could you tell me:
1) What is the link to the control panel
2) Are pretty Urls turned on
3) If so, what is in your .htaccess file

Thanks,

Jon
oakleafg replied on at Permalink Reply
Worked out that its something to do with the pretty url code thats added to the htaccess, when I delete that the control panel works.

The code I have in is

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Is there any code I can add to stop the control panel redirecting.

Thanks.
jbx replied on at Permalink Reply
jbx
What is the link being used to reach the control panel? If it is "/panel", is there a physical folder in the directory called "panel"?

Jon
oakleafg replied on at Permalink Reply
Thanks Jon, yes it accessed throughwww.www.domain.co.uk/ControlPanel.... Its a VPS system so there are hundreds of folders on the server but I can't for the life of me find a ControlPanel folder, found a folder called cp so not sure if thats it. Will I need the client to ask verio where it is?
jbx replied on at Permalink Reply
jbx
Well, first try visiting domain.com/cp

That may solve it!

/ControlPanel is probably an Alias, so you just need to tell your .htaccess file not to jump on it.

I'm rubbish with mod_rewrite, but if I figure out the line, I'll post it up...

Jon
oakleafg replied on at Permalink Reply
tried /cp but it still redirects to the 404 page.

Thanks for your help and if you do figure out the line please let me know!!!!
oakleafg replied on at Permalink Reply
Phew... got it working:-)

Added this to the htaccess

RewriteCond %{REQUEST_URI} !^/ControlPanel.*$
jbx replied on at Permalink Reply
jbx
Yup - exactly the line I was thinking of - glad you sorted it :)
thephilm replied on at Permalink Reply
thephilm
Simply have your client create a subdomain - something like - CPX.yourdomain.com

Put a blank index.html file, to keep out prying eyes.
Then, you should be able to access the control panel from
CPX.YourDomain.com/ControlPanel
Good luck!
Phil
uperformkarthick replied on at Permalink Reply
Hi,

I have create a new sub-domain. Then I have pointed the Sub-domain to a new directory. Unfortunately I am not able to get the Control Panel.

I have a hosting Account in verio. I have also un-installed and re-installed the control panel using vinstall utility. Still no Luck.

Any ideas to resolve this issue?

Thanks
Karthik Raja