Forums

[Plugin: WP Super Cache] 403 forbidden error with wp super cache (8 posts)

  1. Ovidiu
    Member
    Posted 2 months ago #

    don't really knwo what is wrong, but I was told by a visitor (even sent a screenshot) that he could read an entry till the more link but as soon as he clicked on the read more link he got a 403 erro saying:

    you don't have permission to access /wp-content/cache/supercache/pacura.ru/blog/afrika-burns-2009//index.html on this server

    I emptied the cache and it seems ok now, but what could have happened here?

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Ovidiu
    Member
    Posted 2 months ago #

    oh yes, forgot to mention I use suPhp but it is working: wordpress, themes and plugins can be updated and edited without a problem, so I am confident I have it all configured ok.

  3. Ovidiu
    Member
    Posted 2 months ago #

    checked the files generated by supercache: the owner has RW rights, the group no rights at all.
    the webserver for this particular vhost runs as the owner, but it seems the rights are not enough :-(

    did anything change during one of the last upgrades of the plugin?

  4. donncha
    Member
    Posted 2 months ago #

    Nothing changed recently but it's mod_rewrite that serves that file. Do you have any Apache security modules that check file permissions?

  5. Ovidiu
    Member
    Posted 2 months ago #

    no, no mod_security or similar installed. I checked with different chmod settings, it seems it works only with 755... :-( any ideas what to do about this?

  6. donncha
    Member
    Posted 2 months ago #

    755 is fairly safe. I'd use that.

  7. Ovidiu
    Member
    Posted 2 months ago #

    yeah, but the files written by your plugin are not 755 - so the cache breaks until I manually chmod it 755 :-(

    any ideas?

  8. donncha
    Member
    Posted 2 months ago #

    You could try editing wp-cache-phase2.php and searching for "umask". Change the 666 there to something else.

    http://us.php.net/manual/en/function.umask.php

    On my server files are created with rw-r-r but I'm not using suphp. There might be a umask setting you can change to force all files to be world readable?

Reply

You must log in to post.

About this Topic