httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eng <richard....@rogers.com>
Subject [users@httpd] Riddle Me This
Date Tue, 07 Aug 2007 18:18:42 GMT
Could someone please explain this to me? I¹ve configured Apache2 to perform
reverse proxying on my web application. I¹ve added the following to
httpd.conf:

LoadModule  proxy_module  /usr/lib/apache2/modules/mod_proxy.so
LoadModule  proxy_http_module  /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule  rewrite_module  /usr/lib/apache2/modules/mod_rewrite.so

NameVirtualHost *
<VirtualHost *>
RewriteEngine     on
ProxyRequests     off
DocumentRoot      /var/www
ProxyPass  /goodsexnetwork  http://localhost:9090/seaside/goodsexnetwork
ProxyPassReverse  /goodsexnetwork
http://localhost:9090/seaside/goodsexnetwork
ProxyPass  /goodsexspace  http://localhost:9090/seaside/goodsexspace
ProxyPassReverse  /goodsexspace  http://localhost:9090/seaside/goodsexspace
RewriteRule  ^/$  http://localhost:9090/seaside/goodsexnetwork/$1 [P,L]
</VirtualHost>


But if you visit:
http://www.goodsexnetwork.com/

...you will find that the website is now couched within some kind of frame.
Here¹s the ³View Source² result:

<FRAMESET ROWS="*" TITLE="goodsexnetwork.com"><FRAME NAME="top"
SRC="http://74.102.141.248/goodsexnetwork/"
TITLE="goodsexnetwork.com"><NOFRAMES><P>Visit <A
HREF="http://74.102.141.248/goodsexnetwork/">http://74.102.141.248/goodsexne
twork/</A></NOFRAMES></FRAMESET>


(Note that I¹ve forwarded www.goodsexnetwork.com to
74.102.141.248/goodsexnetwork/.)

This frame is causing me problems. Why has Apache done this (inserted a
frame into the situation)? And is there a way to prevent the use of the
frame?

(The frame causes ³screen flashing² as users navigate from one webpage to
the next.)

Thanks,
Richard



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


Mime
View raw message