1
nachenko
Hotlinking a whole site
  • 2007/5/28 9:40

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


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.

2
nachenko
Re: Hotlinking a whole site
  • 2007/5/28 23:20

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Nobody?

Login

Who's Online

419 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 419


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits