Rewriting portion of the uri after page load.

Hi there, and hi from peacefull region)

Currently I'm running apache site with some cgi bin scripts.

The url is such "https://somnet.net/cgi-bin/index.cgi"
The task is such - get rid of the part /cgi-bin/ to have just "https://somnet.net/index.cgi"
Also I need to get rid of index.cgi itself.

I believe that mode_rewrite can't do the job, because as I understand it just handle the redirection and not rewriting the actual browser string "https://....////"

Thanks in advance
 
Back
Top