Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 24, 2024, 08:58:32 AM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
proxypass issue in apache Server
« previous
next »
Print
Pages: [
1
]
Author
Topic: proxypass issue in apache Server (Read 5828 times)
Palash
Linux Noob !
Posts: 4
proxypass issue in apache Server
«
on:
April 10, 2012, 08:22:40 AM »
Hello
I've pass my one site to another site. Its working nice but on some link its displaying original Link. Here is my configuration
Original Site "mysite.com"
Second Site Configuration which is proxypassed on "mysite.com"
<VirtualHost *:80>
ServerName test.mysite.com
ServerAlias www.test.mysite.com test.mysite.com
ErrorLog /var/log/apache2/test.mysite_log.log
TransferLog /var/log/apache2/test.mysite-access_log.log
LogLevel info
LogFormat "%h %l %u %t \"%r\" %>s %b %T" common
ProxyPass / http://mysite.com/
ProxyPass / http://mysite.com/
ProxyPassReverse / http://mysite.com/
</VirtualHost>
Now, everything is working well. But the problem is that when I go to some specific link its redirect me to original link. For Example
there are two section on my page "about-us" and "inquiry"
When I click on "about-us" its take me to "http://test.mysite.com/about-us" which is ok
When I click on "inquiry" its take me to "http://mysite.com/inquiry" which is not correct it must be "http://test.mysite.com/inquiry"
I think I've missed some thing to add in configuration file but I cant figure it out.
Please look into this matter and help me.
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Servers Support
»
proxypass issue in apache Server