hi, guys,
thx for your interesting in my topic. how can I deal with the URL issues?
here, I want to set up a cache server for my bbs, the configure file like below works. but, I met another problem, the URL problem.
the links which I wrote in the html files like
Code:
<a href=/readme.html>README</a>
when I click the keyword README, it always refers to http://bbs.test.com/readme.html, but in fact, I'd like it refer to http://mirror.test.com/readme.html.
how can I make it up?
thx very much
Code:
<VirtualHost *:80>
ServerName mirror.test.com
AddDefaultCharset gb2312
#ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://bbs.test.com/
ProxyPassReverse / http://bbs.test.com/
</VirtualHost>