Creating and modifying plugins.
-
darrellb
- Posts: 3
- Joined: Mon Sep 26, 2005 8:29 pm
- Location: Ontario, Canada
-
Contact:
Post
by darrellb » Mon Sep 26, 2005 8:36 pm
Trying to install a plug-in using SPARTACUS (Post via XML-RPC) results in the following error page message:
Code: Select all
An appropriate representation of the requested resource /serendipity_admin.php could not be found on this server.
While I haven't tested every single one, this doesn't happen with every plug-in.
Is this error message actually connected to Serendipity or to my server set-up?
Thank you for your help.
DarrellB
-
garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
-
Contact:
Post
by garvinhicking » Mon Sep 26, 2005 8:40 pm
It comes from your server setup; haven't seen that kind of message before! What kind of server are you using? Maybe using mod_security?
Regards
Garvin
-
darrellb
- Posts: 3
- Joined: Mon Sep 26, 2005 8:29 pm
- Location: Ontario, Canada
-
Contact:
Post
by darrellb » Mon Sep 26, 2005 8:55 pm
And I hadn't seen this message before a couple of days ago
My phpinfo file tells me that the module mod_security is loaded (
http://www.darrellbuchanan.ca/phpinfo.php).
If that is the problem, can I disable that through my .htaccess file?
Thanks for your prompt reply and assistance!
DarrellB
-
garvinhicking
- Core Developer
- Posts: 30020
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
-
Contact:
Post
by garvinhicking » Mon Sep 26, 2005 9:53 pm
I'm sorry, I don't use mod_security on my own, so I don't know how to disable it. But it''s most likely the root of your problems!
Regards,
Garvin
-
Guest
Post
by Guest » Mon Sep 26, 2005 10:01 pm
Well, I found some advice on disabling mod_security in the .htaccess file here:
http://www.urbangiraffe.com/2005/08/20/mysterious-406-error/
Added the suggested lines to my htaccess file and I was able to load the plug-in, so that appears to have been the problem.
Need to do more reading on the possible consequences of my actions
Thanks for pointing me in the right direction.
DarrellB
-
darrellb
- Posts: 3
- Joined: Mon Sep 26, 2005 8:29 pm
- Location: Ontario, Canada
-
Contact:
Post
by darrellb » Mon Sep 26, 2005 10:02 pm
Sorry, the last post was from me.
Forgot to log-in.
DarrellB
-
Huhu
- Regular
- Posts: 131
- Joined: Tue Oct 04, 2011 3:22 pm
Post
by Huhu » Wed Jan 22, 2014 1:30 pm
By the way, Godaddy as a hoster gives the same error message when installing s9y via Expert (oddly not via Simple) installation, and when trying to change settings in the Configuration (like the blogs name).
I will just edit the files themselves, but it would be interesting to hear if anyone knows the reasons for this ...
Code: Select all
Not Acceptable An appropriate representation of the requested resource /serendipity_admin.php could not be found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-
yellowled
- Regular
- Posts: 7111
- Joined: Fri Jan 13, 2006 11:46 am
- Location: Eutin, Germany
-
Contact:
Post
by yellowled » Wed Jan 22, 2014 5:26 pm
Huhu wrote:I will just edit the files themselves, but it would be interesting to hear if anyone knows the reasons for this ...
I'm not a 100% positive it's still that way, but GoDaddy's “one click installations” of s9y used to be very different from out core distribution which is why most support requests for those installations should be routed to GoDaddy.
YL
-
Huhu
- Regular
- Posts: 131
- Joined: Tue Oct 04, 2011 3:22 pm
Post
by Huhu » Wed Jan 22, 2014 8:40 pm
yellowled wrote:I'm not a 100% positive it's still that way, but GoDaddy's “one click installations”
Of course I sticked to the oldschool "upload current version via FTP"-installation routine
I have also filed a support request to them because it is almost cvertainly their fault, it would just be interesting to hear if someone has an explanation for that. So I am posting here purely out of interest. Had installed s9y many times and never hit such a message -- with other providers.
-
Timbalu
- Regular
- Posts: 4598
- Joined: Sun May 02, 2004 3:04 pm
Post
by Timbalu » Thu Jan 23, 2014 9:49 am
Is that a 406 error?
Ask your host if they have mod_security enabled and if it's possible to disable it on a per-directory basis. Or at least set it to a state where you can turn it off by yourself.
Like this
Code: Select all
<ifModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</ifModule>
in your .htaccess
Or added to the mod_rewrite section like this, eg.
Code: Select all
<files serendipity_admin.php>
SecFilterEngine Off
SecFilterScanPOST Off
SecFilterInheritance Off
</files>
RewriteEngine On
...
-
Huhu
- Regular
- Posts: 131
- Joined: Tue Oct 04, 2011 3:22 pm
Post
by Huhu » Thu Jan 23, 2014 10:02 am
Thanks, I have tried both. The first doesn't seem to do the trick, the other just throws an Internal Server Error. I hope godaddy support is, well, worth its salt ...
Hopefully the error is restricted to the admin.php, where one-time editing the table data wouldn't be a problem. I will also look through other possibilities through htaccess.
-
Timbalu
- Regular
- Posts: 4598
- Joined: Sun May 02, 2004 3:04 pm
Post
by Timbalu » Thu Jan 23, 2014 10:36 am
As I said - ask you host...
Else play around with it (adding a / to the filename or check other SecFilter sets too), before the serendipity (and mod_rewrite) rules, and better use this eg.
Code: Select all
<ifModule mod_security.c>
<files serendipity_admin.php>
SecFilterEngine Off
SecFilterScanPOST Off
SecFilterInheritance Off
</files>
</ifModule>
since I just copied this as an example, without having personal experiences with mod_sec.
-
Huhu
- Regular
- Posts: 131
- Joined: Tue Oct 04, 2011 3:22 pm
Post
by Huhu » Tue Jan 28, 2014 1:09 pm
Thanks, I will read through that!