1
Hi everyone.
I'm about to finish some stuff for the University of Granada, and their server is SLOW AS HELL. I tried running the same site running in a cheap (-80$/year) shared hosting and it runs about 20 times faster, according to XOOPS timers.
The customers know all this crap, but they are not allowed to run a site outside the University domain for bureaucratic/political reasons.
I had a Epiphany: running the site on my server and wrap all the HTML generated from the University site. That is, my shared hosting will make all the hard work. It's just like a hotlink for the whole site.
This task has three steps:
1 - Call the other site's equivalent URL:
http://www.universitysite.es/wuggamugga/...
->
http://www.myownsite.com/mycopyof-wuggamugga/...
2 - Wrap the content.
3 - Rewrite the content so all links in the wrapped HTML are updated and point to the original site instead of my copy site.
My question is: How can I do that, say it using apache rewritign rules or Apache rewriting + a PHP wrapper.
Thank you.