Re: [Cooker] New Apache 2 Questions/Issues

2002-09-21 Thread Oden Eriksson

On lördagen den 21 september 2002 05.43 Jean-Michel Dault wrote:
  Yes that would be cool if you came visiting.

 Or you could come to Montreal ;-)

I can't afford the trip yet, still unemployed you know.

   It *is* serious. Many e-commerce sites use some perl modules heavily,
   and if they don't work, they can't upgrade.
 
  I understand. BTW. I packed osCommerce in contribs and it seems to work
  nicely with apache2 and php.

 Yes, I have seen it, but haven't had the time to test it yet.

  Well, it's quite impressive. We have done a great job!
 
  Now I'm off packaging every cool php I can find. I just fixed a whole
  bunch of the ones in contribs, the admin like ones I mean. I made is so
  that apps like phpMyAdmin resides in a common webadminroot like
  /var/www/admin/phpMyAdmin or whatever you pass with the magic
  --relocate rpm flag, real cute. So maybe we could have a simple admin
  html page in there soon if some artistic person is up to it?

 Why don't we put the admin page in /addon-modules, with the rest of the
 documentation?

Well..., no.

Here's what I had in mind, a sort of framework.

A bash/c/c++/perl/php coder makes a package that installs all admin like 
php/perl packages in a unique location for each node.

This is possible now since I fixed it so one could install for example 
phpMyAdmin like this:

rpm -Uvh --relocate /var/www/html/admin=/var/www/html/_new_unique_url_ \ 
phpMyAdmin-2.3.0-2mdk.noarch.rpm

The _new_unique_url_ could be generated by random. The admin installer 
needs to keep track of this _new_unique_url_ and update the start page in 
that location to include installed admin like packages. The main admin page 
should maybe look and feel like the start page for MNF?. The admin installer 
should make a link on the desktop and/or in the menues. etc., etc.

Secondary the admin installer should/would:

* don't log requests to this url.
* be as stealthy as possible.
* etc., etc.

What is this all good for, what is the point?

This method will prevent hammering with htpasswd like password crackers 
against known locations.

Well..., this is what I had in mind when I started one year ago with nisca 
:) I like these web based gadgets :)

Chears.
-- 
Regards // Oden Eriksson
Deserve-IT Networks - http://d-srv.com




Re: [Cooker] New Apache 2 Questions/Issues

2002-09-21 Thread Jean-Michel Dault

Le sam 21/09/2002 à 00:30, Yura Gusev a écrit :
  Or you could come to Montreal ;-)
 Are you planing to make party after 9.0 release? Maybe we can go and play
 paintball?

Forget about paintball ;-) Last year, Mandrake was beaten up by Syspark
at paintball, and it took me like two months for the marks to
disapear...

But beer doesn't leave marks though ;-)




Re: [Cooker] New Apache 2 Questions/Issues

2002-09-21 Thread David Walser

--- Jean-Michel Dault [EMAIL PROTECTED]
wrote:
 Le sam 21/09/2002 à 00:30, Yura Gusev a écrit :
   Or you could come to Montreal ;-)
  Are you planing to make party after 9.0 release?
 Maybe we can go and play
  paintball?
 
 Forget about paintball ;-) Last year, Mandrake was
 beaten up by Syspark
 at paintball, and it took me like two months for the
 marks to
 disapear...
 
 But beer doesn't leave marks though ;-)

But what you do under its influence may... :o)

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com




Re: [Cooker] New Apache 2 Questions/Issues

2002-09-20 Thread Jean-Michel Dault


 Yes that would be cool if you came visiting.

Or you could come to Montreal ;-)

  It *is* serious. Many e-commerce sites use some perl modules heavily,
  and if they don't work, they can't upgrade.
 I understand. BTW. I packed osCommerce in contribs and it seems to work nicely 
 with apache2 and php.

Yes, I have seen it, but haven't had the time to test it yet. 

 Well, it's quite impressive. We have done a great job!
 
 Now I'm off packaging every cool php I can find. I just fixed a whole bunch of 
 the ones in contribs, the admin like ones I mean. I made is so that apps like 
 phpMyAdmin resides in a common webadminroot like 
 /var/www/admin/phpMyAdmin or whatever you pass with the magic --relocate 
 rpm flag, real cute. So maybe we could have a simple admin html page in there 
 soon if some artistic person is up to it?

