Robson Posted November 26, 2007 Posted November 26, 2007 Hello, Here is my problem. I'm trying to update my site with new code but i don't want anyone to see anything when accessing my site. I renamed index.php so it's not visible and replaced it with my own index.php with the message about site being down. Now i cannot access admin page of my site... Am I doing something wrong or there is a better way of working with my site in a way that is not visible online? Regards, Robert Quote
TCH-Bruce Posted November 26, 2007 Posted November 26, 2007 Why can't you access the admin page to your site? You should be able to enter the full url and access the page. If the full url requires the index.php file you can modify your .htaccess file so that only your IP can access your site temporarily. >order allow,deny allow from xxx.xxx.xxx.xxx deny from all xxx.xxx.xxx.xxx is your IP When you are done, remove those lines from your .htaccess file. Quote
Robson Posted November 26, 2007 Author Posted November 26, 2007 I think this has something to do with with changing index.php. I'll change .htaccess file and see how it goes. Thanks. Quote
Robson Posted November 26, 2007 Author Posted November 26, 2007 OK, this is weird...I'm looking at my files with file manager in Cpanel. When I do the search for .htaccess it shows multiple locations, but when I go there I don't see it. Quote
Robson Posted November 26, 2007 Author Posted November 26, 2007 OK, nevermind...that's hidden files. Quote
TCH-Bruce Posted November 26, 2007 Posted November 26, 2007 Edit the .htaccess in the public_html folder that will lock your entire site from being accessed by anyone but you. You need to tell the file manager to show hidden files to be able to edit/access it. Quote
Robson Posted November 26, 2007 Author Posted November 26, 2007 I blocked everything except my IP and that works fine, but I still cannot access admin page. I'm getting " HTTP 500 internal error" messag. Maybe I should delete everything under public_html and start from scratch. I have full backup of my site. Quote
TCH-Bruce Posted November 26, 2007 Posted November 26, 2007 Did you upload a new version or something? Usually a 500 internal error means files were uploaded in binary mode when they should have been uploaded in text mode. Quote
Robson Posted November 26, 2007 Author Posted November 26, 2007 I bet I did something....I'll start from scratch. What should I delete from Public_html? Quote
TCH-Bruce Posted November 26, 2007 Posted November 26, 2007 Are you just starting to design your site? There was no site there before? If so, you can delete everything in the public_html folder or you can open a ticket with the help desk and they can reprovision the account for you so it was back to the way it was when you first got it. Quote
Robson Posted November 26, 2007 Author Posted November 26, 2007 I used to have my Oscommerce website but since the php upgrade my website stopped functioning. I tried to do the upgrade but was not successful. Now I have a mess... I would rather delete everything, reinstall Oscommerce and restore one of my backups. Quote
TCH-Bruce Posted November 26, 2007 Posted November 26, 2007 Wouldn't restoring your backup overwrite anything new you install? If you are having problems since the conversion please open a ticket with the help desk and maybe the techs can help you sort it out. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.