Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread Matus UHLAR - fantomas
> From: "howard chen" <[EMAIL PROTECTED]> > >On Wed, Jun 4, 2008 at 1:16 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > >>On Tue, Jun 3, 2008 at 1:09 PM, howard chen <[EMAIL PROTECTED]> wrote: > >> > >>Yes, if by "embedded" you mean "running in the same process/thread > >>space with direct access to

[EMAIL PROTECTED] Diffeerent Apache Daemon on RHEL5.1

2008-06-03 Thread Vinay Purohit
Hi All, I would like to create different apache2.2.8 daemon on RHEL5.1 so that they can be started and stopped without affecting each other. I do the same on windows by creating IP based virtual server as different daemon. To achieve the same on RHEL5.1 I considered the following two appraoches. I

[EMAIL PROTECTED] Splitting access log files

2008-06-03 Thread Mara
Hi, I have an apache server running on an AS400. Currently the access logs are split into monthly files which is perfect except for the fact that size of the file is now exceding a max limit. This max limit cannot be changed and I really don't want to go to daily logging. I don't want to change

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-03 Thread André Warnier
[EMAIL PROTECTED] wrote: I have 1G real and 1.5G virtual RAM. I commented out all the modules except for the 'modules/mod_authz_host.so' module (as that is apparently required for other code in the file to run). The problem remains. Allright. If an Apache/Windows guru would like to step in,

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-03 Thread marc . scott
I have 1G real and 1.5G virtual RAM. I commented out all the modules except for the 'modules/mod_authz_host.so' module (as that is apparently required for other code in the file to run). The problem remains. Marc

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread Octavian Rasnita
From: "howard chen" <[EMAIL PROTECTED]> On Wed, Jun 4, 2008 at 1:16 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: On Tue, Jun 3, 2008 at 1:09 PM, howard chen <[EMAIL PROTECTED]> wrote: Yes, if by "embedded" you mean "running in the same process/thread space with direct access to the apache API".

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread Matus UHLAR - fantomas
> On Wed, Jun 4, 2008 at 1:16 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > > On Tue, Jun 3, 2008 at 1:09 PM, howard chen <[EMAIL PROTECTED]> wrote: > > > > Yes, if by "embedded" you mean "running in the same process/thread > > space with direct access to the apache API". On 04.06.08 01:23, howard

Re: [EMAIL PROTECTED] "redirect to maintenance page"

2008-06-03 Thread Joshua Slive
On Mon, Jun 2, 2008 at 4:35 PM, Sagar <[EMAIL PROTECTED]> wrote: > Hi All, > I need to make configuration on Apache installed on Windows Server 2003. To > redirect to maintenance page. > I have three application A, B and C. I access these application as > http:/// for example http:///A > I have mad

Re: [EMAIL PROTECTED] Request Filter

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 3:34 AM, living liquid | Christian Meisinger <[EMAIL PROTECTED]> wrote: > i try to write a filter which can block request. > i copied and modified mod_authn_dbd which has already some SQL stuff. > my problem is that i can't get any configuration settings. I recommend you try

Re: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 6:42 AM, Ben Davies <[EMAIL PROTECTED]> wrote: > Okay, this is great! Making some real headway here. > > Your suggestions works as expected. However, I want to throw another spanner > in the works :) > > I have a directory which only contains flac files. I have several bash >

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread howard chen
On Wed, Jun 4, 2008 at 1:16 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Tue, Jun 3, 2008 at 1:09 PM, howard chen <[EMAIL PROTECTED]> wrote: > > Yes, if by "embedded" you mean "running in the same process/thread > space with direct access to the apache API". > > Joshua. The difference is, say

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 1:09 PM, howard chen <[EMAIL PROTECTED]> wrote: > It is probably true that mod_perl exposes >> more of the API than any other similar module. >> >> Joshua. >> > > Yes, this is the point which I don't understand. > > Since Perl is embedded into Apache, so is mod_php mean php

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread howard chen
It is probably true that mod_perl exposes > more of the API than any other similar module. > > Joshua. > Yes, this is the point which I don't understand. Since Perl is embedded into Apache, so is mod_php mean php interpreter also embedded into Apache into the apache? Howard --

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 12:32 PM, howard chen <[EMAIL PROTECTED]> wrote: > On Wed, Jun 4, 2008 at 12:24 AM, Matus UHLAR - fantomas > <[EMAIL PROTECTED]> wrote: >> >> - mod_php interprets PHP files and sends them to client >> >> >> If you want apache to parse perl scripts in the same way as mod_php d