Why don't we put the admin page in /addon-modules, with the rest of the
documentation?

Jean-Michel





Re: [Cooker] New Apache 2 Questions/Issues

2002-09-20 Thread Yura Gusev

Jean-Michel Dault said:

 Yes that would be cool if you came visiting.

 Or you could come to Montreal ;-)

Are you planing to make party after 9.0 release? Maybe we can go and play
paintball?






Re: [Cooker] New Apache 2 Questions/Issues

2002-09-18 Thread Lonnie Borntreger

On Tue, 2002-09-17 at 00:28, Lonnie Borntreger wrote:
 Well, finally made some headway on this.  If I replicate what the
 commandline is that /etc/init.d/httpd uses - but remove -DHAVE_PHP4 and
 -DHAVE_SSL, it starts up correctly.
 
 With -DHAVE_PHP4, I see this:
 httpd2: relocation error: /usr/lib/php/extensions/recode.so: undefined
 symbol: recode_new_outer

I un-installed the apache2-mod_php package and reinstalled it... no
luck.  Finally checked where that .so was coming from, removed
php-recode, and now it works with PHP.

 Is it a problem having apache2-mod_ssl and mod_ssl installed?  Will
 removing mod_ssl break anything (apache v1 is removed).  Other than
 that, I still have no clue why HAVE_SSL causes failure.

The answer to that is: yes, it is a problem.  I removed mod_ssl and now
it works.

So it all good now.

TTFN, 
Lonnie Borntreger






Re: [Cooker] New Apache 2 Questions/Issues

2002-09-18 Thread Jean-Michel Dault

  Hey, you did a great job! =) It ticks! I owe you a couple of beers ;-)
 I take that as a promise :-)

Now, I only have to find out how to send alcohol to Sweeden without it
being confiscated at customs... Otherwise, I'll have to bring them
myself ;-)

  Not until mod_perl and mod_php are stable enough. There are many issues
  right now, such as PHP pages remaining in browser cache, Apache-ASP,
  HTML-Embperl, Apache-SSI and Akxit not working.
 Ohh..., shit! I didn't know that..., I've been away from computers for some
 time hunting. Is it really _this_ serious?!?!?!?!

It *is* serious. Many e-commerce sites use some perl modules heavily,
and if they don't work, they can't upgrade.

  Thse are serious issues since PHP is used by 38% of websites and
  mod_perl by 36%.
 netcraft percentage?

Yup, it was published in the latest Apache Week.

  I think these issues will be fixed in the following months, until then,
  Apache 2.0 will remain in the Contribs.
 Okidoki.
 
 BTW. I just went through your patches for the apache2 modules I
 submitted..., out of curiosity..., _how_ did you know what to fix?

Most of the patches concern component registering, ie: putting the
version of the module in the Apache version. This is needed for testing,
otherwise we don't know if the module was loaded properly. These patches
were made by myself, it's not hard when you know the API enough ;-)

The other patches concern linking additional libraries, like
libmysqlclient. In this case, you have to use ldd to make sure the
libraries are linked correctly, and nm to find out what symbols are
missing.

Jean-Michel




Re: [Cooker] New Apache 2 Questions/Issues

2002-09-18 Thread Jean-Michel Dault


 I un-installed the apache2-mod_php package and reinstalled it... no
 luck.  Finally checked where that .so was coming from, removed
 php-recode, and now it works with PHP.

There are many issues with php-recode, I'm fixing that right now. There
are symbol conflicts with php-imap and php-mysql, so you need to build
it with a patched version of recode, but the problem is that the linker
always looks first in /usr/lib, so if the regular recode is installed,
it conflicts.

I'll upload a new package today.

  Is it a problem having apache2-mod_ssl and mod_ssl installed?  Will
  removing mod_ssl break anything (apache v1 is removed).  Other than
  that, I still have no clue why HAVE_SSL causes failure.
 
 The answer to that is: yes, it is a problem.  I removed mod_ssl and now
 it works.

The problem was that both versions were loaded at the same time. It's
fixed in the 2.0.40ADVX packages.






Re: [Cooker] New Apache 2 Questions/Issues

2002-09-18 Thread Oden Eriksson

