LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] mod_rewrite question

[Webdev] mod_rewrite question

John P. Looney valen at tuatha.org
Thu Aug 15 17:15:53 IST 2002


 I'm trying to wrap Zope up behind apache, so I can do VirtualHosts for
Zope.

 I've a site on http://ip:8080/mysite.

 I want that to appear as http://mysite.com/ - so:

<VirtualHost 192.168.2.11>
        ServerName mysite.com
        DocumentRoot /var/www/mysite
        RewriteEngine                   on
        RewriteRule     ^/(.*)    http://localhost:8080/mysite/$1 [P]
</VirtualHost>

 Now, what happens is that apache grabs http://localhost:8080/mysite/ and spits
it out to the browser. Lovely. all works.

 Except for framed pages (like Zope's management interface). It ends up
looking like:

    <frameset rows="34, *">
    <frame src="http://localhost:8080/reenactors/manage_top_frame"
name="manage_top_frame"
   marginheight="0" scrolling="no"/>

  <frameset cols="175,*">
    <frame src="http://localhost:8080/reenactors/manage_menu"
name="manage_menu"
     marginwidth="2" marginheight="2" scrolling="auto"/>

    <frame src="http://localhost:8080/reenactors/manage_workspace"
name="manage_main"
     marginwidth="2" marginheight="2" scrolling="auto"/>
  </frameset>

  </frameset>

 and of course, that's not what my client should go to. Any ideas what I'm
doing wrong ?

Kate






More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell