Forums

Problem on using wp-super-cache. but i can use wp-cache function on the same. (13 posts)

  1. eplmatches
    Member
    Posted 3 years ago #

    hi,

    my site is epmatches.com

    If i activate the super-cache, it Caches, means it is showing number of pages cached and all.

    But if i refresh one page the cached time keep changing, that means new cache is creating each for each page. Any solution for that.

    It is working fine with wp-cache function. (i am using that one now)

    Any one have solution?

  2. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Are you logged in when doing this? Are cache files created in your supercache directory?

  3. eplmatches
    Member
    Posted 3 years ago #

    Yes/ i logged in. but i tried without log in, in different computer with different ISP.

    Yes files were created there in supercache. But whenever i tried open that page (supercached page) it's new version is being created.

  4. eplmatches
    Member
    Posted 3 years ago #

    i am getting this warning

    "Mod rewrite may not be installed!

    It appears that mod_rewrite is not installed. Sometimes this check isn't 100% reliable, especially if you are not using Apache. Please verify that the mod_rewrite module is loaded. It is required for serving Super Cache static files. You will still be able to use WP-Cache."

    But see i have SEO friendly url with 'index.php'

  5. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Just check if mod_rewrite is installed, can't hurt..

  6. eplmatches
    Member
    Posted 3 years ago #

    no, mod_rewrite is not installed, because the host is using IIS6.

    But permalinks are SEO friendly. no?

    Can't do anything?

    thanks for your patience.

  7. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Try this. I don't use Windows so I don't know what you can do except use Apache and preferably Linux to host your site.
    http://neosmart.net/blog/2007/getting-wordpress-super-cache-to-run-on-a-windows-iis-or-apache-server/

  8. Phil_WP
    Member
    Posted 3 years ago #

    I host with Network Solutions and recently noticed that the Plugin Automatic Update feature stopped working for two of my blogs (others continued to work). The Network Solutions support tech was awesome and eventually helped me diagnose that the problem was related to WP-SuperCache. Somehow the hostname in the FTP connection information became corrupted. I had to manually enter the IP address of the host followed by ":21" (the FTP port number) along with the User ID and Password for the FTP account to make the Automatic Update work again.

    I am not saying that the plugin caused the problem - it could have been some mistake I made in installing or configuring it; however, I thought I would let folks know about a possible problem and a work around.

  9. eplmatches
    Member
    Posted 3 years ago #

    i tried this before and it couldn't help.

    After that only i came over here. Anyway let's hope for the solution soon.

    Anyway thanks for the plugin, i can use the wp-cache function :)

  10. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Phil - can't imagine how the plugin could affect your hostname. Only root can change your hostname and I hope the web server isn't running as root!

  11. ballykelly
    Member
    Posted 3 years ago #

    I've seen the "Mod rewrite may not be installed!" warning on Apache boxes that have mod_rewrite properly installed but also have altered server signatures. There are a couple of methods to alter the server signature. Example: use mod_security(SecServerSignature) or simply edit the Apache source before compiling. I've seen similar troubles with that yabb perl thingy and altered server sigs.

    In any case the wp-cache.php script appears to check wp-admin/includes/misc.php: got_mod_rewrite, which in turn looks to wp-includes/functions.php: apache_mod_loaded which seems to not run the php function apache_get_modules if the signature is not Apache.

    (if ( !$is_apache )
                    return false;

    The $is_apache global seems to come from:
    wp-includes/vars.php:

    $is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false;

    I'm not a php coder so these are just assumptions. Fixing this in environments that require these altered signatures is a simple matter of changing the $is_apache var to meet your needs. Either add another test or just change the 'Apache' string to whatever you set your server signature to.

    If this is already posted somewhere please accept my apologies for the extra text on the web :)
    -t

  12. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Modified Apache server strings? Argh, that's just crazy.

  13. ballykelly
    Member
    Posted 3 years ago #

    Actually, it is not that uncommon. Crazy? Perhaps :)

Topic Closed

This topic has been closed to new replies.

About this Topic