apache - Transparet/silent redirect to port -
i have homepage http://homepage.com/ use port 80 using apache2. host sparql endpoint @ http://homepage.com:8080/sparql/ rewrite www.homepage.com/sparql including queries such as:
www.homepage.com:8080/sparql/?default-graph-uri=&query=select+distinct+%3fconcept+where+%7b%5b%5d+a+%3fconcept%7d+limit+100
i have played around redirect , rewrite not able achieve desired effect. in .htaccess have following:
redirect 301 http://homepage.com/sparql/* http://homepage.com:8080/sparql/*
what correct way setup such redirect?
*edit: when write transparent mean url should stay same i.e. port number hidden.
Comments
Post a Comment