The below link was markes as a solution but it is not this is not a domain issue this is a url issue as in the part that comes after the domain name. Apache RewriteRule to remove port on any domain name
example structure
/grid is a folder
/hypergrid.php/ is a file
/:80 is god knows what and needs to be gone
/foreignagent is variable
/ff11bc47-2deb-a55a-9531-08706d736121 is the variable value
I have a program that sends data to a website. bellow is a example of a request from this program.
i do not know why it is injecting a port in the middle of the url but i do not want to rewrite the software. how do i remove :80 from the url using htaccess?
/grid/hypergrid.php/:80/foreignagent/ff11bc47-2deb-a55a-9531-08706d736121/
this url should look like
/grid/hypergrid.php/foreignagent//
this part of the url is not static `
foreignagent/ff11bc47-2deb-a55a-9531-08706d736121/`