Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I forgot to mention, it is a virtualhost, would that matter?
Please define "Not working".
Did you clear your browser cache? Are you using the rewrite stuff from a .htaccess file, or from the apache config file?
And it doesn't matter if it's a virtual host of not.
In this case you need to reload apache.
And since it's a vhost, you need to put those directives inside the vhost's definition section inside the <Directory ...>...</Directory> where you define the DocumentRoot directory of the vhost. E.g.
I finally did it. Our setup is a bit complicated. The requests to the set of apache hosts come through a hardware load balancer depending on the URL, the this rewrite again passes the requests to the LB which again forwards it to another set of apache hosts based on the URL. And to complicate matters there is a third party apache module. This is what I ended up with