Tagged Questions
0
votes
0answers
100 views
Remote web in localhost: htaccess redirections
I have a web working in a remote server: www.example.com and I'm copying it to my localhost, Apache is installed on port 8082 so my local adress would be localhost:8082/example.com/.
This is what the ...
0
votes
1answer
74 views
Apache redirect to external site with directory
I have some requests like
blogs.bobvilapaint.com/11/11/2011/title
which I would like to redirect to
staging.bobvila.com/blogs/title
I've written
RewriteRule ^[0-9/]+/[0-9]+/[0-9]+/(.*)$ ...
1
vote
1answer
34 views
re-translate a link to the proper directory
We have a folder on our website http://openeye.net/imagesa that's full of garbage data that external sites and half of the company uses as a dump directory. I'm planning on ultimately nuking it ...
0
votes
1answer
88 views
mod_rewrite seems to be ignoring condition statements
I'm dying on this htaccess:
RewriteCond %{HTTP_HOST} ^[www\.]?old\.com [NC]
RewriteCond %{REQUEST_URI} ^.+$
RewriteCond %{REQUEST_URI} !^wp-admin
RewriteCond %{REQUEST_URI} !^index
...
0
votes
1answer
624 views
Apache server rewrite rules: how to avoid “implicitly forcing redirect (rc=302)”?
I've got a very annoying problem:
our webserver handles 2 (more actually but let's say 2 for a simpler example):
pretassur.fr
pretassuragentimmobilier.fr
Here's what I want to do:
change
...
0
votes
1answer
86 views
.htaccess redirect doens't work correctly
I'm using a .htaccess to get all documents from an old site to the new one. The old site doesn't support PHP or mod_rewrite. I tried the following code:
Redirect 301 / http://www.new.com/archive/
I ...
0
votes
1answer
640 views
mod_rewrite: redirect from subdomain to main domain
I have two domains - domain.com and forum.domain.com that points to the same directory.
I'd like redirect all request from forum.domain.com to domain.com (for example: forum.domain.com/foo to ...
2
votes
1answer
159 views
Redirect subdomain.xyz.com to subdomain.abc.com
Hey all, I'm trying to move to another domain, but have many subdomains under the existing domain. All the subdomains will be the same but just mapped with the new domain.
[subdomain].xyz.com => ...
1
vote
4answers
265 views
htaccess mod rewrite problem
Let me start immediately with my problem:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9_-]+)$ sinj.com.hr/index.php?var1=$1 [L]
RewriteRule ...