On torsdagen den 19 september 2002 03.32 Jean-Michel Dault wrote:
   Hey, you did a great job! =) It ticks! I owe you a couple of beers ;-)
 
  I take that as a promise :-)

 Now, I only have to find out how to send alcohol to Sweeden without it
 being confiscated at customs... Otherwise, I'll have to bring them
 myself ;-)

Yes that would be cool if you came visiting.

   Not until mod_perl and mod_php are stable enough. There are many issues
   right now, such as PHP pages remaining in browser cache, Apache-ASP,
   HTML-Embperl, Apache-SSI and Akxit not working.
 
  Ohh..., shit! I didn't know that..., I've been away from computers for
  some time hunting. Is it really _this_ serious?!?!?!?!

 It *is* serious. Many e-commerce sites use some perl modules heavily,
 and if they don't work, they can't upgrade.

I understand. BTW. I packed osCommerce in contribs and it seems to work nicely 
with apache2 and php.

   Thse are serious issues since PHP is used by 38% of websites and
   mod_perl by 36%.
 
  netcraft percentage?

 Yup, it was published in the latest Apache Week.

   I think these issues will be fixed in the following months, until then,
   Apache 2.0 will remain in the Contribs.
 
  Okidoki.
 
  BTW. I just went through your patches for the apache2 modules I
  submitted..., out of curiosity..., _how_ did you know what to fix?

 Most of the patches concern component registering, ie: putting the
 version of the module in the Apache version. This is needed for testing,
 otherwise we don't know if the module was loaded properly. These patches
 were made by myself, it's not hard when you know the API enough ;-)

 The other patches concern linking additional libraries, like
 libmysqlclient. In this case, you have to use ldd to make sure the
 libraries are linked correctly, and nm to find out what symbols are
 missing.

 Jean-Michel

Well, it's quite impressive. We have done a great job!

Now I'm off packaging every cool php I can find. I just fixed a whole bunch of 
the ones in contribs, the admin like ones I mean. I made is so that apps like 
phpMyAdmin resides in a common webadminroot like 
/var/www/admin/phpMyAdmin or whatever you pass with the magic --relocate 
rpm flag, real cute. So maybe we could have a simple admin html page in there 
soon if some artistic person is up to it?

Chears.
-- 
Regards // Oden Eriksson
Deserve-IT Networks - http://d-srv.com




Re: [Cooker] New Apache 2 Questions/Issues

2002-09-17 Thread Jean-Michel Dault


 Just make a backup of your configs, uninstall the apache and php stuff you 
 have, rm -rf /etc/http*, install new apache (v1.2.26 and/or v2.0.40), fix 
 config manually. J-M Dault has made a huge and very nice job making this 
 work. But as you probably have a cooker install it's safer and easier to 
 start from scratch.

Yup.

My packages are designed to do a seamless upgrade, but only from the
stable packages (either 8.x or 9.0), not from Oden's versions.

Jean-Michel








Re: [Cooker] New Apache 2 Questions/Issues

2002-09-17 Thread Oden Eriksson


- Original Message -
From: Jean-Michel Dault [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 8:37 PM
Subject: Re: [Cooker] New Apache 2 Questions/Issues



  Just make a backup of your configs, uninstall the apache and php stuff
you
  have, rm -rf /etc/http*, install new apache (v1.2.26 and/or v2.0.40),
fix
  config manually. J-M Dault has made a huge and very nice job making this
  work. But as you probably have a cooker install it's safer and easier to
  start from scratch.

 Yup.

 My packages are designed to do a seamless upgrade, but only from the
 stable packages (either 8.x or 9.0), not from Oden's versions.

I'm bad, I never had any _upgrades_ in mind for 2.x, nor the requirements, I
was just too darn busy making it tick :-)

Will Mandrake drop apache v1.x for 9.0+?







Re: [Cooker] New Apache 2 Questions/Issues

2002-09-17 Thread Jean-Michel Dault


  My packages are designed to do a seamless upgrade, but only from the
  stable packages (either 8.x or 9.0), not from Oden's versions.
 I'm bad, I never had any _upgrades_ in mind for 2.x, nor the requirements, I
 was just too darn busy making it tick :-)

Hey, you did a great job! =) It ticks! I owe you a couple of beers ;-)

 Will Mandrake drop apache v1.x for 9.0+?

