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.
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.
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.
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.
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
Jon
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?
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
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
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!!!!
Thanks for your help and if you do figure out the line please let me know!!!!
Phew... got it working:-)
Added this to the htaccess
RewriteCond %{REQUEST_URI} !^/ControlPanel.*$
Added this to the htaccess
RewriteCond %{REQUEST_URI} !^/ControlPanel.*$
Yup - exactly the line I was thinking of - glad you sorted it :)
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
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
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
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
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