Jump to content

Floydascc81

New Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Floydascc81

  1. I know you said give up.. but can't i somehow make any attempt to get to a file do something like this? I have it in my redirects and for the GETS it does it. Why doesn't the POST folow the same rule? http://www.accountmate.com/prtaxsvc/services.svc go to https://accountmateportal.com/download/PRDownloaddll2020.asp
  2. I am just trying to get this to work. Our company has a dll embedded in its code that calls/called the .svc on our web server. Did not know that forwarding the POST would cause it to not function. torture.
  3. https://airbrake.io/blog/http-errors/308-permanent-redirect
  4. 301 Moved Permanently: The resource has been permanently moved and request method conversion from POST to GET is allowed. 307 Temporary Redirect: The resource has been temporarily moved and request method conversion from POST to GET is forbidden. 302 Found: The resource has been temporarily moved and request method conversion from POST to GET is allowed.
  5. I have the below php in my 404.php in wordpress. Recently we moved our main site url to wordpress from IIS. Company name is important. I want to treat any url that contains \prtaxsvc to not change from POST to GET as I need to run a WCF .svc file on the old server which runs IIS ( cant run a .svc on wordpress hosted site ) any clue on how to make this work. I think I need to make \prtaxsvc report as 308 or 307 and leave other old calls as 301. Right now it fails to send .svc to old server.. thanks get_header(); ?> <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.mysite.com{$_SERVER['REQUEST_URI']}"); exit(); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.