Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 16th, 2002, 06:16 PM
Bob Loblaw Bob Loblaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 174 Bob Loblaw User rank is Sergeant (500 - 2000 Reputation Level)Bob Loblaw User rank is Sergeant (500 - 2000 Reputation Level)Bob Loblaw User rank is Sergeant (500 - 2000 Reputation Level)Bob Loblaw User rank is Sergeant (500 - 2000 Reputation Level)Bob Loblaw User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
rewrite

RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/zope.domain.com:80/site/VirtualHostRoot/$1 [P]

I like the above method, anything wrong with it?
__________________


VCR clock programmer and toaster repairman, best rates and best work around

Reply With Quote
  #2  
Old May 20th, 2002, 06:52 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
this statement not true

There are a number of different ways to get Apache working with Zope -however, all of them rely on using CGI to pass Apache requests to Zope

using apache & mod_rewrite doesn't involve CGI

Reply With Quote
  #3  
Old May 20th, 2002, 06:52 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
this statement not true

There are a number of different ways to get Apache working with Zope -however, all of them rely on using CGI to pass Apache requests to Zope

using apache & mod_rewrite doesn't involve CGI

Reply With Quote
  #4  
Old May 22nd, 2002, 12:10 PM
ZeUs's Avatar
ZeUs ZeUs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: St. George, Utah
Posts: 63 ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 36
incorrect

On this site (DevShed.com) we use Apache and mod_rewrite with Zope. You don't need CGI at all. Zope can be and typically is run as a standalone server. You can use Apache with mod_rewrite to proxy requests to the Zope server.
__________________
Lucas Marshall

Reply With Quote
  #5  
Old June 20th, 2002, 07:53 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Wrong info / can't log in

Hi!

1. I get a Zope-error message when I try to log in and I have cookies enabled.

2. I strictly followed your instructions but when I tried to view the myhost/cgi-bin/Zope.cgi Page I get "The page cannot be displayed" (Internal server error 500)

It would be a nice and desirable thing if the infos you publish to the net were accurate - otherwise it's just a case of negative information. (Zero would be to state you don't know how use Zope with Apache in the first place) instead of letting the reader come to that conclusion after 2 hours. Embarrasing!

Horst

Reply With Quote
  #6  
Old August 8th, 2002, 10:14 AM
PeterLoleit PeterLoleit is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: London
Posts: 8 PeterLoleit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: rewrite

I find that debugging rewrites is best done with:

RewriteLog "/path/to/log"
RewriteLogLevel 9

But get rid of it when u finish or u will slow down the webserver..

Reply With Quote
  #7  
Old November 21st, 2002, 09:22 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
FastCGI and multiple Zope processes

I need my Zope site to run as a pool of PROCESSES (not threads). FastCGI would fit nicely, but I need a way to use the FastCgiConfig directive from mod_fastcgi, since it allows for dynamic CGI apps. All the documentation I've seen so far uses the FastCgiExternalServer directive instead, which doesn't allow for a pool of app processes to be created automatically by Apache upon demand. Should I use PCGI instead? I would prefer to avoid using it for performance reasons.
Anyone can help? Thanks, C.

Reply With Quote
  #8  
Old February 27th, 2003, 06:17 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
wrong

I subscribe your comment

Reply With Quote
  #9  
Old March 15th, 2003, 10:57 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
There's no Zope.cgi

No Zope.cgi in my default installation.
Debian+Zope 2.5

Reply With Quote
  #10  
Old April 3rd, 2003, 03:55 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Found something

Maybe try this. I'm still trying myself

/usr/lib/cgi-bin/Zope

Reply With Quote
  #11  
Old April 3rd, 2003, 03:56 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
[no subject]


Reply With Quote
  #12  
Old May 29th, 2003, 02:08 PM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Using Zope With Apache

Using Zope With Apache

May 14, 2002 - So you've got your Apache server serving up static HTML content, and you've got some cool new Zope applications as well. Now, in case you were wondering, it is possible for the twain to meet - and this article tells you how, with a step-by-step guide to the process of serving up your Zope content through Apache. Read full article .

Please discuss this article in this thread. You can read the article here .

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Using Zope With Apache

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap