|
|
|
|
|
|
| Author |
Message |
Joshua Slive *nix forums Guru
Joined: 07 Feb 2005
Posts: 1647
|
Posted: Wed Jul 19, 2006 9:14 pm Post subject:
Re: redirects in the main server affecting virtual hosts?
|
|
|
On 7/19/06, Lindsey_Lepisko@cargill.com <Lindsey_Lepisko@cargill.com> wrote:
| Quote: | Hi all,
How much of the main server's configuration would a virtual host inherit?
|
Everything is inherited unless overriden in the vhost.
I didn't read all the details, but you can probably fix your problem
by scoping your Redirect in a <VirtualHost> section that applies only
to the required hosts.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
<Lindsey_Lepisko@cargi *nix forums beginner
Joined: 03 Jul 2006
Posts: 4
|
Posted: Wed Jul 19, 2006 3:43 pm Post subject:
redirects in the main server affecting virtual hosts?
|
|
|
Hi all,
How much of the main server's configuration would a virtual host inherit? The reason I am asking is because I have a Redirect directive in the main server config that points "/pwd" at https://xxx.yyy.zzz.com:85[....]TARGET=https://xxx.yyy.zzz.com:444/pwd/password_change.htm
(the ports are added because I have apache up and running parallel with a sun one server and that is what apache is listening to)
So when I click on the Password Change link (which is just /pwd) it redirects me to my virtual host which is set up with ssl capabilities and runs the password change pages though that host. Problem is that when it brings up the first page where we enter in our user name, old password and new password and I hit the continue button which submits that form to be processed it comes right back to the first page instead of going to the TARGET url. My understanding is that the form is suppose to be processed and then it should take me to the password_change.htm page.
Also If I were to just enter https://xxx.yyy.zzz:444/pwd/password_change.htm it goes to the page form where we enter our user name and old/new password.
So I was wondering if the problem is that the target has /pwd in it and even though the virtual host is being called it sees the redirect in the main server and inherits it and sends me to the first form and not the final "you have successfully changed your password" screen.
If that is the problem is there anyway around that other than renaming the directory that password_change.htm is in?
-Lindsey
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Dec 04, 2008 4:32 am | All times are GMT
|
|
Loans | Share Prices | McDonalds | Online Advertising | Loan
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|