[EMAIL PROTECTED] Supporting two PHP installations

2007-10-10 Thread gerocoma-forophp
Hi, Is it possible to have php4 and php5 installed into the same apache installation telling apache that some files should be executed using php4 and some others using php5 even if they all have the same extension (.php)? I'm thinking about 2 virtual hosts or applying some directory rules or lis

Re: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-27 Thread gerocoma-forophp
Hahahahahahahaha, 3 days later, I solved the problem My disk was completely full :P Cheers. --- [EMAIL PROTECTED] escribió: > I tried the following: > > > First, commented any LogFormat and CustomLog or > ErrorLog... in httpd.conf. > > Second, add to the > following lines:

Re: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-27 Thread gerocoma-forophp
I tried the following: First, commented any LogFormat and CustomLog or ErrorLog... in httpd.conf. Second, add to the following lines: LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/vh_access_log common But vh_access_log file is not being created when I do a graceful restart. =(

Re: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-27 Thread gerocoma-forophp
Yes, I have the following line activated: CustomLog logs/access_log common The proof that that line is working is that when I delete access_log file and then restart apache, access_log file is automatically recreated. --- Jeff Peng <[EMAIL PROTECTED]> escribió: > > Original-Nachrich

Re: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-27 Thread gerocoma-forophp
I actually renamed old access_log into access_log.bk because it was pretty large. Then, I created a new access_log file and after that apache never logged again. I've made a lot of graceful restarts, delete access_log and let apache recreate it but the problem persists. The file is always 0 byte si

Re: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-27 Thread gerocoma-forophp
This is my CustomLog directive: CustomLog logs/access_log common This is my "common" format: LogFormat "%h %l %u %t \"%r\" %>s %b" common I don't know if php.ini configuration can be interfering apache logging. This starts to happen since I configured php.ini to log php errors on apache's error

RE: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-24 Thread gerocoma-forophp
Still not working. I've added the CustomLog to my VirtualHost =( --- "Fought, Richard" <[EMAIL PROTECTED]> escribió: > > > > > > I don't know why my access_log file is always 0 > bytes size. > > I've searched all among httpd.conf but can't find > where's the problem. > > > > Do you

[EMAIL PROTECTED] AccessLog isn't logging

2007-08-24 Thread gerocoma-forophp
Hello. I don't know why my access_log file is always 0 bytes size. I've searched all among httpd.conf but can't find where's the problem. I have the CommonLog directive activated in the following way: CustomLog logs/access_log common It's in the httpd.conf context. If I erase access_log file a

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
Solved. The Cache-Control headers were been added by PHP. php.ini had the directive: session.autostart = 1 which automatically initiates a session for every page. That directive in conjunction with: session.cache_limiter = nocache where creating the headers for every page (php & html).

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
Confirmed: No Proxy in Between. --- [EMAIL PROTECTED] escribió: > This is my LoadModules section Joshua: > > LoadModule access_module modules/mod_access.so > LoadModule actions_module modules/mod_actions.so > LoadModule alias_module modules/mod_alias.so > LoadModule asis_module modules/mod_

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
This is my LoadModules section Joshua: LoadModule access_module modules/mod_access.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_module modules/mod_auth.so #LoadModule auth_anon_module mod

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
I tried this suggestion but it dind't work. I've even disabled the negotation module and the Cache-Control headers are still been sent I really don't know where are they coming from... HTML pages also have them, not only php. mod_headers also disabled... More suggestions? Thanks. --- Vinc

Re: [EMAIL PROTECTED] Apache Cache Control

2007-08-14 Thread gerocoma-forophp
I found, that mod_expires automatically adds Cache-Control headers depending on the activated directives of that module. However, this module is disabled in my http.conf and no .htaccess files are around... suggestions? Thanks. --- [EMAIL PROTECTED] escribió: > Hello, > > I have a Apache/2.0.

[EMAIL PROTECTED] Apache Cache Control

2007-08-13 Thread gerocoma-forophp
Hello, I have a Apache/2.0.54 (Win32) which is serving every element (html, php, gif...) with the following headers: Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 I've searched every place I know (httpd.conf, .htaccess, php.ini), but I can't still find why o wher

[EMAIL PROTECTED] Apache Restarting

2007-08-10 Thread gerocoma-forophp
Hi everybody, I would like to know what really happen when apache is restarted. This is because I need to know the risks of restarting during production time. I mean, if, for example, a php is being attended and at that moment I restart, does apache will wait until the php finishes and give the

Re: [EMAIL PROTECTED] mod_headers.c

2007-08-09 Thread gerocoma-forophp
Thank you very much Joshua!!! It completely works It was very straigth forward. I just followed the 2 single steps in that guide. apxs -c apxs -i -a -n The only thing is that apxs didn't add the LoadModule and AddModule lines as expected, but I only changed them and now is working!

Re: [EMAIL PROTECTED] mod_headers.c

2007-08-09 Thread gerocoma-forophp
Thank you very much Joshua!!! It completely works It was very straigth forward. I just followed the 2 single steps in that guide. apxs -c apxs -i -a -n The only thing is that apxs didn't add the LoadModule and AddModule lines as expected, but I only changed them and now is working!

Re: [EMAIL PROTECTED] mod_headers.c

2007-08-09 Thread gerocoma-forophp
Thank you. Is there any way to just add it? Gerardo. --- Joshua Slive <[EMAIL PROTECTED]> escribió: > On 8/8/07, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I've apache 1.3 installation. It doesn't have > > mod_headers installed. How can I install it? > > > > The best/onl

[EMAIL PROTECTED] mod_headers.c

2007-08-08 Thread gerocoma-forophp
Hello, I've apache 1.3 installation. It doesn't have mod_headers installed. How can I install it? The best/only thing I find in the web was the mod_headers.c source code (http://www.koders.com/c/fid0AAB65D829C37CFB1E1F87D75C64A019E51DD972.aspx) However, I don't know how to get it working into my