3
votes
1answer
236 views

Why is my Apache in an infinite redirection loop?

We currently have an internal site set up for IT at it.example.com, which hosts a single Redmine site. I want to set up Apache so that if a user goes to kb.example.com it redirects them to ...
0
votes
1answer
166 views

Apache httpd.conf redirection. How to “balance” app

This is probably a simple problem but I just can't seem to solve it! I have a website running 2 Apache Tomcats on different ports (e.g. 8080, 8085). However since my customers cannot access specific ...
0
votes
1answer
66 views

Redirection on Apache (Maintain POST params)

I have Apache installed on my server and I need to redirect from http to https. The reason for this is our load balancer solution cannot hand https so requests come in on http and then we transfer ...
0
votes
1answer
301 views

How to redirect HTTP post request

Hi I am currently using the below code in my apache httpd.conf file to redirect from HTTP to HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do ...
2
votes
1answer
125 views

Redirect subdomain to another website on a single IP virtualhost setup

I apologize if this has been asked before, but I've looked at a number of questions here and none of them seem to answer my question. I have a series of domains all pointing to my server. For each ...
1
vote
1answer
173 views

How to redirect all subdomains do one domain in Apache config file without specifying domain name?

I want to make general rule for all my domains, so I don't have to specify each of them individually. I have these two lines in my Apache config file: RewriteCond %{HTTP_HOST} ^domain\.com ...
4
votes
1answer
4k views

If directive not working in apache VirtualHost conf, says “Invalid command”

Why?? <VirtualHost *:80> ServerAdmin admin@mydomain.com DirectoryIndex index.php <If "%{SERVER_PROTOCOL} != 'HTTPS'"> Redirect / ...
1
vote
1answer
124 views

Redirecting http://www.server.com:portX to http://subdomain.server.com

I've got outdated requests coming into a custom port (2104) on my server. http://www.server.com:portX I've now setup my machine to handle those requests at: http://subdomain.server.com:80 But how ...
0
votes
0answers
47 views

redirect a domain to a cathegory of another domain

Let's say that I have www.cathegory-one.com and I wish to redirect it to www.mydomain.com/cathegory-one. How can be achieved this? Using a html redirect it is not a clean solution( i think). ...
0
votes
1answer
60 views

Can I replace a redirect status with any apache standard modules?

Our environment are apache2.2 + mod_perl2 + perl app the perl app output 302 Found but from SEO reason I wanna change the status to 301 Moved Permanently only from Google bot and If it need to edit ...
1
vote
2answers
485 views

Redirect 301 or RedirectMatch 301 not working for me

So this is my scenario: I have 1 static IP and 2 servers. 1 server is a web server the other is a mail server. I have a router as a hardware firewall with all the ports are set that require ...