View Full Version : REMINDER
Pekka
11th of April 2005 (Mon), 18:38
Make a backup of your EE database NOW
(I'll put this reminder up from time to time because on my support experiences I have found out that too many users do not take even weekly backups and when e.g. hard disk crashes or MySQL server goes haywire due power failure or full disk - then it is too late).
shaun3000
12th of April 2005 (Tue), 00:29
I backed up my database. Will you release 1.5, now? ;)
MikeCaine
13th of April 2005 (Wed), 10:12
When I try to run the ee backup utiliity I get
Not Acceptable
An appropriate representation of the requested resource /gallery/input/backup/index.php could not be found on this server.
Any ideas?
Pekka
13th of April 2005 (Wed), 11:42
When I try to run the ee backup utiliity I get
Not Acceptable
An appropriate representation of the requested resource /gallery/input/backup/index.php could not be found on this server.
Any ideas?
Sounds like the file is corrupted, try uploading it again in ASCII mode. Also, do you run it from the editor, or directly? If you input folder is renamed then above address won't work...
MikeCaine
15th of April 2005 (Fri), 05:55
I've tried uploading it again but still have the same error message
I run it from the editor by clicking "db backup utility (http://www.mike-caine.com/gallery/input/backup/index.php)"
I haven't renamed the input folder, I've put in a .htaccess file in the input directory to password protect the admin area
I presume I can use something like phpMyAdmin to achieve a similar result?
Pekka
15th of April 2005 (Fri), 06:22
Just a guess:
Try removing htaccess file(s) from input/backup/ directory.
You can do backup with PHPMyAdmin, too. You do not need to backup uncookied and message tables.
I searched for the error you mentioned in Google, and in couple of threads I found the solution seemed to be writing a support ticket to the server admin. It is a server error message - server configuration problem.
PS. As a security measure I advice to rename input folder to something that only you know - even if it is pass protected. Better to have several layers of protection.
Pekka
15th of April 2005 (Fri), 06:30
More info:
It is most likely a message from mod_security PHP module - a false positive. See e.g.
http://www.mike-caine.com/gallery/wget
Not Acceptable
An appropriate representation of the requested resource /gallery/wget could not be found on this server.
Mod_security is a third party module which parses URL's and tries to detect site attacks based on rulesets. Those rulesets can be altered by site admin.
MikeCaine
15th of April 2005 (Fri), 07:11
Thanks for the research into the problem. I've never come accross a "Not Acceptable" error message before and didn't think of Googling for it. I'll contact my site host and see what they say.
Thanks again
Mike
MikeCaine
15th of April 2005 (Fri), 08:09
Support replied -
"The issue is caused by the fact that the mod_security module doesn't allow certain directories to be accessed, and included in that list is /backup/.
The reason for this is it is one of a number of directory names used by the operating system (along with /root /etc /var /log etc.), which can be harmfull if accessed.
/backup is an active directory on our servers, and as such I'm not prepared to reduce the overall security on the server by removing it from the mod_security configuration. The only way to resolve the problem is to rename the directory that your site uses, to something else such as "archive"."
Renaming it to archive seems to work, there's obviously a missing graphic at the top of the page but the various tabs also seem to be a corrupted graphic. I'll have to look a bit further.
Thanks
Mike
Pekka
15th of April 2005 (Fri), 08:35
If they seek partial strings from url then it means folder "ee_backup_graphs" is also forbidden in their server.
MikeCaine
15th of April 2005 (Fri), 09:08
Just tried renaming graphics directory and editing index.php to match but no luck so have set it back to how it was
It's odd, what I'm seeing is partially recognisable text in the tab graphics but with some odd patterns over them
Pekka
15th of April 2005 (Fri), 10:11
Maybe you have uploaded the images is ASCII format? Try forcing BINARY upload in your ftp program and upload them again.
MikeCaine
16th of April 2005 (Sat), 05:39
Your diagnostic powers are spot on again :-)
Don't know why the other graphics were OK and the backup ones weren't but all seems OK now
Thanks
Mike
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.