Not until mod_perl and mod_php are stable enough. There are many issues
right now, such as PHP pages remaining in browser cache, Apache-ASP,
HTML-Embperl, Apache-SSI and Akxit not working. 

Thse are serious issues since PHP is used by 38% of websites and
mod_perl by 36%. 

I think these issues will be fixed in the following months, until then,
Apache 2.0 will remain in the Contribs.

Jean-Michel





Re: [Cooker] New Apache 2 Questions/Issues

2002-09-17 Thread Oden Eriksson


- Original Message -
From: Jean-Michel Dault [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 10:34 PM
Subject: Re: [Cooker] New Apache 2 Questions/Issues



   My packages are designed to do a seamless upgrade, but only from the
   stable packages (either 8.x or 9.0), not from Oden's versions.
  I'm bad, I never had any _upgrades_ in mind for 2.x, nor the
requirements, I
  was just too darn busy making it tick :-)

 Hey, you did a great job! =) It ticks! I owe you a couple of beers ;-)

I take that as a promise :-)

Thanks.

  Will Mandrake drop apache v1.x for 9.0+?

 Not until mod_perl and mod_php are stable enough. There are many issues
 right now, such as PHP pages remaining in browser cache, Apache-ASP,
 HTML-Embperl, Apache-SSI and Akxit not working.

Ohh..., shit! I didn't know that..., I've been away from computers for some
time hunting. Is it really _this_ serious?!?!?!?!

 Thse are serious issues since PHP is used by 38% of websites and
 mod_perl by 36%.

netcraft percentage?

 I think these issues will be fixed in the following months, until then,
 Apache 2.0 will remain in the Contribs.

Okidoki.

BTW. I just went through your patches for the apache2 modules I
submitted..., out of curiosity..., _how_ did you know what to fix?

Chears.






Re: [Cooker] New Apache 2 Questions/Issues

2002-09-16 Thread Oden Eriksson

On tisdagen den 17 september 2002 05.40 Lonnie Borntreger wrote:
 Just upgraded apache2 from the Odin provided to the new one in cooker
 contribs.  This left me with several questions and issues.

 Questions:
 - It did not uninstall apache-1, but it did use /etc/httpd.  Is it no
 longer possible to have both installed?  How can I uninstall apache-1
 now without screwing things up, since it will remove the files in
 /etc/httpd since it thinks it owns them?

Just make a backup of your configs, uninstall the apache and php stuff you 
have, rm -rf /etc/http*, install new apache (v1.2.26 and/or v2.0.40), fix 
config manually. J-M Dault has made a huge and very nice job making this 
work. But as you probably have a cooker install it's safer and easier to 
start from scratch.

-- 
Regards // Oden Eriksson
Deserve-IT Networks - http://d-srv.com




Re: [Cooker] New Apache 2 Questions/Issues

2002-09-16 Thread Lonnie Borntreger

On Mon, 2002-09-16 at 22:40, Lonnie Borntreger wrote:
 Just upgraded apache2 from the Odin provided to the new one in cooker
 contribs.  This left me with several questions and issues.
 
 Questions:
 - It did not uninstall apache-1, but it did use /etc/httpd.  Is it no
 longer possible to have both installed?  How can I uninstall apache-1
 now without screwing things up, since it will remove the files in
 /etc/httpd since it thinks it owns them?

OK.  Missed the fact that apache-conf was removed.  So I can remove the
rest of apache1 (and did).


 Issues/Comments:
 - Since the config now seems to be a mix between the old apache1 way the
 files were set up, and the new way that the apache2 files were setup, it
 is very hard to figure out what change is now causing the server to not
 start up.

Well, finally made some headway on this.  If I replicate what the
commandline is that /etc/init.d/httpd uses - but remove -DHAVE_PHP4 and
-DHAVE_SSL, it starts up correctly.

With -DHAVE_PHP4, I see this:
httpd2: relocation error: /usr/lib/php/extensions/recode.so: undefined
symbol: recode_new_outer

Is it a problem having apache2-mod_ssl and mod_ssl installed?  Will
removing mod_ssl break anything (apache v1 is removed).  Other than
that, I still have no clue why HAVE_SSL causes failure.


TTFN, 
Lonnie Borntreger