Apache 1.3 URL rewrite not passing $_GET Variables

Discussion in 'Apache' started by vidzsharenet, Jun 2, 2011.

  1. #1
    Hello,

    I have been using a url rewrite rule in .htaccess file for different servers with Apache 2.0 and above and it worked really well. But I have now a server with Apache 1.3 and the client is refusing to upgrade apache. Please let me know if there is any other rule which I can use to make it work.

    Here is the rule which I am using currently:
    I have this code in admin.php

    
    <?php
    print_r($_SERVER["QUERY_STRING"]);
    ?>
    
    PHP:
    When I open it in browser using this url: http://www.domain.com/admin/login/ it gives me blank page and when I open it using this url: http://www.domain.com/admin.php?section=login it prints the query string which has section=login in it.

    Please let me know what can I do to make it work with Apache 1.3 version.

    Thank You
     
    Solved! View solution.
    vidzsharenet, Jun 2, 2011 IP
  2. #2
    Right now most of the scripts not supported under 1.x versions, its best for you to upgrade their server with 2.x version.
     
    stardust.x7, Jun 3, 2011 IP