Re: [EMAIL PROTECTED] Strange interaction between mod_rewrite and mod_jk

2007-08-27 Thread Frank Arensmeier

Hello Alan.

First I might say that I've never worked with Tomtact. However,  
looking at the response from your server (which is "HTTP/1.x 400 No  
Host matches server name www.chandlerfamily.org.uk") you might get  
some ideas here:


http://www.nabble.com/context-path-ignored-in-Context.xml-t1175121.html
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

Or just google for the error response message.

//frank

27 aug 2007 kl. 08.49 skrev Alan Chandler:


On Wednesday 22 Aug 2007, Alan Chandler wrote:

I am running Debian Etch Apache2 with Tomcat backending it connected
via the standard Debian libapache2-mod-jk package.

Something has happened (a Debian upgrade maybe) that has made it stop
working properly. It has been working

Accessing http://www.chandlerfamily.org.uk hangs with no reply

whilst the url that it is re-written to
 http://www.chandlerfamily.org.uk/blog/app



Nobody did ever reply to this post when I made it last week.  I have
since made some changes to some of the files to try and highlight the
problem, and perhaps correct a few things but nothing has worked.

I could really do with advice as to what is wrong, or how to get more
information so I cna find out what is wrong.

Putting RewriteLogLevel to 2 in the first Virtual Host shows that the
rewrite is happening.

It is worth saying that Debian Default site adds a

NameVirtualHost *

directive in.  It seems to make no difference if that is there or not.

Here is the key config file (83.43.22.1 is my external ip address)

-




ServerName  www.chandlerfamily.org.uk
Include /etc/apache2/sites-available/www-common
RewriteRule ^/$ /blog/app   [PT]

RewriteLog  /var/log/apache2/rewrite.log
RewriteLogLevel 0




#money.home

ServerName money.home
Include /etc/apache2/sites-available/www-common
RewriteRule ^/$ /akcmoney/app   [PT]



#webmail.home
ServerName  webmail.home
DirectoryIndex /cgi-bin/sqwebmail
Include /etc/apache2/sites-available/www-common




ServerName  www.chandlerfamily.org.uk

SSLEngine   on
#   SSLProtocol all
#   SSLCipherSuite  all

#   SSLCACertificateFile/etc/apache2/ssl/ca.crt
SSLCertificateFile  /etc/apache2/ssl/server.crt
SSLCertificateKeyFile   /etc/apache2/ssl/server.key


Include /etc/apache2/sites-available/www-common
RewriteRule ^/$ /blog/app   [PT]


SSLSessionCache dbm:/var/cache/apache2/SSLSessionCache
SSLSessionCacheTimeout 600

--

As you can see, www-common is included as it contains all the key
directives for the site. Here is key part of it
-

DocumentRoot /var/www/chandlerfamily

# define which URLs get passed to tomcat
JkMount /blog/* tomcat
JkMount /akcmoney/* tomcat
JkMount /moneydemo/* tomcat
JkMount /usermgr/* tomcat
JkMount /famtree/* tomcat

RewriteEngine   on
#   Force clients from the Internet to use HTTPS
RewriteCond %{REMOTE_ADDR} !^192\.168\.0\.2[1-6]$
RewriteCond %{HTTPS} !=on
RewriteRule ^/akcmoney/.* - [F]

RewriteCond %{REMOTE_ADDR} !^192\.168\.0\.2[0-6]$
RewriteRule ^/manager/.* - [F]

RewriteCond %{REMOTE_ADDR} !^192\.168\.0\.2[0-6]$
RewriteCond %{HTTPS} !=on
RewriteRule ^/files/secure/.* - [F]

# Break this file up by security Areas
#[SECURITY] Open


Order   allow,deny
Allow   from all
Options FollowSymLinks MultiViews


# Protect underlying git repository from access

Order   deny,allow
Denyfrom all


   CustomLog /var/log/apache2/www.log simple



--
Alan Chandler
http://www.chandlerfamily.org.uk


-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Questions regarding logging

2007-08-27 Thread Fought, Richard

I added %D to my log files and I have some pages that are taking quite a
long time to serve up (on the order of seconds).  Two questions:

1. What exactly are the start and stop points that Apache uses when
computing the time to serve up the page (%D)?  I assume they are at the
interface between Apache and the OS networking stack.

2. In the logs, is the request timestamp from the beginning or the end
of the request?

Thanks,
Rich

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] configuring SSL

2007-08-27 Thread Brian Munroe
On 8/26/07, Galaxy Virus <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> To get private key and certificate, I did,
>
> $ openssl req -new -x509 -newkey rsa:2048 -out host_req.pem -keyout
> host_key.pem
>
> And I sent certificate (host_req.pem) to CA in order to get real certificate
> and they sent me back the singed certificate.
>
> From there, I dont know how to configure this certificate and key in apache.

Assuming you are using a stock Apache 2.0.

in $APACHE_HOME/conf, there should be a httpd.conf file, Open it and
make sure there is the following line somewhere near the top:

LoadModule ssl_module modules/mod_ssl.so

In $APACHE_HOME/conf, there should also be a ssl.conf file.  Open it
and find the two lines:

   SSLCertificateFile/path/to/this/server.crt
   SSLCertificateKeyFile /path/to/this/server.key

Change the SSLCertificateFile entry to point to signed certificate you
got from the CA.  I like to put a *.crt on the end of these files.

Change the SSLCertificateKeyFile entry to point to your signing key,
which in you example above is host_key.perm.

Now start apache with SSL by issuing:

$ apachectl startssl

That is the very basics - I assumed you had the default install, so if
your configuration varies much, this may not work for you.

-- brian

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] mod_rewrite or mod_access

2007-08-27 Thread Vincent Bray
On 26/08/07, Jack Stone <[EMAIL PROTECTED]> wrote:
> >From: "Vincent Bray" <[EMAIL PROTECTED]>
> >RewriteEngine On
> >RewriteCond %{REMOTE_ADDR} !^trusted.host.pattern$
> >RewriteRule ^/_vti - [F]

> Thanks for those suggestions. Used the mod_rewrite one and seems to be doing
> the trick. The use of Frontpage attempts doesn't happen very often and so
> hard to test, except I see searches now getting 403s (forbidden) and I can
> load up from my trusted IP without any problem.

I should add to this another non-rewrite option (it's a habit to avoid
rewrite whenever possible, not because there's anything wrong with it,
but because there are more specialised options).


 Order allow,deny
 Allow from trusted.host.com


This does the same thing, and should be quicker. Using mod_rewrite
here is only necessary when you need to see stuff like the query
string, or other non-uri-ref request attributes.

-- 
noodl
PS. Your hotmail account appears to be full.

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 log.

--- Steve Swift <[EMAIL PROTECTED]> escribió:

> I'm no expert on logging, but the "CustomLog"
> statement seems to be all you
> need for apache to create the corresponding log at
> startup.
> 
> However, to actually add some lines, it would need
> to use your "common"
> LogFormat... Perhaps you have some flaw in the
> LogFormat that is preventing
> it from working?
> 
> What's in your "Logformat ... common" line?
> 
> -- 
> Steve Swift
> http://www.swiftys.org.uk
> 



  

¡Sé un mejor besador!
Comparte todo lo que sabes sobre besos.  
http://mx.yahoo.com/promos/mejorbesador.html

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 size...

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 log.

Thanks in advance.

--- Ken Zhao <[EMAIL PROTECTED]> escribió:

> Did u erase the access_log file for specific virtual
> host or root access_log
> file? could u post ur screenshot or textinfo on ur
> VirtualHost directive?
> 
> On 8/25/07, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> >
> > 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 and then restart
> apache,
> > access_log file is created again but no matter how
> > many files I request (and show in my browser)
> nothing
> > is being registered in access file. The size is
> always
> > 0 
> >
> > have tried: chmod 777 access_log, but no
> results...
> >
> > Does anybody has some suggestions about how to
> solve
> > this issue?
> >
> > Can this access_log be bypassed by mod_jk o
> mod_php in
> > some way?
> >
> > thanks in advance.
> >
> >
> >
> >
> >
> >
>

> > ¡Sé un mejor fotógrafo!
> > Perfecciona tu técnica y encuentra las mejores
> fotos.
> > http://mx.yahoo.com/promos/mejorfotografo.html
> >
> >
>
-
> > 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, e-mail:
> [EMAIL PROTECTED]
> >   "   from the digest:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> http://islab.org
> 



  

¡Sé un mejor asador!
Aprende todo sobre asados.  
http://mx.yahoo.com/promos/mejorasador.html

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Questions regarding logging

2007-08-27 Thread Jeff Peng

 Original-Nachricht 
> Datum: Mon, 27 Aug 2007 09:15:31 -0400
> Von: "Fought, Richard" <[EMAIL PROTECTED]>
> An: users@httpd.apache.org
> Betreff: [EMAIL PROTECTED] Questions regarding logging

> 
> 2. In the logs, is the request timestamp from the beginning or the end
> of the request?
> 

>From what I know (from apache API),after apache child finish to server the 
>full request,logs were written.But this is maybe not right for status 206.

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] mod_rewrite or mod_access

2007-08-27 Thread Jeff Peng

 Original-Nachricht 
> Datum: Mon, 27 Aug 2007 21:12:32 +0700
> Von: "Vincent Bray" <[EMAIL PROTECTED]>
> 
> Using mod_rewrite
> here is only necessary when you need to see stuff like the query
> string, or other non-uri-ref request attributes.
> 

Agree with that.:)
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Questions regarding logging

2007-08-27 Thread Joshua Slive
On 8/27/07, Fought, Richard <[EMAIL PROTECTED]> wrote:
>
> I added %D to my log files and I have some pages that are taking quite a
> long time to serve up (on the order of seconds).  Two questions:
>
> 1. What exactly are the start and stop points that Apache uses when
> computing the time to serve up the page (%D)?  I assume they are at the
> interface between Apache and the OS networking stack.
>
> 2. In the logs, is the request timestamp from the beginning or the end
> of the request?

The timestamp (as the docs say) is from when the request is received
(the beginning). %D measures the distance between this time and the
time the log is written.

Joshua.

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] AccessLog isn't logging

2007-08-27 Thread Jeff Peng

 Original-Nachricht 
> Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT)
> Von: [EMAIL PROTECTED]
> An: users@httpd.apache.org
> Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t logging

> I actually renamed old access_log into access_log.bk
> because it was pretty large. Then, I created a new
> access_log file 

This is not good way for rotate log files.You may do,
cp -f access_log access_log.0 # if you need the backup
echo -n > access_log


> The file is always 0 byte size...
> 

Have you enabled apache logging in httpd.conf?Such a line like:
CustomLog logs/access_log common

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED]

2007-08-27 Thread Coulter, Ryan
Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as
well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
1.3, I don't have the problem. I have been researching the problem for
several days, but can not find any issue that describes the behavior I¹m
seeing. The problem is as follows:

I request index.html from the webserver and receive it properly in my
browser. I then log onto the server, edit the file with vi, save it and
exit. Then I return to my browser and request index.html again and it
appears as though nothing has changed. My edit does not show up. Sometimes,
after making an edit, I try to open the page in my browser and receive a
message that the browser couldn't reach the server.

In trying to track down the problem, I have discovered that, first, the web
server is not crashing. It is also receiving and logging the GET request for
the page. When it logs the request, it logs a 200 OK and the correct *new*
file size. I then performed an experiment using wget to request index.html.
On the first request, I receive the correct version. After editing
index.html on the server and adding a large number of characters, I submit
the request with wget again and receive an error saying "No data received."
After a few minutes, the requests begin to work again and I receive the
correct, new version. After editing the file again and removing any number
of characters, I make the request again and receive a file of the correct,
new size. However, the contents of the file when opened still contain the
removed characters, and the file itself is truncated by the same number of
characters I had removed.

My initial thoughts were that the problem had to do with memory caching or
disk caching in Apache, but I have confirmed that those modules are not
loaded. No caching is enabled. Also, no errors are logged. Stopping and
starting Apache makes no difference. I can even completely remove and
reinstall the Apache files, including the document root, and upon starting
up Apache, it will continue for several minutes with this behavior. In every
case, eventually, after several minutes, the correct, new file will be
delivered properly.

Over the weekend I tested the configuration on both Linux and OS X, and did
not have any problems. One other test I performed before the weekend went as
follows:

I had just edited the file index.html and confirmed that Apache was not
sending it correctly. I went on the AIX server, shut down Apache, completely
removed the server root, including the document root where index.html was
stored. Took the time to compile a brand new copy of 2.2.4 ensuring that all
the caching options were disabled. Installed the new version and configured
it. Copied a new index.html into the document root and started the server.
All of this took 30 to 45 minutes, and when I first requested the page with
wget, I received the same broken file I had last received from the Apache
process I had shutdown earlier. After a 3 or 4 minutes went past, the server
started serving the new index.html correctly.

This is happening on more than one AIX server. I am really confused. Has
anyone seen anything like this? Am I missing something in AIX? I appreciate
everyone's help.

Regards,
Ryan Coulter



The information included in this e-mail message, including any attachments, is 
intended only for the person or organization to which it is addressed. This 
e-mail message may contain information that is privileged or confidential. If 
you receive this e-mail message and are not the intended recipient or 
responsible for delivering the message to the intended recipient, you may not 
use, disseminate, distribute or copy the information included in this e-mail 
and any attachments. If you received this e-mail message by mistake, please 
reply by e-mail and destroy all copies of this message and any attachments. 
Thank you.

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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-Nachricht 
> > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT)
> > Von: [EMAIL PROTECTED]
> > An: users@httpd.apache.org
> > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t
> logging
> 
> > I actually renamed old access_log into
> access_log.bk
> > because it was pretty large. Then, I created a new
> > access_log file 
> 
> This is not good way for rotate log files.You may
> do,
> cp -f access_log access_log.0 # if you need the
> backup
> echo -n > access_log
> 
> 
> > The file is always 0 byte size...
> > 
> 
> Have you enabled apache logging in httpd.conf?Such a
> line like:
> CustomLog logs/access_log common
> 
> -- 
> GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10
> Free SMS.
> Alle Infos und kostenlose Anmeldung:
> http://www.gmx.net/de/go/freemail
> 
>
-
> 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, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  

¡Sé un mejor besador!
Comparte todo lo que sabes sobre besos.  
http://mx.yahoo.com/promos/mejorbesador.html

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3

2007-08-27 Thread Coulter, Ryan
(My apologies for sending this earlier with no subject.)

Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as
well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
1.3, I don't have the problem. I have been researching the problem for
several days, but can not find any issue that describes the behavior I¹m
seeing. The problem is as follows:

I request index.html from the webserver and receive it properly in my
browser. I then log onto the server, edit the file with vi, save it and
exit. Then I return to my browser and request index.html again and it
appears as though nothing has changed. My edit does not show up. Sometimes,
after making an edit, I try to open the page in my browser and receive a
message that the browser couldn't reach the server.

In trying to track down the problem, I have discovered that, first, the web
server is not crashing. It is also receiving and logging the GET request for
the page. When it logs the request, it logs a 200 OK and the correct *new*
file size. I then performed an experiment using wget to request index.html.
On the first request, I receive the correct version. After editing
index.html on the server and adding a large number of characters, I submit
the request with wget again and receive an error saying "No data received."
After a few minutes, the requests begin to work again and I receive the
correct, new version. After editing the file again and removing any number
of characters, I make the request again and receive a file of the correct,
new size. However, the contents of the file when opened still contain the
removed characters, and the file itself is truncated by the same number of
characters I had removed.

My initial thoughts were that the problem had to do with memory caching or
disk caching in Apache, but I have confirmed that those modules are not
loaded. No caching is enabled. Also, no errors are logged. Stopping and
starting Apache makes no difference. I can even completely remove and
reinstall the Apache files, including the document root, and upon starting
up Apache, it will continue for several minutes with this behavior. In every
case, eventually, after several minutes, the correct, new file will be
delivered properly.

Over the weekend I tested the configuration on both Linux and OS X, and did
not have any problems. One other test I performed before the weekend went as
follows:

I had just edited the file index.html and confirmed that Apache was not
sending it correctly. I went on the AIX server, shut down Apache, completely
removed the server root, including the document root where index.html was
stored. Took the time to compile a brand new copy of 2.2.4 ensuring that all
the caching options were disabled. Installed the new version and configured
it. Copied a new index.html into the document root and started the server.
All of this took 30 to 45 minutes, and when I first requested the page with
wget, I received the same broken file I had last received from the Apache
process I had shutdown earlier. After a 3 or 4 minutes went past, the server
started serving the new index.html correctly.

This is happening on more than one AIX server. I am really confused. Has
anyone seen anything like this? Am I missing something in AIX? I appreciate
everyone's help.

Regards,
Ryan Coulter




The information included in this e-mail message, including any attachments, is 
intended only for the person or organization to which it is addressed. This 
e-mail message may contain information that is privileged or confidential. If 
you receive this e-mail message and are not the intended recipient or 
responsible for delivering the message to the intended recipient, you may not 
use, disseminate, distribute or copy the information included in this e-mail 
and any attachments. If you received this e-mail message by mistake, please 
reply by e-mail and destroy all copies of this message and any attachments. 
Thank you.



Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3

2007-08-27 Thread Eric Covener
On 8/27/07, Coulter, Ryan <[EMAIL PROTECTED]> wrote:
>
>  (My apologies for sending this earlier with no subject.)
>
>  Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
>  5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as
>  well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
>  1.3, I don't have the problem. I have been researching the problem for
>  several days, but can not find any issue that describes the behavior I'm
>  seeing. The problem is as follows:
>
>  I request index.html from the webserver and receive it properly in my
>  browser. I then log onto the server, edit the file with vi, save it and
>  exit. Then I return to my browser and request index.html again and it
>  appears as though nothing has changed. My edit does not show up. Sometimes,
>  after making an edit, I try to open the page in my browser and receive a
>  message that the browser couldn't reach the server.

Try disabling sendfile (EnableSendfile off) or asking AIX support what
it takes (apar-wise) to get AIX to recognize a change in the
filesystem when sendfile is enabled.

-- 
Eric Covener
[EMAIL PROTECTED]

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3

2007-08-27 Thread Coulter, Ryan
Thank you, Eric. I had tried this in my experiments as well, without much
luck. However, your comment led me to a page
(http://publib.boulder.ibm.com/httpserv/ihsdiag/questions.html) which
described the network buffer cache in AIX and its association with AIX's
send_file routine. What is baffling me now is that setting "EnableSendfile
off" does nothing to alleviate the problem, but if I set the network buffer
cache size to 0 (no -o nbc_limit=0), the problem goes away. I consequently
tried setting it to 0, setting "EnableSendfile off", restarting Apache and
then setting nbc_limit back to its previous setting. The problem returned,
even with EnableSendfile turned off. As long as the network buffer cache is
set to 0, I don't have any problems.

So, at least I now know what seems to be the general source of the problem,
but does anyone know how to correct the behavior of EnableSendfile?
According to the page referenced above for IHS, this directive should
prevent Apache from using send_file and consequently prevent any static file
from being added to the network buffer cache. But that doesn't seem to be
the case in my experience today.

Any other thoughts?

Ryan Coulter


> From: Eric Covener <[EMAIL PROTECTED]>
> Reply-To: 
> Date: Mon, 27 Aug 2007 11:41:27 -0400
> To: 
> Subject: Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
> 
> On 8/27/07, Coulter, Ryan <[EMAIL PROTECTED]> wrote:
>> 
>>  (My apologies for sending this earlier with no subject.)
>> 
>>  Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
>>  5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as
>>  well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
>>  1.3, I don't have the problem. I have been researching the problem for
>>  several days, but can not find any issue that describes the behavior I'm
>>  seeing. The problem is as follows:
>> 
>>  I request index.html from the webserver and receive it properly in my
>>  browser. I then log onto the server, edit the file with vi, save it and
>>  exit. Then I return to my browser and request index.html again and it
>>  appears as though nothing has changed. My edit does not show up. Sometimes,
>>  after making an edit, I try to open the page in my browser and receive a
>>  message that the browser couldn't reach the server.
> 
> Try disabling sendfile (EnableSendfile off) or asking AIX support what
> it takes (apar-wise) to get AIX to recognize a change in the
> filesystem when sendfile is enabled.
> 
> -- 
> Eric Covener
> [EMAIL PROTECTED]
> 
> -
> 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, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



The information included in this e-mail message, including any attachments, is 
intended only for the person or organization to which it is addressed. This 
e-mail message may contain information that is privileged or confidential. If 
you receive this e-mail message and are not the intended recipient or 
responsible for delivering the message to the intended recipient, you may not 
use, disseminate, distribute or copy the information included in this e-mail 
and any attachments. If you received this e-mail message by mistake, please 
reply by e-mail and destroy all copies of this message and any attachments. 
Thank you.

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3

2007-08-27 Thread Coulter, Ryan
I spoke too soon about "EnableSendfile off" not working. Upon creating a new
file to request, and having set the NBC back to it original size, the new
file is not exhibiting the problem, and it would appear that it is not being
added to the network buffer cache. The old file is still cached somehow, and
I will have to address that problem when necessary (a server reboot at the
very least, should resolve it).

So, Apache 2 on AIX 5.3 seems to require the "EnableSendfile off" directive,
and this should be done during the initial configuration, prior to starting
Apache the first time.

Does anyone have anything else to add?

Thanks again,
Ryan


> From: "Coulter, Ryan" <[EMAIL PROTECTED]>
> Reply-To: 
> Date: Mon, 27 Aug 2007 12:03:45 -0500
> To: 
> Conversation: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
> Subject: Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
> 
> Thank you, Eric. I had tried this in my experiments as well, without much
> luck. However, your comment led me to a page
> (http://publib.boulder.ibm.com/httpserv/ihsdiag/questions.html) which
> described the network buffer cache in AIX and its association with AIX's
> send_file routine. What is baffling me now is that setting "EnableSendfile
> off" does nothing to alleviate the problem, but if I set the network buffer
> cache size to 0 (no -o nbc_limit=0), the problem goes away. I consequently
> tried setting it to 0, setting "EnableSendfile off", restarting Apache and
> then setting nbc_limit back to its previous setting. The problem returned,
> even with EnableSendfile turned off. As long as the network buffer cache is
> set to 0, I don't have any problems.
> 
> So, at least I now know what seems to be the general source of the problem,
> but does anyone know how to correct the behavior of EnableSendfile?
> According to the page referenced above for IHS, this directive should
> prevent Apache from using send_file and consequently prevent any static file
> from being added to the network buffer cache. But that doesn't seem to be
> the case in my experience today.
> 
> Any other thoughts?
> 
> Ryan Coulter
> 
> 
>> From: Eric Covener <[EMAIL PROTECTED]>
>> Reply-To: 
>> Date: Mon, 27 Aug 2007 11:41:27 -0400
>> To: 
>> Subject: Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3
>> 
>> On 8/27/07, Coulter, Ryan <[EMAIL PROTECTED]> wrote:
>>> 
>>>  (My apologies for sending this earlier with no subject.)
>>> 
>>>  Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
>>>  5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as
>>>  well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
>>>  1.3, I don't have the problem. I have been researching the problem for
>>>  several days, but can not find any issue that describes the behavior I'm
>>>  seeing. The problem is as follows:
>>> 
>>>  I request index.html from the webserver and receive it properly in my
>>>  browser. I then log onto the server, edit the file with vi, save it and
>>>  exit. Then I return to my browser and request index.html again and it
>>>  appears as though nothing has changed. My edit does not show up. Sometimes,
>>>  after making an edit, I try to open the page in my browser and receive a
>>>  message that the browser couldn't reach the server.
>> 
>> Try disabling sendfile (EnableSendfile off) or asking AIX support what
>> it takes (apar-wise) to get AIX to recognize a change in the
>> filesystem when sendfile is enabled.
>> 
>> -- 
>> Eric Covener
>> [EMAIL PROTECTED]
>> 
>> -
>> 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, e-mail: [EMAIL PROTECTED]
>>"   from the digest: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> 
> 
> The information included in this e-mail message, including any attachments, is
> intended only for the person or organization to which it is addressed. This
> e-mail message may contain information that is privileged or confidential. If
> you receive this e-mail message and are not the intended recipient or
> responsible for delivering the message to the intended recipient, you may not
> use, disseminate, distribute or copy the information included in this e-mail
> and any attachments. If you received this e-mail message by mistake, please
> reply by e-mail and destroy all copies of this message and any attachments.
> Thank you.
> 
> -
> 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, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



The information included in this e-mail message, including any attac

Re: [EMAIL PROTECTED] Changes get lost - was

2007-08-27 Thread Doug McNutt
At 10:01 -0500 8/27/07, Coulter, Ryan wrote, and I snipped:
>I request index.html from the webserver and receive it properly in my
>browser. I then log onto the server, edit the file with vi, save it and
>exit. Then I return to my browser and request index.html again and it
>appears as though nothing has changed. My edit does not show up. Sometimes,
>after making an edit, I try to open the page in my browser and receive a
>message that the browser couldn't reach the server.

>My initial thoughts were that the problem had to do with memory caching or
>disk caching in Apache, but I have confirmed that those modules are not
>loaded. No caching is enabled.

Are you quite sure that it's not local cashing in browsers that's not creating 
the appearance of a problem that's not there?  "Can't reach the server" has to 
be something unrelated unless your vi edit changed permissions. Are you 
connecting through a corporate proxy machine?
-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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. =(

Any help?

Thank you.

--- [EMAIL PROTECTED] escribió:

> 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-Nachricht 
> > > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT)
> > > Von: [EMAIL PROTECTED]
> > > An: users@httpd.apache.org
> > > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t
> > logging
> > 
> > > I actually renamed old access_log into
> > access_log.bk
> > > because it was pretty large. Then, I created a
> new
> > > access_log file 
> > 
> > This is not good way for rotate log files.You may
> > do,
> > cp -f access_log access_log.0 # if you need the
> > backup
> > echo -n > access_log
> > 
> > 
> > > The file is always 0 byte size...
> > > 
> > 
> > Have you enabled apache logging in httpd.conf?Such
> a
> > line like:
> > CustomLog logs/access_log common
> > 
> > -- 
> > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10
> > Free SMS.
> > Alle Infos und kostenlose Anmeldung:
> > http://www.gmx.net/de/go/freemail
> > 
> >
>
-
> > 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, e-mail:
> > [EMAIL PROTECTED]
> >"   from the digest:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>  
>

> ¡Sé un mejor besador!
> Comparte todo lo que sabes sobre besos. 
> 
> http://mx.yahoo.com/promos/mejorbesador.html
> 
>
-
> 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, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  

¡Sé un mejor fotógrafo!
Perfecciona tu técnica y encuentra las mejores fotos.   
http://mx.yahoo.com/promos/mejorfotografo.html

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Steve R Burrus

  - Original Message - 
  From: Steve R Burrus 
  To: users@httpd.apache.org 
  Sent: Sunday, August 26, 2007 3:48 PM
  Subject: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.


  Hi all. I need help ( again ) with trying to integrate PHP with the Apache 
Web Server. I don't know how many times before I have had to seek assistance 
with doing this, but I still DO NOT know how to let's say easily do this!! I am 
working with PHP Version : 5.2.4.4 and the Apache Version : 2.2.4.

Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Craig Huffstetler
Can you please provide us with your operating system information and what
you have done thus far to attempt to correct this?

On 8/27/07, Steve R Burrus <[EMAIL PROTECTED]> wrote:
>
>
>
> - Original Message -
> *From:* Steve R Burrus <[EMAIL PROTECTED]>
> *To:* users@httpd.apache.org
> *Sent:* Sunday, August 26, 2007 3:48 PM
> *Subject:* [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.
>
> Hi all. I need help ( again ) with trying to integrate PHP with the Apache
> Web Server. I don't know how many times before I have had to seek assistance
> with doing this, but I still DO NOT know how to let's say easily do this!! I
> am working with PHP Version : 5.2.4.4 and the Apache Version : 2.2.4.
>
>


Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Eric Covener
On 8/27/07, Steve R Burrus <[EMAIL PROTECTED]> wrote:
> Hi all. I need help ( again ) with trying to integrate PHP with the Apache
> Web Server. I don't know how many times before I have had to seek assistance
> with doing this, but I still DO NOT know how to let's say easily do this!! I
> am working with PHP Version : 5.2.4.4 and the Apache Version : 2.2.4.

http://catb.org/~esr/faqs/smart-questions.html#before

(you were given some advice in first thread, which is only a day old)

-- 
Eric Covener
[EMAIL PROTECTED]

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Steve R Burrus
well actually the only "advice" which I got/received yesterday was from 
someone asking me what OS I was trying to do the PHP-Apache Server 
integration on and what was the purpose of the integration. And that was the 
* only * response which I have received so far, thus my Repost earlier today 
(which I will apologize for if you might want me to).


- Original Message - 
From: "Eric Covener" <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 27, 2007 4:00 PM
Subject: Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP 
and Apache.




On 8/27/07, Steve R Burrus <[EMAIL PROTECTED]> wrote:
Hi all. I need help ( again ) with trying to integrate PHP with the 
Apache
Web Server. I don't know how many times before I have had to seek 
assistance
with doing this, but I still DO NOT know how to let's say easily do 
this!! I

am working with PHP Version : 5.2.4.4 and the Apache Version : 2.2.4.


http://catb.org/~esr/faqs/smart-questions.html#before

(you were given some advice in first thread, which is only a day old)

--
Eric Covener
[EMAIL PROTECTED]

-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Craig Huffstetler
Steve,

Either way -- keep it in one thread and do not repost. Moving on to your
actual discussion and the reason you are posting

Are you going to provide us with the operating system and what you have done
thus far? This will help us further trouble shoot the issue.

On 8/27/07, Steve R Burrus <[EMAIL PROTECTED]> wrote:
>
> well actually the only "advice" which I got/received yesterday was from
> someone asking me what OS I was trying to do the PHP-Apache Server
> integration on and what was the purpose of the integration. And that was
> the
> * only * response which I have received so far, thus my Repost earlier
> today
> (which I will apologize for if you might want me to).
>
> - Original Message -
> From: "Eric Covener" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, August 27, 2007 4:00 PM
> Subject: Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. 
> PHP
> and Apache.
>
>
> > On 8/27/07, Steve R Burrus <[EMAIL PROTECTED]> wrote:
> >> Hi all. I need help ( again ) with trying to integrate PHP with the
> >> Apache
> >> Web Server. I don't know how many times before I have had to seek
> >> assistance
> >> with doing this, but I still DO NOT know how to let's say easily do
> >> this!! I
> >> am working with PHP Version : 5.2.4.4 and the Apache Version : 2.2.4.
> >
> > http://catb.org/~esr/faqs/smart-questions.html#before
> >
> > (you were given some advice in first thread, which is only a day old)
> >
> > --
> > Eric Covener
> > [EMAIL PROTECTED]
> >
> > -
> > 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, e-mail: [EMAIL PROTECTED]
> >   "   from the digest: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> -
> 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, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Dragon

Steve R Burrus wrote:
well actually the only "advice" which I got/received yesterday was 
from someone asking me what OS I was trying to do the PHP-Apache 
Server integration on and what was the purpose of the integration. 
And that was the * only * response which I have received so far, 
thus my Repost earlier today (which I will apologize for if you 
might want me to).

 End original message. -

I think you are missing the point. People will be MUCH more inclined 
to help you if YOU do some work up front. It helps if you do some due 
diligence by searching for the answers you need as well as reading 
whatever documentation is applicable. As the saying goes RTFM. If 
after doing so, you still have a problem, then it is time to ask a question.


You should tell us exactly what you are trying to do, what OS, what 
versions of software, is it from source or a binary package, and you 
should tell us precisely what you have done to attempt to resolve the 
problem. Posting a relevant portion of your httpd.conf is often very 
helpful and may get you a precise answer very quickly.


This is NOT a help line where you can demand that people give you an 
answer, nobody here is being paid to support you. This list is a 
community of users who may or may not know the answer you seek. Even 
if somebody does know the answer, if you don't ask the question in a 
meaningful, understandable manner or if the person is not immediately 
available to respond, you may not get an answer.


Reposting the next day with the exact same question is not going to 
change anything, well, maybe it will, it will change (usually 
negatively) the attitude of people who might be inclined to help otherwise.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Steve R Burrus
All that I have tried to do was to integrate the PHP scripting language with 
the Apache Server, i.e., be able to view PHP files with the help of Apache. 
And my OS is Win XP Pro.
- Original Message - 
From: "Dragon" <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 27, 2007 4:43 PM
Subject: Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP 
and Apache.




Steve R Burrus wrote:
well actually the only "advice" which I got/received yesterday was from 
someone asking me what OS I was trying to do the PHP-Apache Server 
integration on and what was the purpose of the integration. And that was 
the * only * response which I have received so far, thus my Repost earlier 
today (which I will apologize for if you might want me to).

 End original message. -

I think you are missing the point. People will be MUCH more inclined to 
help you if YOU do some work up front. It helps if you do some due 
diligence by searching for the answers you need as well as reading 
whatever documentation is applicable. As the saying goes RTFM. If after 
doing so, you still have a problem, then it is time to ask a question.


You should tell us exactly what you are trying to do, what OS, what 
versions of software, is it from source or a binary package, and you 
should tell us precisely what you have done to attempt to resolve the 
problem. Posting a relevant portion of your httpd.conf is often very 
helpful and may get you a precise answer very quickly.


This is NOT a help line where you can demand that people give you an 
answer, nobody here is being paid to support you. This list is a community 
of users who may or may not know the answer you seek. Even if somebody 
does know the answer, if you don't ask the question in a meaningful, 
understandable manner or if the person is not immediately available to 
respond, you may not get an answer.


Reposting the next day with the exact same question is not going to change 
anything, well, maybe it will, it will change (usually negatively) the 
attitude of people who might be inclined to help otherwise.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Nick Kew
On Mon, 27 Aug 2007 18:20:57 -0500
"Steve R Burrus" <[EMAIL PROTECTED]> wrote:

> All that I have tried to do was to integrate the PHP scripting
> language with the Apache Server, i.e., be able to view PHP files with
> the help of Apache. And my OS is Win XP Pro.

If you're a geek, you ask meaningful questions here when you have
problems with your install.

Since you're evidently not, you should just install a pre-packaged
version such as provided by xampp or apachelounge.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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:
> 
> 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. =(
> 
> Any help?
> 
> Thank you.
> 
> --- [EMAIL PROTECTED] escribió:
> 
> > 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-Nachricht 
> > > > Datum: Mon, 27 Aug 2007 09:20:58 -0500 (CDT)
> > > > Von: [EMAIL PROTECTED]
> > > > An: users@httpd.apache.org
> > > > Betreff: Re: [EMAIL PROTECTED] AccessLog isn\'t
> > > logging
> > > 
> > > > I actually renamed old access_log into
> > > access_log.bk
> > > > because it was pretty large. Then, I created a
> > new
> > > > access_log file 
> > > 
> > > This is not good way for rotate log files.You
> may
> > > do,
> > > cp -f access_log access_log.0 # if you need the
> > > backup
> > > echo -n > access_log
> > > 
> > > 
> > > > The file is always 0 byte size...
> > > > 
> > > 
> > > Have you enabled apache logging in
> httpd.conf?Such
> > a
> > > line like:
> > > CustomLog logs/access_log common
> > > 
> > > -- 
> > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen,
> 10
> > > Free SMS.
> > > Alle Infos und kostenlose Anmeldung:
> > > http://www.gmx.net/de/go/freemail
> > > 
> > >
> >
>
-
> > > 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, e-mail:
> > > [EMAIL PROTECTED]
> > >"   from the digest:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > 
> > 
> >  
> >
>

> > ¡Sé un mejor besador!
> > Comparte todo lo que sabes sobre besos.   
>  
> > 
> > http://mx.yahoo.com/promos/mejorbesador.html
> > 
> >
>
-
> > 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, e-mail:
> > [EMAIL PROTECTED]
> >"   from the digest:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>  
>

> ¡Sé un mejor fotógrafo!
> Perfecciona tu técnica y encuentra las mejores
> fotos.   
> http://mx.yahoo.com/promos/mejorfotografo.html
> 
>
-
> 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, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  

¡Sé un mejor asador!
Aprende todo sobre asados.  
http://mx.yahoo.com/promos/mejorasador.html

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Question regarding mod_deflate and CGI output

2007-08-27 Thread Karl Denninger

Hi folks;

I am attempting to use mod_deflate to compress ONLY text output files 
(since "compressing" images is a waste, natch)


I have the following in my httpd.conf file:

#
# Deflate text if the user's browser can handle it
#
AddOutputFilterByType   DEFLATE text/html text/plain text/xml 
DeflateFilterNote Input instream

DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog /var/log/httpd.deflate_log deflate

Which, for static sites, works fine.

However, I have a site which is entirely built by a CGI program.  That 
program returns a proper "Content-Type:" header; some content is 
text/html, some might be text/xml, some might be image/gif, some might 
be image/jpeg, etc.


Well, it appears that Apache isn't actually looking at those headers, 
and the deflate filter is "compressing" all output - including the stuff 
that can't be compressed!


While this isn't a huge deal (it just doesn't get any smaller) it is 
hitting my CPU pretty hard.


Here's an example from the deflate log file:

"GET /cgi-ticker/akcs-www HTTP/1.1" 6466/21060 (30%)
"GET /cgi-ticker/akcs-www?getavatar=foxymoron HTTP/1.1" 8459/8696 (97%)
"GET /smilies/money.gif HTTP/1.1" 207/202 (102%)

First line, good, second not so good (that's a JPEG file!) and the 
third, NO NO NO NO!


How come, given that I specified the types I wanted to be "deflated" above?

--
Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




%SPAMBLOCK-SYS: Matched [apache.org], message ok

-
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, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Question regarding mod_deflate and CGI output

2007-08-27 Thread Joshua Slive
On 8/27/07, Karl Denninger <[EMAIL PROTECTED]> wrote:

> However, I have a site which is entirely built by a CGI program.  That
> program returns a proper "Content-Type:" header; some content is
> text/html, some might be text/xml, some might be image/gif, some might
> be image/jpeg, etc.

AddOutputFilterByType doesn't work reliably under these circumstances.
Use mod_filter instead:
http://httpd.apache.org/docs/2.2/mod/mod_filter.html

Joshua.

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Question regarding mod_deflate and CGI output

2007-08-27 Thread Karl Denninger
Attempted that its not obvious how to get the correct syntax to 
replace what I had there before (and is not in the examples)


Any hints?

Karl Denninger ([EMAIL PROTECTED])
http://www.denninger.net




Joshua Slive wrote:

On 8/27/07, Karl Denninger <[EMAIL PROTECTED]> wrote:

  

However, I have a site which is entirely built by a CGI program.  That
program returns a proper "Content-Type:" header; some content is
text/html, some might be text/xml, some might be image/gif, some might
be image/jpeg, etc.



AddOutputFilterByType doesn't work reliably under these circumstances.
Use mod_filter instead:
http://httpd.apache.org/docs/2.2/mod/mod_filter.html

Joshua.

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



%SPAMBLOCK-SYS: Matched [apache.org], message ok
  


Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Dragon

On Mon, August 27, 2007 16:20, Steve R Burrus wrote:
> All that I have tried to do was to integrate the PHP scripting language
> with
> the Apache Server, i.e., be able to view PHP files with the help of
> Apache.
> And my OS is Win XP Pro.
>

Please stop top-posting and trim your posts. It's rude and shows that you
do not care about clear communication. If you don't understand why, go
here and read this: http://www.faqs.org/rfcs/rfc1855.html

And also see this: http://www.river.com/users/share/etiquette/

If you are unable or unwilling to answer the qustions you have been asked
by other list members in an attempt to help you, then nobody here is going
to be willing or able to help you. Nobody can diagnose your problem
without relevant information.

Frankly, enabling PHP support on Windows is trivial and is fully
documented on the PHP web site at http://www.php.net/ in 23 different
languages. If you had done a search for "PHP installation windows" on
Google you would have found the page you need as the first page returned.

Follow the documentation link on the top of the PHP home page to get to
the installation procedure. Then RTFM. Be sure you use the correct DLL
file for the version of Apache you are using. This too is fully documented
on the PHP site.


-- 
~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Question regarding mod_deflate and CGI output

2007-08-27 Thread Karl Denninger

Joshua Slive wrote:

On 8/27/07, Karl Denninger <[EMAIL PROTECTED]> wrote:

  

However, I have a site which is entirely built by a CGI program.  That
program returns a proper "Content-Type:" header; some content is
text/html, some might be text/xml, some might be image/gif, some might
be image/jpeg, etc.



AddOutputFilterByType doesn't work reliably under these circumstances.
Use mod_filter instead:
http://httpd.apache.org/docs/2.2/mod/mod_filter.html

Joshua.

  
Please disregard my last reply - I think I figured it out... it appears 
to be doing the "right thing" now. thanks!


-- Karl



Re: [EMAIL PROTECTED] REPOST: [EMAIL PROTECTED] Need Help [Again] w. PHP and Apache.

2007-08-27 Thread Jeff Peng

 Original-Nachricht 
> Datum: Mon, 27 Aug 2007 14:56:09 -0500
> 
> 
>   Hi all. I need help ( again ) with trying to integrate PHP with the
> Apache Web Server. I don't know how many times before I have had to seek
> assistance with doing this, but I still DO NOT know how to let's say easily do
> this!! I am working with PHP Version : 5.2.4.4 and the Apache Version :
> 2.2.4.


Hmm,have you checked the message I've replied few days ago.
Just try a google you would find lots of useful info.

[snip]
This is really depend on what OS you are using.
I got the help documents just by google.

1)Installing Apache PHP and MySQL on windows:
http://www.php-mysql-tutorial.com/install-apache-php-mysql.php

2)how to install/compile Apache2, PHP5 and MySQL 4.1 on Linux:
http://www.kofler.cc/forum/forumthread.php?rootID=3571
[/snip]
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-
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, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]