1
vote
1answer
99 views

nginx 301'ing limit_req rate limited requests instead of error page

I have a bulk search form on apache servers behind nginx. I'd like to protect that location so that the second request in a 10 minute period gets 301'd to a "Would you like to use our API" page ...
0
votes
1answer
87 views

Nginx Vhosts with SSL

I have 3 domains running on an nginx server with ssl domain.pw domain.info domain.mobi i have sni enabled, and am using a vhost for each site. the host records for the site are all like this A ...
1
vote
2answers
202 views

How to not redirect if requesting server_name only

Most people type in the browser bar: mysite.com and not https://mysite.com. Alot of developers including myself have something like this in their Nginx config file which means that this mysite.com ...
0
votes
1answer
81 views

301 Redirect, need to drop file name

I have many redirects working but I have one that needs to be redirected and drop the file name. redirect 301 /path/to/file/default.aspx http://www.domain.com/newpath/to/page/ When I implement this ...
0
votes
1answer
120 views

301 redirect mod_rewrite links from old affiliate system to new

I am completely new to (& am completely lost with) apache commands. I am working on a new J! installation that is intended to be a replacement of the clients existing regular html site. New site ...
0
votes
1answer
60 views

Preserving URLs after CMS migration with redirect database and apache http?

We will migrate an entire intranet from one CMS to another. All URLs will change in a non-predictable pattern, but I can capture a file with original,new URLs I can feed into anything. I have hundred ...
-1
votes
1answer
203 views

40.000 lines of 301 Redirect in httpd.conf [duplicate]

Possible Duplicate: best way to handle thousands of permanent redirects As object. I need to do 301 redirect, for about 40.000 pages. I know that putting this quantity of lines in ...
0
votes
1answer
93 views

301 redirect (mod rewrite) a whole folder and all files with the get parameters

I want to redirect all urls starting with www.site.com/online/ to www.site.com some examples of the files I'm trying to redirect are ... ...
0
votes
2answers
154 views

Apache: Redirect all hits on subdirectory (301)?

Probably a simple problem, but I cant seem to figure it out: I've recently created a new website from scratch to replace an older website. The old website had a good SEO ranking which is obviously ...
1
vote
1answer
2k views

Apache - httpd.conf redirect with X-Forward-For - Not working?

I'm having an a-hole of a problem redirecting traffic. Basically, I'm building a new web server and it's on another version of my domain, so I want to redirect traffic not from this IP. Problem is ...
2
votes
2answers
143 views

.htaccess 301 redirect PLUS url rewrite

Premise: My photography website is www.domain.com and my blog is on www.domain.com/blog. Everything is on self hosted wordpress platform. On my index page I have my photo galleries. I now would ...
-1
votes
1answer
108 views

Nginx: simple page redirect

I'd like to make two simple 301 page redirections. For example: http://domain.com/example.php?var=value and: http://domain.com/some-page Both redirecting to: http://domain.com/index.htm Which ...
0
votes
1answer
197 views

Issue with mod_rewrite (possibly related to special characters?)

We have just made a new website for a client and for SEO purposes have a HUGE urlmap setup to rewrite the old site URLs to relevant places on the new site. Technical details are: CentOS 5.6 Apache ...
1
vote
1answer
171 views

Apache 301 redirect all but one file

I'm currently going back into an old domain and creating redirects for SEO purposes. I haven't done this much so I'm learning as I go along. I'm trying to: have some pages 301 directly to ...
0
votes
1answer
388 views

How to Block 301 redirects from third party domains in apache

A client of mine is receiving traffic from domain names which he wants to stop. The trouble I have is that they are using a 301 redirect which our server is just seeing as a normal web hit from the ...
0
votes
1answer
96 views

several hundred redirects, whats the most efficient way of configuring them?

I am aware that having too many redirects in a .htaccess file can lead to a loss of performance in apache, this leads me to my question is there a faster way to configure redirects in apache ...
0
votes
1answer
113 views

How to enable WordPress to have multiple sites without a re-direct

I'm using WordPress to manage my site and when the site does a re-direct, it slows down performance. For example, WordPress allows you a single default site, www.mycompany.com. If a user goes to ...
0
votes
2answers
81 views

safe 301 redirection using htaccess for two domains

I have two domains, a new domain (newdomain.com) and and old legacy domain (olddomain.com). I want to safely redirect the old domain to the new domain. Easy enough. At the moment I am doing this ...
3
votes
1answer
7k views

How to permanently redirect port 8080 URL to port 80 using nginx

Because of my carelessness, I put http://www.domain.com:8080/xxx/index.html on the internet. I don't want to lose that traffic, so i want to permanent redirect that url to ...
0
votes
2answers
269 views

htaccess Redirect 301 problem

I have the following in my .htaccess file- Redirect 301 / http://www.foo.com/south-carolina-real-estate/ Redirect 301 ...