dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Linux Gazette: When Apache Redirect Doesn't Work the First Time

Jan 28, 2001, 16:52 (0 Talkback[s])
(Other stories by Mark Nielsen)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


"Apache has been a growing project for many years. It is personally amazing to me how Apache is so powerful, flexible, and easy to configure for a programmer. There is so much documentation about how to configure and do things in Apache, other commercial webservers just can't compare. Apache makes webserving fun for programmers. There are a lot of things you can test and tinker with."

"Along with the growing, comes new ways of doing things without getting rid of the old ways of doing things. I have a problem with my computer at gnujobs.com. Basically, I need to forward every request for 'http://www.tcu-inc.com/mark/articles' to 'http://www.gnujobs.com/Articles'. I tried the Apache Redirect directive, but it didn't work. So, I had to figure out why it didn't work and to see if there was any way around it."

"The problem is, 'Redirect' didn't work for me when I tried to forward 'http://www.tcu-inc.com/mark/articles' to 'http://www.gnujobs.com/Articles' since both websites where running on the same webserver. However, I found out later, and it was obvious when I thought about it twice, I was using Redirect incorrectly. Nevertheless, it set me on a trip to get reacquainted with mod_rewrite...."

Complete Story

Related Stories: