On Feb 24, 2012, at 7:39 AM, Michael Keuter wrote:

> 
> Am 24.02.2012 um 13:16 schrieb Neuer User:
> 
>> Hi everbody
>> 
>> I need a rewrite rule for one of my php applications. mod_rewrite is
>> included in astlinux, but it says
>> 
>> (mod_rewrite.c.206) pcre support is missing, please install libpcre and
>> the headers
>> 
>> I tried copying libpcre and libpcreposix from a debian i386 package, but
>> that does not make a difference.
>> 
>> /oldroot/mnt/asturw/usr/lib/libpcreposix.so.3.12.1
>> /oldroot/mnt/asturw/usr/lib/libpcreposix.so.3
>> /oldroot/mnt/asturw/usr/lib/libpcreposix.so
>> /oldroot/mnt/asturw/lib
>> /oldroot/mnt/asturw/lib/libpcre.so.3.12.1
>> /oldroot/mnt/asturw/lib/libpcre.so.3
>> /oldroot/mnt/asturw/lib/libpcre.so
>> 
>> Anybody knows what I need to do to get mod_rewrite working?
>> 
>> Thanks in advance
>> 
>> Michael
> 
> It's not enabled by default (size?) But you could build your own AstLinux 
> version and then just enable "lighttpd pcre support" in "menuconfig".
> 
> If you already have a running Debian, it should be easy for you:
> http://doc.astlinux.org/devdoc:documentation
> 
> Michael

+1 for what Micheael Keuter stated...

It appears BR2_PACKAGE_LIGHTTPD_PCRE automatically selects BR2_PACKAGE_PCRE.

======================
BR2_PACKAGE_LIGHTTPD_PCRE

Enable PCRE support. Needed to support mod_rewrite

Symbol: BR2_PACKAGE_LIGHTTPD_PCRE [=n]

Depends on: BR2_PACKAGE_LIGHTTPD [=y]
Location:
  -> Package Selection for the target
    -> Networking applications
      -> lighttpd (BR2_PACKAGE_LIGHTTPD [=y])
Selects: BR2_PACKAGE_PCRE [=n]
======================

I gave it a try, and both pcre and lighttpd w/pcre builds properly.  I did not 
test mod_rewrite functionality though.

May I ask what you need mod_rewrite for ?  Would it be of general interest ?

If you are developing custom PHP stuff, you may as well be building your own 
custom images.

Lonnie



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to