Re: [Zope] Apache: mod_perl, mod_rewrite, prefix

2000-08-30 Thread Hung Jung Lu

(1) I have mod_rewrite statically
(2) I have mod_perl statically
(3) prefix is /usr/mydir

Okie, I figured it out. So I'll reply to myself. :) By the way, I am on 
Linux platform.

So the appropriate commands are

(1) Download latest apache and mod_perl. Unzip and untar them.
(2) Place the untarred mod_perl-1.24 into your apache_1.3.12 folder.
(3) cd into the mod_perl-1.24 folder.
(4) perl Makefile.PL \
USE_APACI=1 \
APACI_ARGS='--enable-module=rewrite' \
APACHE_PREFIX=/usr/mydir
(5) make
(6) make install (this will install the the httpd executable but not 
override the existing httpd.conf file. If you want to play safe, make a 
backup of the httpd executable before installing the new one.)

C'est tout!

Hung Jung
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Apache: mod_perl, mod_rewrite, prefix

2000-08-30 Thread Hung Jung Lu

Hi,

Although this is more an Apache question, I would guess that a lot of Zope 
users have gone through exactly the same problem I am going through, so I 
might as well try it out here.

As you can probably tell, I am trying to hook up Zope and Apache via PCGI. 
The thing is, I need also mod_perl, and my Apache root prefix is 
non-standard (not /usr/local/apache). I want to build Apache from source 
such that

(1) I have mod_rewrite statically
(2) I have mod_perl statically
(3) prefix is /usr/mydir

Now, those are three requirements, and things got too complicated. I  know 
how to do (1) and (2) together, I know how to do (1) and (3) together, but I 
still fail to do (1)(2)(3) all together. Anyone cares to share their 
experience? I want a final httpd executable, so that I can simply copy and 
replace my current copy of apache.

I have read:

  http://perl.apache.org/guide/install.html

but I am still a bit confused.

Thanks,

Hung Jung

PS- I think mod_perl is an example of big failure when it comes to 
installation, since it tries to control and override the apache installation 
process. What a mess! In comparison Zope product installations are as easy 
as drag and drop.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )