WordPress.org

Ready to get started?Download WordPress

Forums

Apache 2.0, virtual() and gzip? (4 posts)

  1. Rantor
    Member
    Posted 10 years ago #

    Well, I've just about got my old home page design back. But I ran into a snag when setting up a clone site on my home machine to work out the layout. The home box runs Apache 2.0. If I set use_gzip_compression to 1 in blog.header.php and I have a virtual() call, all Firebird and Konq get is the text from the virtual(), followed by still-compressed gibberish. Lynx, Links and netcat all get the normal page contents. Turning use_gzip_compression off fixes it, and it doesn't happen on my visible site (http://www.rant-central.com), which runs Apache 1.3.
    Is this a known issue with Apache 2.0? Anyone else seen this?

  2. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    Instead of virtual() try include().

  3. Rantor
    Member
    Posted 10 years ago #

    I'm using virtual() to bring in CGI stuff that needs a query string passed in. Don't think include() does that.

  4. Dougal Campbell
    Member
    Posted 10 years ago #

    How about using a php include to the URL? <?php include('http://localhost/...'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.