apache url redirection


 
Thread Tools Search this Thread
Top Forums Web Development apache url redirection
# 1  
Old 02-28-2012
Error apache url redirection

I need help in apache url redirection:

I have added the below command in httpd.conf and it is working fine.

Redirect http://xyz.com/site/homehttp://abc.com/site/home


Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied

For example:http://xyz.com/site/aboutIndex.html
should redirect to http://abc.com/site/aboutIndex.html

Regards,
Raghu.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Apache redirection

Hi, I have a setting below in my httpd.conf RewriteEngine on RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^yapp-dev.abc.com$ RewriteCond %{HTTP_HOST} ^zapp-dev.abc.com$ RewriteRule ^(.*)$ https://zapp-dev.abc.com/$1 Result: (with https) yapp-dev.abc.com >> URL redirected... (1 Reply)
Discussion started by: hploh
1 Replies

2. UNIX for Advanced & Expert Users

apache webserver url redirection

I need help in apache url redirection: I have added the below command in httpd.conf and it is working fine. Redirect http://xyz.com/site/homehttp://abc.com/site/home Can we set a rule such that http://xyz.com/site/* -> http://abc.com/site/* is applied For... (0 Replies)
Discussion started by: raghur77
0 Replies

3. UNIX for Advanced & Expert Users

squid url redirection

Hi all, I'd like to point all of my domain traffic to a squid server that will figure for me the url redirection that needed to do: all urls starting with: mobile.*.mydomain.com will go to server1 (tomcat server) all others will go to server2 (apache server) the catch is that the URL... (0 Replies)
Discussion started by: eliraza6
0 Replies

4. Red Hat

URL Redirection

Hi Please help, how to setup I have a URL address http://10.XX.XX.XXX:1234/abc/login.jsp - running in linux How to redirect this to http://www.abc.com.ph This way the IP address and port will not be visible to the user many thanks (2 Replies)
Discussion started by: kaibiganmi
2 Replies

5. Web Development

Apache redirection

Hello I have a domain where i need a redirection as described below : i.e mydomain.com/t-ABC-048796/sample.jpg must redirect to mydomain.com/jjj/top/8796/sample.jpg As you can see from the source URL (mydomain.com/t-ABC-048796/sample.jpg) i need the last four characters... (2 Replies)
Discussion started by: unimaxlin
2 Replies

6. Web Development

Apache Virtual URL

Hi All, i'am facing a problem with urls that don't have a filestructure under DocumentRoot. A URL like http://mydomain.com/applicationrew/Structure1/Structure2/some?parameter=key&parameter1=key1 Should be rewritet to something else. Now i defined a Location like <Location ~... (3 Replies)
Discussion started by: wuschelz
3 Replies

7. Web Development

APACHE rewrite / redirect URL

Hello. I have scenario where a Client send request to Server1. Server1 send request to Server2. Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client. Trying to use APACHE proxy... Anyone can help? What to download / configure / ...? Thank you for your... (2 Replies)
Discussion started by: ampo
2 Replies

8. Cybersecurity

APACHE rewrite / redirect URL

Hello. I have scenario where a Client send request to Server1. Server1 send request to Server2. Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client. Trying to use APACHE proxy... Anyone can help? What to download / configure / ...? Thank you for your help. (1 Reply)
Discussion started by: ampo
1 Replies

9. UNIX for Advanced & Expert Users

apache encode special characters in URL

Hi all, How can I enable encoding of special characters present in URL? eg If the URL is http://127.0.0.1/test.cgi?param1=test & test co it shouldbe encoded to http://127.0.0.1/test.cgi?param1=test%20%26%20test%20co Thanks and Reagards, uttam hoode (3 Replies)
Discussion started by: uttamhoode
3 Replies

10. UNIX for Dummies Questions & Answers

Apache, hiding the url

Hello, how to hide the full addres url, in apache web server. eg, www.example.org/www/pub/index.html, the address in browser only www.example.org . Thank You. (2 Replies)
Discussion started by: blesets
2 Replies
Login or Register to Ask a Question