apache webserver url redirection


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users apache webserver url redirection
# 1  
Old 02-28-2012
Error 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 example:http://xyz.com/site/aboutIndex.html
should redirect to http://abc.com/site/aboutIndex.html

Regards,
Raghu.

Moderator's Comments:
Mod Comment Cross post. Closed

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

How to enable x-client-ip address in apache webserver LogFormat?

how to enable x-client-ip address in apache webserver LogFormat i tried below option, but no luck... 1. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 2. LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy 3.... (0 Replies)
Discussion started by: raghur77
0 Replies

2. UNIX for Advanced & Expert Users

How to troubleshoot "Java down" is on my Linux webserver. It caused my web URL to go down.?

On my server java is down which caused my web URL to go down. How could I troubleshoot java related issues on my server (0 Replies)
Discussion started by: vinay2926
0 Replies

3. Shell Programming and Scripting

Apache webserver troubleshooting

Need assistance in getting apache installation troubleshooting.. - Compiled source code of apache webserver , Installed and configured apache, - started apache web server with no errors. - web browser doesnt open any pages . say "Page cannot be displayed". Need troubleshooting . - When i... (12 Replies)
Discussion started by: ajayram_arya
12 Replies

4. 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

5. Web Development

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... (0 Replies)
Discussion started by: raghur77
0 Replies

6. 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

7. 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

8. 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

9. UNIX for Advanced & Expert Users

apache webserver

Can I set up an apache webserver on Mandriva? Looking for the easiest webserver program to install basic webserver just for home use. Any ideas/suggestions much appreciated..... (2 Replies)
Discussion started by: jo calamine
2 Replies

10. UNIX for Advanced & Expert Users

Logout Apache WebServer!

I've just started an Apache WebServer a few days ago. I'm using a web site interface for uses to interact with when they login. There are only 5 accounts for my server at the moment. How would i create a logout link so that when the user wants to end their session and logout I can see this in... (1 Reply)
Discussion started by: cipher
1 Replies
Login or Register to Ask a Question