rasael Posted May 25, 2007 Share Posted May 25, 2007 Hello everybody! I am looking for an easy way to replace the text in the apache response. What I need to do is: my pages contains lots of link such as "www.test.com/something" and I want apache to rewrite them to "localhost/something" Thank you, Rasael Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 25, 2007 Share Posted May 25, 2007 You can only use localhost if Apache is installed locally on your computer. What are you trying to do? Quote Link to comment Share on other sites More sharing options...
rasael Posted May 25, 2007 Author Share Posted May 25, 2007 Thank you for answering. I am working on the conversion of a website (already online) where all the links are pointing to the real online url (example www.test.com/contact.htm). Now I am working on the website locally and I don't want to replace all the links (got way too many pages) to have it working on my computer but I would like Apache to replace the links. This will allow me to browse the website locally and if I upload the same pages on Internet I don't have to replace the links. I've been trying to figure out this by adding output filters but I didn't understand much of it.. Thank you, Rasael Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.