> 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 ?
I want to provision some aastra phones. The asterisk provisioning system is not very well documented, but from what I understand it does not allow for more diverse configuration files, e.g. different softkeys per phone. So, I would like to use some simple php scripts to generate the configuration files. But for this I need a rewrite rule, because the aastra phones (like all others that I know) use static URLs like http://192.168.0.1/phoneprov/0011223344.cfg I would rewrite this to something like this http://192.168.0.1/phoneprov.php?mac=0011223344 Which a php script can use to generate the configuration file. Whether this is of general interest, I don't know? > If you are developing custom PHP stuff, you may as well be building your own custom images. Well yes, that could be an alternative. I would need to setuop the build system and understand how it works. But actually, the mod_rewrite is the only thing I need to change so far. Would it be possible for you to send me the necessary files, if you have already built them? Thanks a lot! Michael Am 24.02.2012 15:02, schrieb Lonnie Abelbeck: >> >> 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] > ====================== > > > > 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/ ------------------------------------------------------------------------------ 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].
