niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Apache
redirects in the main server affecting virtual hosts?
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Joshua Slive
*nix forums Guru


Joined: 07 Feb 2005
Posts: 1647

PostPosted: Wed Jul 19, 2006 9:14 pm    Post subject: Re: redirects in the main server affecting virtual hosts? Reply with quote

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

PostPosted: Wed Jul 19, 2006 3:43 pm    Post subject: redirects in the main server affecting virtual hosts? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 4:32 am | All times are GMT
navigation Forum index » Apps » Apache
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix Multiple Relay Hosts? blaze Postfix 0 Wed Jun 25, 2008 5:02 am
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Deliver msg to multiple hosts jures Postfix 2 Fri Feb 29, 2008 4:21 pm
No new posts NFS server on Solaris 10 gurgle Solaris 0 Tue Sep 04, 2007 7:05 pm

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
[ Time: 0.1694s ][ Queries: 20 (0.0972s) ][ GZIP on - Debug on ]