Organizational Research By

Surprising Reserch Topic

apache Internal redirect to another virtual host with mod_rewrite

asked Sep 22, 2013 in APACHE by rajesh
0 votes

Related Hot Questions

1 Answer

0 votes
Figured this out via a url rewrite.
RewriteRule ^urapi/(.*)$ /library/api.php/$1 [QSA,L]
/library/api.php includes the index script in /srv/www/ directly. It has to rewrite some of the parameters in $_SERVER, but since the's index.php is a singleton, this more than serves my purposes.
answered Sep 22, 2013 by rajesh