GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 06-Nov-2003, 04:04
gtd86 gtd86 is offline
New Member
 
Join Date: Nov 2003
Posts: 1
gtd86 is an unknown quantity at this point

proxy mod


hi, all

Basic problem is i need to run a webserver and email server with built in webmail on one comp, and both the webserver and webmail(webmail is run by the mail server so need own port) need to be accessable via port 80(rest are blocked from where i need access to my email).

So i found out and tried to use apache proxy, got it to work so that www.batit.com is the website and www.batit.com comes up with the webmail, i used ProxyPass and ProxyPassReverse to do /webmail/ 192.168.1.4
So this works fine.

But when the page loads and i try to like login or sign up, it tries to load pages straight from batit.com, so for example when i login and press submit, it tries to load /formlogin straight from www.batit.com and not www.batit.com

So is this apache's fault that it is not adding in the /webmail/, because if it wasn't,would that not mean all webpages that just use directives(e.g. /pics/giraffe.jpeg instead of wildanimals.com) for links would all fail to load?

Please help
I think this is the only solution i have got that i think will work on accessing ports.
  #2  
Old 06-Nov-2003, 08:16
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Hi gtd86,

See if this works: edit the 'action' attribute value to simply formlogin i.e. removing the slash...

HTML Code:
<form action="formlogin" method="post">
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Free to use Proxy Server BobbyDouglas MySQL / PHP Forum 5 20-Dec-2003 09:02

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:06.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.