1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

.htaccess redirects blocking my POST/GET!

Discussion in 'Apache' started by redhits, Jul 29, 2010.

  1. #1
    Yeah , you won't believe it but try it yourself.

    I tried to make some dynamic pages via a script. So i put an .htaccess, and i made an 404 redirect.
    When i try to submit some data via POST/GET to something like http://beta.proseductia.ro/love , i will simply not work!

    I don't know why POST/GET are blocked if i did an redirect... and it's an url rewriten url. What i can do ?! anybody know?!

    i tried to debug with an print_r($_POST) and an print_r($_GET), but i see an empty Arrary.

    Even if i call something like:
    SEMrush
    http://domainer.ip/love?getlangs=softgroups&get1=softgroups&get2=softgroups#

    i will get an empty arrary ... just because it's an url redirected...
     
    redhits, Jul 29, 2010 IP
    SEMrush
  2. Zeh.

    Zeh. Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    And your .htaccess looks like...
     
    Zeh., Jul 29, 2010 IP
  3. Deacalion

    Deacalion Peon

    Messages:
    438
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    1. Post your .htaccess
    2. You're in the wrong section (Apache would be the correct one)
     
    Deacalion, Jul 29, 2010 IP
  4. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #4
    Ok , this is my .htaccess

    
    RewriteEngine On
    RewriteBase /
    ErrorDocument 404 /results.php
    
    Code (markup):
     
    redhits, Jul 29, 2010 IP