Re: [EMAIL PROTECTED] ForceType text/plain works for PHP but not for SSI

2008-06-03 Thread Ali, Saqib
Thanks Joshua!!! That did the trick :-) saqib http://doctrina.wordpress.com/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe,

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread howard chen
On Wed, Jun 4, 2008 at 12:24 AM, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > > - mod_php interprets PHP files and sends them to client > > > If you want apache to parse perl scripts in the same way as mod_php does > with php scripts, you need to install an apache module that will do that. >

Re: [EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread Matus UHLAR - fantomas
On 04.06.08 00:11, howard chen wrote: > People saying that mod_perl is closer to the Apache core, > as it can be used to write Apache module, but in fact, what are their > difference in term of processing model? what do you mean by "processing model". Those two are completely different things - m

Re: [EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread howard chen
On Tue, Jun 3, 2008 at 11:28 PM, Stusynski, Dan <[EMAIL PROTECTED]> wrote: > To rotate the logs you can use Apaches piped rotatelogs: > > http://httpd.apache.org/docs/2.2/programs/rotatelogs.html > > Put something like the following in your httpd.conf (or whereever your > logging is define), 'Cust

Re: [EMAIL PROTECTED] mod_auth_mysql questions

2008-06-03 Thread Chris Cohen
On Tuesday 03 June 2008 13:11:26 Res wrote: > On Tue, 3 Jun 2008, Chris Cohen wrote: > > On Tuesday 03 June 2008 11:37:30 Res wrote: > >> Which version of Apache? later versions do not use that module. so > >> to get help you should to specifiy the version > > > > Sorry, forgot that. > > apache2-mp

[EMAIL PROTECTED] Difference in mod_perl & mod_php

2008-06-03 Thread howard chen
I mean the theory behind. People saying that mod_perl is closer to the Apache core, as it can be used to write Apache module, but in fact, what are their difference in term of processing model? Howard - The official User-To-User

Re: [EMAIL PROTECTED] Running cgi that uses SQLDriverConnect (unixODC) makes Apache throw Error 500

2008-06-03 Thread Miguel Rentes
Hi Krist, Krist van Besien wrote: On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes <[EMAIL PROTECTED]> wrote: > [Tue Jun 03 11:21:20 2008] [error] [client 172.18.200.62] Premature end of > script headers: lista_alarmes.cgi, referer: > http://172.18.200.153/cgi-bin/get_ret.cgi youd CGI must

Re: [EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread Victor Trac
On Tue, Jun 3, 2008 at 5:09 PM, Andre Hübner <[EMAIL PROTECTED]> wrote: > Hi List, > > i have access_logs >2GB and Apache 2.2.8 want restart in correct way. Is > there a hint to let LogFiles grow larger or is the only way to rotate at > reaching 2GB? > > Thank you > Andre > > What is the advantage

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-03 Thread André Warnier
[EMAIL PROTECTED] wrote: Thanks for the suggestions Andre, but it's still a no-go. It loaded 20 modules, the last of which was setenvif_module, but then returned a system prompt. No errors or anything. I attempted to view the default Apache page (to see if the service was up), as well as look

RE: [EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread Stusynski, Dan
To rotate the logs you can use Apaches piped rotatelogs: http://httpd.apache.org/docs/2.2/programs/rotatelogs.html Put something like the following in your httpd.conf (or whereever your logging is define), 'CustomLog "| /bin/rotatelogs -l /logs/access_log%Y-%m-%d_%H_%M_%S 2048M" custom' That

[EMAIL PROTECTED] Apache Log File 2GB

2008-06-03 Thread Andre Hübner
Hi List, i have access_logs >2GB and Apache 2.2.8 want restart in correct way. Is there a hint to let LogFiles grow larger or is the only way to rotate at reaching 2GB? Thank you Andre - The official User-To-User support

Re: [EMAIL PROTECTED] Running cgi that uses SQLDriverConnect (unixODC) makes Apache throw Error 500

2008-06-03 Thread Krist van Besien
On Tue, Jun 3, 2008 at 12:52 PM, Miguel Rentes <[EMAIL PROTECTED]> wrote: > [Tue Jun 03 11:21:20 2008] [error] [client 172.18.200.62] Premature end of > script headers: lista_alarmes.cgi, referer: > http://172.18.200.153/cgi-bin/get_ret.cgi youd CGI must start by writing a "content-type" header,

Re: [EMAIL PROTECTED] "The service on Local Computer started and stopped"

2008-06-03 Thread marc . scott
Thanks for the suggestions Andre, but it's still a no-go. It loaded 20 modules, the last of which was setenvif_module, but then returned a system prompt. No errors or anything. I attempted to view the default Apache page (to see if the service was up), as well as looked in the service viewer, a

[EMAIL PROTECTED] Running cgi that uses SQLDriverConnect (unixODC) makes Apache throw Error 500

2008-06-03 Thread Miguel Rentes
Hi everyone! I'm trying to create a .cgi that makes a connection to Oracle Database using unixODBC (in a Red Hat Enterprise Linux 4 machine). I've successfully compiled Apache (APR 1.2.12, APR-Util 1.2.12, HTTPD 2.2.8), unixODBC (2.2.12) and PHP (5.2.6) but when I try to run the cgi from the

RE: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-03 Thread Ben Davies
Okay, this is great! Making some real headway here. Your suggestions works as expected. However, I want to throw another spanner in the works :) I have a directory which only contains flac files. I have several bash scripts, each of which convert a flac file to another format (mp3, aac, etc) I'v

Re: [EMAIL PROTECTED] mod_auth_mysql questions

2008-06-03 Thread Chris Cohen
On Tuesday 03 June 2008 11:37:30 Res wrote: > Which version of Apache? later versions do not use that module. so to > get help you should to specifiy the version Sorry, forgot that. apache2-mpm-prefork (2.2.8-1ubuntu0.2) libapache2-mod-auth-mysql (4.3.9-4) -- Thanks Chris --

[EMAIL PROTECTED] mod_auth_mysql questions

2008-06-03 Thread Chris Cohen
Hello, thanks to Eric Covener I got apache's reverse proxy working with basic htpasswd authentication. But now that it's working, I want to authenticate Apache against a mysql database with about 15 users. (I think I could write a script that syncs the database to the htpasswd file, but that is

[EMAIL PROTECTED] Request Filter

2008-06-03 Thread living liquid | Christian Meisinger
i try to write a filter which can block request. i copied and modified mod_authn_dbd which has already some SQL stuff. my problem is that i can't get any configuration settings. WHATEVERRequestConfig->ipCheck should be a string to a SQL query. WHATEVERIPCheckPrepare() is called. however in WHATE

[EMAIL PROTECTED] How to install mod_expires in freebsd?

2008-06-03 Thread Jagbir Singh
Hi, I'm on FreeBSD 5.5 with Apache/2.0.59 and like to install mod_expires.   I'm unable to find it in ports collection (/usr/ports/www). Can anybody plz tell me from where and how I can install mod_expires in Apache. Thanks -- Jagbir ---