Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8384613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:26:51+00:00 2026-06-09T17:26:51+00:00

I have an Apache server running on my machine (port 80) I have a

  • 0

I have an Apache server running on my machine (port 80)
I have a Zope server running on my machine (port 8080)

i want all users, irrespective of domain (lets use http://www.example.com for now) to be pushed to the zope instance, seamlessly

IE
if i type into my browser
http://www.example.com/mysite

it will display the effects of
http://www.example.com:8080/mysite

BUT

i want the URL to still say
http://www.example.com/mysite

(sub-)domain should be irrespective, as will have 2 or 3 domains pointing to the same server

am i supposed to be looking at mod_rewrite or mod_proxy?

I have the mod_rewrite half working,l but it changes what is in the browser?

currently trying

RewriteEngine on    
RewriteRule ^($|/.*) http://localhost:8080/$1 [P]

but getting server 500

Connecting using “http://localhost/mysite”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:26:53+00:00Added an answer on June 9, 2026 at 5:26 pm

    Zope supports your scenario out-of-the-box with some special rewriting, using a VirtualHostMonster flags in the path. This ensures that any URLs generated by Zope (and by extension, Plone) are correct for proxied requests as well.

    You should use both mod_rewrite and mod_proxy, they’ll be working in concert.

    To make creating the right rewrite URLs easier, someone built an excellent RewriteRule Witch. Plugging in your specific example outputs:

    RewriteRule ^/mysite($|/.*) \
    http://127.0.0.1:8080/VirtualHostBase/\
    http/%{SERVER_NAME}:80/mysite/VirtualHostRoot/_vh_mysite$1 [L,P]
    

    Thus, for any URLs rooted at http://www.example.com/mysite, rewrite these to be served from the server running on localhost port 8080, making sure that Zope generates URLs with the same root.

    See the detailed documentation on the VirtualHostMonster feature on the Zope wiki for more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Django app running on apache server (mod_python) on a windows machine
I currently have an svn server running on a machine to which multiple users
I have a Linux Machine. Apache server is running and I need to deploy
I installed XAMPP and have an apache server running. My files are located on
I have my Apache http server running on localhost:80 and restlet server on localhost:8182,
I have two servers: Fedora running Apache/2.2.14 (old server) CentOs running Apache/2.2.3 (new server)
I have an apache web server running on my ubuntu server box. Recently, I
On my dev machine, I want to be able to have an SSL server,
I have Apache 2 running on a VPS server (running Debian). I recently changed
I have Apache running on a public-facing Debian server, and am a bit worried

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.