[Zope] apache redirect to zope problem

Jason LeMonier jlemonier at Retailpro.com
Tue May 18 20:08:21 EDT 2004


Hey Jan,

I suspect based on this:
<VirtualHost 142.104.61.63>
        ServerName www.hepnetcanada.ca
        Redirect / http://www.hepnetcanada.ca:8080/hc
</VirtualHost>

that you are not using a VirtualHostMonster,
and the more complex rewrite rule.  Look that up.  Well documented (yet a bit tricky)

Here's a piece of our intranet apache config:
<VirtualHost *>
  RewriteEngine On
  Rewriterule ^/icons/(.*) "C:/Program Files/Apache Group/Apache2/icons/$1" [L]
  Rewriterule ^/rtidocs(.*) "d:/Centralized RTI Documentation$1" [L]
  Rewriterule ^/docs(.*) "d:/Centralized RTI Documentation$1" [L]
  Rewriterule ^/alldocs(.*) "d:/Centralized RTI Documentation$1" [L]

  RewriteRule ^/(.*) http://127.0.0.1:808/VirtualHostBase/http/insiderti.retailpro.com:80/Plone/VirtualHostRoot/$1 [P]
</VirtualHost>



 

please let me know if you have any questions!

Jason LeMonier
Software Engineer
Retail Technologies International
Office   916.605.7262
Mobile  415.595.0969
Fax      509.693.4243
jlemonier at RetailPro.com



-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org]On Behalf Of
Jan Van Uytven
Sent: Tuesday, May 18, 2004 4:42 PM
To: zope at zope.org
Subject: [Zope] apache redirect to zope problem


Hi all,

I've got apache set up on my server to redirect requests for
http://www.hepnetcanada.ca
to go to
http://www.hepnetcanada.ca:8080/hc

and by and large, this works. At least it does with mozilla, opera,
etc... however when the request is redirected in internet explorer 6,
the page renders without CSS formatting. (try it)

Any idea why this happens, or how I can fix it? The apache redirect is
very simple, i.e.

<VirtualHost 142.104.61.63>
        ServerName www.hepnetcanada.ca
        Redirect / http://www.hepnetcanada.ca:8080/hc
</VirtualHost>

Any help would be appreciated.

Thanks,

Jan


---
Jan (Wyvern) Van Uytven
Sysadmin, UVic TRIUMF
wyvern at uvic.ca

Randomly selected from my quote-file:

"Whenever I watch TV and see those poor starving kids all over the
world, I can't help but cry. I mean I'd love to be skinny like that,
but not with all those flies and death and stuff."
	- Mariah Carey


_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )





More information about the Zope mailing list