[EMAIL PROTECTED] Compare between MPM=worker and MPM=event

2008-02-29 Thread Arnab Ganguly
Hi All,
This is a request for suggestion, at present I am using MPM=wroker on Rd-Hat
5.0.In my configuration file I have kept the KeepAlive param as
Off.Justwanted to know will it make it any difference if I use
MPM=event.

Also I wanted to know what aspects event mpm is better than
worker.Lookingforward for response.
Thanks in advance.
-A


Re: [EMAIL PROTECTED] Cofiguration of mod_ssl of Apache2.2.8(using with mod_proxy).

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 11:21 AM, Narendra Verma
<[EMAIL PROTECTED]> wrote:

> I am using apache2.2.8 and mod_proxy for connecting tomcat5.5.
>
> Here I am able to connect  by 'http' protocol. And its working fine.
>
> Now I need to send request by 'https' protocol, related to  mod_ssl.
>
> Can anybody help me for configuration of
> [Apache2.2.8+mod_proxy+mod_ssl+tomcat5.5]
>
> And which version of mod_ssl would be suitable for Apache2.2.8 because it is
> not given in Apache2.2.8.
>
> From where I can get mod_ssl.so that would be configured with Apache2.2.8 .

mod_ssl is included with all versions of apache since 2.0. How exactly
you configure it depends on how you have apache installed. If you are
using ProxyPass to connect to tomcat, then look at the SSLProxy*
directives.

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] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 3:48 PM, Vladimir Vanuukov <[EMAIL PROTECTED]> wrote:
>
>
>  Hi, I can't seem to figure out how to get a filter defined by
> ExtFilterDefine to filter the output of a cgi program (in this case
> CGIProxy). I've been hitting my head against a brick wall for a day now and
> i still can't get this to work.
>
>  I define the filter using
>  ExtFilterDefine vlads mode=output cmd="/bin/sed
> s/some_text/some_other_text/g"
>
>  Which appears at the very top of a site config file. Then inside of a
>  i have
>  SetOutputFilter vlads
>
>  I then define the cgi-bin using
> Alias /cgi-bin/ /usr/lib/cgi-bin/
>  
> SetOutputFilter vlads
>  AllowOverride None
>  SetHandler cgi-script
>  Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch +Indexes
>  Order allow,deny
>  Allow from all
>  
>
>  When i go to any other page on this site the filter works, however the
> output of the cgi scripts (CGProxy) goes through unfiltered. Any help would
> be great
>  There is nothing in the error log and nothign special in the access log
> either.

I don't see any particular problem with your setup.

Have you tried turning up the logging using ExtFilterOptions?
Have you tried activating using a  instead of ?

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] ErrorDocument not working for HTTP code 413

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 9:03 PM,  <[EMAIL PROTECTED]> wrote:
>
>  I am using httpd 2.2.4 with BEA Weblogic plug-in for Apache.
>  I have configured the ErrorDocument to handle HTTP return codes returned by
>  the app. I have set a MaxPostSize attribute on the WLS plug-in to limit the
>  file uploads.
>  When i simulate HTTP status 413 for large file uploads by doing a
>  multi/form-data post in my browser, though the plug-in/httpd seem to be
>  returning a HTTP code 413  as is seen in the access log, the ErrorDocument
>  that i have configured to handle this does not seem to kick in.
>  The ErrorDocument does work for other configured error codes which means my
>  webserver configuration is right.
>
>  Under what circumstances would  Apache httpd  not redirect the browser to
>  the page specified by ErrorDocument?
>
>  The entry in the access log appears as:
>
>   "POST
>  
> /xfer/xfer/Rendezvous/?cm=uf&id=c6ef4300-8675-4c00-b403-71e93284c845&sd=b36cd054c9b151be8d8b5a2b76215924&p=1&rp=&rpo=0&pg=1
>   HTTP/1.1"
>   413 277 "http://ra-dev.test.com/falcon/addFiles.jsp?p=1&rp=&rpo=0&pg=1";
>  "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12)
>  Gecko/20080201 Firefox/2.0.0.12"

Is the 413 returned because you exceed the LimitRequestSize configured
for apache?

If so, this may be one of those errors that deliberately doesn't
invoke custom ErrorDocuments. In the case of errors that may be
resource-exhausting attacks by clients, apache short-circuits the
normal error handling and returns a hard-coded message. This is
because it is considered unsafe to go forward with full request
processing when the server may be in a bad state due to resource
exhaustion.

I'd have to check the code to see if this explains your particular case.

See the paragraph near the bottom of
http://httpd.apache.org/docs/2.2/mod/core.html#errordocument

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]



[EMAIL PROTECTED] Missing proxy prefix

2008-02-29 Thread Andy Andy
here's what I have in the httpd.conf.  The url I used was 
http://apachemachine.com/r/rbs/RBSWebMgr.
 rbs/RBSWebMgr is the application sitting on the weblogic machine. When
the application appears, all the links inside the html page are missing
the /r in it so that they are just http://apachemachine.com/rbs/RBSWebMgr.  Do 
you have any idea?


LoadModule weblogic_module modules/mod_wl_22.so




WebLogicCluster machinename:14059

MatchExpression *.*




ProxyPass /r http://machinename:14059
ProxyPassReverse /r http://machinename:14059
_
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

Re: [EMAIL PROTECTED] ErrorDocument not working for HTTP code 413

2008-02-29 Thread Nils Jeppe



On Fri, 29 Feb 2008 [EMAIL PROTECTED] wrote:


I am using httpd 2.2.4 with BEA Weblogic plug-in for Apache.
I have configured the ErrorDocument to handle HTTP return codes returned by
the app. I have set a MaxPostSize attribute on the WLS plug-in to limit the
file uploads.
When i simulate HTTP status 413 for large file uploads by doing a
multi/form-data post in my browser, though the plug-in/httpd seem to be
returning a HTTP code 413  as is seen in the access log, the ErrorDocument
that i have configured to handle this does not seem to kick in.
The ErrorDocument does work for other configured error codes which means my
webserver configuration is right.


Does it work for other error codes returned by Bea, or did you test them 
"outside" the Weblogic application's mountpoint? I ask because we have a 
similar setup (with Apache 2.0.x) and during my trials, no return code 
returned from Bea whatsoever triggered the custom ErrorDocuments but it 
worked fine for all other situations.


I found a workaround, but it was not specific to any particular return 
code, and it is *quite* horrible, so I am interested to learn if your 
versions of Apache + Bea-Plugin are better behaved.


(The workaround was to put a reverseproxy in front of the main 
virtualhost, and activate ProxyErrorOverride for it so the reverse proxy 
can serve the custom error documents instead. It works, but... it's not a 
solution I am overly happy with.)


We did submit this as an issue to Bea, but unfortunately I never received 
any follow up information after they accepted the problem report. If it 
was indeed a bug with their plugin, and you use a very current version, 
they may have (more or less) fixed it.




Best wishes,
- Nils

-
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] ErrorDocument not working for HTTP code 413

2008-02-29 Thread Ramdas . Hegde

I am using httpd 2.2.4 with BEA Weblogic plug-in for Apache.
I have configured the ErrorDocument to handle HTTP return codes returned by
the app. I have set a MaxPostSize attribute on the WLS plug-in to limit the
file uploads.
When i simulate HTTP status 413 for large file uploads by doing a
multi/form-data post in my browser, though the plug-in/httpd seem to be
returning a HTTP code 413  as is seen in the access log, the ErrorDocument
that i have configured to handle this does not seem to kick in.
The ErrorDocument does work for other configured error codes which means my
webserver configuration is right.

Under what circumstances would  Apache httpd  not redirect the browser to
the page specified by ErrorDocument?

The entry in the access log appears as:

 "POST
/xfer/xfer/Rendezvous/?cm=uf&id=c6ef4300-8675-4c00-b403-71e93284c845&sd=b36cd054c9b151be8d8b5a2b76215924&p=1&rp=&rpo=0&pg=1
 HTTP/1.1"
 413 277 "http://ra-dev.test.com/falcon/addFiles.jsp?p=1&rp=&rpo=0&pg=1";
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12)
Gecko/20080201 Firefox/2.0.0.12"

Thanks

Ramdas


-
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] Using ExtFilterDefine to filter the output of a CGI command (Apache 2.2)

2008-02-29 Thread Vladimir Vanuukov
Hi, I can't seem to figure out how to get a filter defined by 
ExtFilterDefine to filter the output of a cgi program (in this case 
CGIProxy). I've been hitting my head against a brick wall for a day now 
and i still can't get this to work.


I define the filter using
/ExtFilterDefine vlads mode=output cmd="/bin/sed 
s/some_text/some_other_text/g"/


Which appears at the very top of a site config file. Then inside of a 
 i have

/SetOutputFilter vlads/

I then define the cgi-bin using
/   Alias /cgi-bin/ /usr/lib/cgi-bin/
   
  SetOutputFilter vlads
   AllowOverride None
   SetHandler cgi-script
   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch +Indexes
   Order allow,deny
   Allow from all
   
/
When i go to any other page on this site the filter works, however the 
output of the cgi scripts (CGProxy) goes through unfiltered. Any help 
would be great
There is nothing in the error log and nothign special in the access log 
either.

Thanks


RE: [EMAIL PROTECTED] Reverve proxy configuration & cookies ?

2008-02-29 Thread xavier.lahaut

Thanks a lot!
It sounds effectively to be the solution.

Regards.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive
Sent: vendredi 29 février 2008 17:28
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Reverve proxy configuration & cookies ?

On Fri, Feb 29, 2008 at 11:23 AM,  <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  I'm completely new to apache reverse proxy configuration, and I've 
> got a  problem to use HttpSession throught my client/server 
> application  Client application : Java/swing application with the 
> jakarta librarie  HttpClient to communicate with the server  Server 
> application : HttpServlet runing under tomcat-5.5.25 at context  
> '/mycontext/backOffice'
>  Apache reverse proxy configuration :
> 
> ProxyRequests Off
> ProxyPass /backOffice
>  http://my-tomcat:8080/mycontext/backOffice
> ProxyPassReverse /backOffice  
> http://my-tomcat:8080/mycontext/backOffice
> ProxyPreserveHost On
> 
>
>  The problem is that once a client has created a new session with a 
> first  request, the second request produces this log error :
>  2008-02-29 14:49:05,597 WARN  httpclient.HttpMethodBase - Cookie
>  rejected: "$Version=0; JSESSIONID=BC07C2C3D44BB07E5B052DAAE9D5F56E;
>  $Path=/mycontext". Illegal path attribute "/mycontext". Path of origin:
>  "/backOffice
>
>  Do I miss something in the reverse proxy configuration, or is it  
> something else ???
>  For information, the client & server communicate without any problem  
> when using the server's internal url...

I'm not an expert in this stuff, but it sounds like you need 
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiedomain
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiepath
(Your life would be easier if you kept the paths the same on the front and 
back-end servers.)

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]


Pour connaître nos solutions et services, visitez 
http://www.ic.lu

To learn about our services and solutions, please visit:
http://www.ic.lu 

This E-mail is confidential. If you are not the addressee you may not copy, 
forward, disclose or use any part of it. If you have received this message in 
error, please delete it and notify the sender immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure, error or 
virus-free. The sender does not accept liability for any errors or omissions.

-
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] Problem building 2.2.8 on hpux itanum

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 11:28 AM, Adam Martin <[EMAIL PROTECTED]> wrote:
> You need to install the expat software.
>
>
>  http://sourceforge.net/projects/expat/

That shouldn't be the case. Expat is included with the apache source code.

(Of course, I have no idea what the real problem is.)

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] Problem building 2.2.8 on hpux itanum

2008-02-29 Thread Adam Martin
You need to install the expat software.

http://sourceforge.net/projects/expat/


-Original Message-
From: Rush [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 28, 2008 12:07 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum


I'm running into identical problem... Did anyone found solution . if
possible can you please email me solution at [EMAIL PROTECTED]


thanks
Rush



Peter Olofson wrote:
> 
> Any ideas I tried 2.2.6 with the same result/problem
> /peo
> I'm trying to build on hpux with hp C compiler, it fails like this:
> .
> .
> Making all in mappers
> Making all in support
> /home/peo/httpd-2.2.8/srclib/apr/libtool --silent --mode=link
cc 
> -g -Ae +Z -mt -L/usr/local/lib   -o htdigest  htdigest.lo   -lm 
> /home/peo/httpd-2.2.8/srclib/pcre/libpcre.la 
> /home/peo/httpd-2.2.8/srclib/apr-util/libaprutil-1.la -lexpat 
> /home/peo/httpd-2.2.8/srclib/apr/libapr-1.la -lrt -lm -lpthread -ldld
> ld: Can't find dependent library "libexpat.so.1"
> Fatal error.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
> 
> -
> 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]
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Problem-building-2.2.8-on-hpux-itanum-tp15570478p1
5742275.html
Sent from the Apache HTTP Server - Users mailing list archive at
Nabble.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, 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] Reverve proxy configuration & cookies ?

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 11:23 AM,  <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  I'm completely new to apache reverse proxy configuration, and I've got a
>  problem to use HttpSession throught my client/server application
>  Client application : Java/swing application with the jakarta librarie
>  HttpClient to communicate with the server
>  Server application : HttpServlet runing under tomcat-5.5.25 at context
>  '/mycontext/backOffice'
>  Apache reverse proxy configuration :
> 
> ProxyRequests Off
> ProxyPass /backOffice
>  http://my-tomcat:8080/mycontext/backOffice
> ProxyPassReverse /backOffice
>  http://my-tomcat:8080/mycontext/backOffice
> ProxyPreserveHost On
> 
>
>  The problem is that once a client has created a new session with a first
>  request, the second request produces this log error :
>  2008-02-29 14:49:05,597 WARN  httpclient.HttpMethodBase - Cookie
>  rejected: "$Version=0; JSESSIONID=BC07C2C3D44BB07E5B052DAAE9D5F56E;
>  $Path=/mycontext". Illegal path attribute "/mycontext". Path of origin:
>  "/backOffice
>
>  Do I miss something in the reverse proxy configuration, or is it
>  something else ???
>  For information, the client & server communicate without any problem
>  when using the server's internal url...

I'm not an expert in this stuff, but it sounds like you need
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiedomain
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiepath
(Your life would be easier if you kept the paths the same on the front
and back-end servers.)

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]



[EMAIL PROTECTED] Reverve proxy configuration & cookies ?

2008-02-29 Thread xavier.lahaut
Hello,

I'm completely new to apache reverse proxy configuration, and I've got a
problem to use HttpSession throught my client/server application
Client application : Java/swing application with the jakarta librarie
HttpClient to communicate with the server
Server application : HttpServlet runing under tomcat-5.5.25 at context
'/mycontext/backOffice'
Apache reverse proxy configuration : 

ProxyRequests Off
ProxyPass /backOffice
http://my-tomcat:8080/mycontext/backOffice
ProxyPassReverse /backOffice
http://my-tomcat:8080/mycontext/backOffice
ProxyPreserveHost On


The problem is that once a client has created a new session with a first
request, the second request produces this log error :
2008-02-29 14:49:05,597 WARN  httpclient.HttpMethodBase - Cookie
rejected: "$Version=0; JSESSIONID=BC07C2C3D44BB07E5B052DAAE9D5F56E;
$Path=/mycontext". Illegal path attribute "/mycontext". Path of origin:
"/backOffice

Do I miss something in the reverse proxy configuration, or is it
something else ???
For information, the client & server communicate without any problem
when using the server's internal url...

Regards.

Xavier


Pour connaître nos solutions et services, visitez 
http://www.ic.lu

To learn about our services and solutions, please visit:
http://www.ic.lu 

This E-mail is confidential. If you are not the addressee you may not copy, 
forward, disclose or use any part of it. If you have received this message in 
error, please delete it and notify the sender immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure, error or 
virus-free. The sender does not accept liability for any errors or omissions.


-
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] Cofiguration of mod_ssl of Apache2.2.8(using with mod_proxy).

2008-02-29 Thread Narendra Verma
Hi all,

 

I am using apache2.2.8 and mod_proxy for connecting tomcat5.5.

Here I am able to connect  by 'http' protocol. And its working fine.

Now I need to send request by 'https' protocol, related to  mod_ssl.

Can anybody help me for configuration of
[Apache2.2.8+mod_proxy+mod_ssl+tomcat5.5]

And which version of mod_ssl would be suitable for Apache2.2.8 because it is
not given in Apache2.2.8.

>From where I can get mod_ssl.so that would be configured with Apache2.2.8 .

 

I will appreciate If any body can help me, so please reply me as soon as
possible its urgent.

 

Thanks and regards

Narendra

 



[EMAIL PROTECTED] RE: make failure

2008-02-29 Thread Adam Martin
I did not receive any responses to this but figured I would post what I
found in hopes it may help someone in the future.  Sorry for the length.

While doing some additional testing I found that if I cut and pasted the
line that fails during the make and added
-L/scratch/apache/httpd-2.2.8/srclibs/arp/.libs to it the compilation
for that program completed successfully.  But when I attempted to
re-execute the make it failed when trying to build the next program in
the support directory.

I could not find the logic in the makefiles that built the compile
string for the support directory to add the -L option to it.  I then
tried adding the --with-included-apr to the configure script but the
make failed when attempting to compile the support directory with the
same error.

I then tried compiling the software using the gcc 4.2.2 compiler but
experienced the same issue posted by Tamer on 2/27.

gcc: +b: No such file or directory
gcc: /scratch/apache/httpd-2.2.8/srclib/apr/.libs:/opt/apache2/lib: No
such file or directory
*** Error exit code 1

After following the solution Tamer provided and updating libtool in the
Apache distribution directory to version 1.5.26 I successfully compiled
the software using the gcc compiler.

On a side note I wanted to publicly thank Tamer for his assistance.  I
contacted him directly via email out of frustration and he went out of
his way to assist a total stranger.  Thank you.


-Original Message-
From: Adam Martin 
Sent: Tuesday, February 26, 2008 10:09 AM
To: users@httpd.apache.org
Subject: make failure

This is my first attempt to compile the Apache web server so I will try
and include all the relevant information and apologize in advance for
any rookie mistakes.  I have successfully compiled version 2.2.8 on the
IBM AIX, Sun Solaris, and HP-UX PA-RISC platforms but have an issue
trying to compile it on the HP-UX Itanium platform using the HP ANSI C
Compiler.  The configure script appears to complete successfully but
when I attempt to execute the make I receive the following error.

ld: Can't find dependent library "libapr-1.so.2"
Fatal error.

The libapr-1.so.2 file resides in the
/scratch/apache/httpd-2.2.8/srclib/apr/.libs and is linked to the
libapr-1.so.2.12 file.  Here are the options I passed to the configure
script.

./configure --prefix=/opt/apache2 --enable-mods-shared="all cache proxy
authn_alias mem_cache file_cache charset_lite dav_lock disk_cache"


Any suggestions for resolving this would be greatly appreciated.

Make output:
Making all in support
/scratch/apache/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile cc -g -Ae +Z -mt-DHPUX11 -D_REENTRANT -D_HPUX_SOURCE
-D_LARGEFILE64_SOURCE -I/scratch/apache/httpd-2.2.8/srclib/pcre -I.
-I/scratch/apache/httpd-2.2.8/os/unix
-I/scratch/apache/httpd-2.2.8/server/mpm/prefork
-I/scratch/apache/httpd-2.2.8/modules/http
-I/scratch/apache/httpd-2.2.8/modules/filters
-I/scratch/apache/httpd-2.2.8/modules/proxy
-I/scratch/apache/httpd-2.2.8/include
-I/scratch/apache/httpd-2.2.8/modules/generators
-I/scratch/apache/httpd-2.2.8/modules/mappers
-I/scratch/apache/httpd-2.2.8/modules/database
-I/scratch/apache/httpd-2.2.8/srclib/apr/include
-I/scratch/apache/httpd-2.2.8/srclib/apr-util/include
-I/usr/local/include -I/scratch/apache/httpd-2.2.8/server
-I/scratch/apache/httpd-2.2.8/modules/proxy/../generators
-I/scratch/apache/httpd-2.2.8/modules/ssl
-I/scratch/apache/httpd-2.2.8/modules/dav/main  -prefer-non-pic -static
-c htpasswd.c && touch htpasswd.lo
/scratch/apache/httpd-2.2.8/srclib/apr/libtool --silent
--mode=link cc -g -Ae +Z -mt -L/usr/local/lib   -o htpasswd
htpasswd.lo   -lm /scratch/apache/httpd-2.2.8/srclib/pcre/libpcre.la
/scratch/apache/httpd-2.2.8/srclib/apr-util/libaprutil-1.la -lexpat
/scratch/apache/httpd-2.2.8/srclib/apr/libapr-1.la -lrt -lm -lpthread
-ldld
ld: Can't find dependent library "libapr-1.so.2"
Fatal error.

-
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_proxy and basic authentication

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 10:41 AM, Steffen Wieschalla <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  my used httpd is Apache 1.3.37 under Solaris 10 (Sparc).
>
>  I want to configure it to be a proxy for another system but the access
>  must be limited with a method like basic authentication.
>
>  My current configuration looks like this:
>
>  [snip]
>
>  
>ServerAdmin [EMAIL PROTECTED]
>DocumentRoot /usr/local/apache/
>ServerName www.foo.net
>DirectoryIndex index.htm index.html
>SetEnv PERLROOT /usr/local/Perl5
>SetEnv PERLLIB /usr/local/Perl5/lib:
>
>   ProxyPass / http://5.6.7.8/
>   ProxyPassReverse / http://5.6.7.8/
>
>   
> AuthType Basic
> AuthName Demo-Access
> AuthUserFile /usr/local/apache/apache-authorization
> Require valid-user
>   
>  
>
>  [snap]
>
>  Without the "ProxyPass*" lines I'll get the basic auth request. With the
>  "ProxyPass*" lines it delivers the content of http://5.6.7.8/ without
>  prompting for a login/password.
>
>  It seems that the apache completely ignores the authentication if the
>  requested url matches the proxy directives.
>
>  Can someone give me a hint to solve this problem, please?

Since your request never accesses any directory on the proxy server,
 blocks are not applied. Try  instead.

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]



[EMAIL PROTECTED] mod_proxy and basic authentication

2008-02-29 Thread Steffen Wieschalla
Hi,

my used httpd is Apache 1.3.37 under Solaris 10 (Sparc).

I want to configure it to be a proxy for another system but the access
must be limited with a method like basic authentication.

My current configuration looks like this:

[snip]


   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /usr/local/apache/
   ServerName www.foo.net
   DirectoryIndex index.htm index.html
   SetEnv PERLROOT /usr/local/Perl5
   SetEnv PERLLIB /usr/local/Perl5/lib:

  ProxyPass / http://5.6.7.8/
  ProxyPassReverse / http://5.6.7.8/

  
AuthType Basic
AuthName Demo-Access
AuthUserFile /usr/local/apache/apache-authorization
Require valid-user
  


[snap]

Without the "ProxyPass*" lines I'll get the basic auth request. With the
"ProxyPass*" lines it delivers the content of http://5.6.7.8/ without
prompting for a login/password.

It seems that the apache completely ignores the authentication if the
requested url matches the proxy directives.

Can someone give me a hint to solve this problem, please?

Thanks in advance :)

Steffen
-- 
Steffen Wieschalla, [EMAIL PROTECTED]
Tel:  +49 711 90074-418
Fax:  +49 711 90074-33
http://www.LF.net/

LF.net Netzwerksysteme GmbH
Ruppmannstr. 27
70565 Stuttgart (Germany)
Handelsregister Stuttgart: HRB 18189
Geschaeftsfuehrer: Norman Fuerst, Rodney Volz


-
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] Change/Bug in DirectoryIndex with mod_rewrite proxying

2008-02-29 Thread Jeremy Jones
Hi,

I have tried to verify this hasn't been addressed before on this list,
my apologies if is has:

I have upgraded from 1.3 to 2.2.8 and I have noticed a possible bug:
When using mod_rewrite to proxy a possible directoryindex page, the
subsequent directoryindex filenames are ignored. (Or the return status
of the proxy call isn't acted upon.)

To replicate:

---
htdocs/.htacces
htdocs/index.shtml
htdocs/mysubdir/index.php
---


In htdocs/.htaccess:

   DirectoryIndex  index.php   index.shtml

   
  RewriteEngineOn
  RewriteRule  \.php  http://phpbackendserver:85%{REQUEST_URI} [P,L]
   
---


In version 1.3 I could go to / and it would display index.shtml, and
then I could go to /mysubdir/ and it would run the index.php version.
In other words it wouldn't do the full proxy check for index.php for
the root directory, it would just see the php index file isn't there
and instead display index.shtml.

In version 2.2.8 when I go to / I get a 404 Not Found page, because it
looks for PHP using the proxy request, doesn't find it, and apparently
stops there.

It appears that now the server is doing the full proxy request for the
possible index.php file, which is a good thing and I see in the
ChangeLog that


  *) Allow proxying of resources that are invoked via DirectoryIndex.
 PR 14648, 15112, 29961.  [AndrÃ(c) Malo]



was added in 2.0.51.   However if that proxy request then returns a
404, then should the main Apache process not move on to the next entry
in directoryindex list? Thus I would get index.shtml displayed on the
first directory, and index.php on the second.

My workaround for this so far has been to change (reverse) the
priorities of the two directoryindexes in the various htaccess files
where I can see the problem, however it would be preferable if it is
was possible either to set it to mimic the old behaviour, or to have
it check the proxy request's return status, so that the next
directoryindex can be displayed instead if necessary.

If anyone could suggest anything to help me cope with this or work
around it generally, would be grateful thanks.

Jeremy

-
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] Digest authentication and single sign-on, correct format and browsers supporting

2008-02-29 Thread Paul Morris
I want to achieve a single sign-on interface for all of the sub domains 
of a given top level domain. For this I have identified Digest 
authentication as an appropriate solution thanks to its support for 
enabling multiple domains to share the same user credentials.


I have the AuthDigestDomain directive set to "/ 
http://base.url.com:8000/ http://one.base.url.com:8000/ 
http://two.base.url.com:8000/"; in my Apache configuration file. I can 
see this value being forwarded verbatim to the browser by Apache in the 
response headers correctly.


I point a browser to http://base.url.com:8000/ to sign on, which works. 
However, when I then connect to any of the other listed URLs, 
http://one.base.url.com:8000/ and http://two.base.url.com:8000/, I still 
get a sign-on prompt. I realise that support for this feature of Digest 
must be implemented by the browser. So far I have tried Firefox 1.5, 
IE7, Opera 9.26 and Safari 3.0.4 -- all of which refuse to provide the 
same login credentials on these domains without re-prompting for the 
user information. The realm is set to the same value for all domains.


Here is an extract from my configuration file for the digest authentication:


   AuthType Digest
   AuthName Example
   AuthDigestDomain / http://base.url.com:8000/ 
http://one.base.url.com:8000/ http://two.base.url.com:8000/

   AuthUserFile my.db
   Require valid-user


Is this feature not supported by any modern Web browser or have I gotten 
the format for AuthDigestDomain wrong?


Thanks!
Paul.
--
Paul Morris | Project Development UK
Interactive Data Managed Solutions Ltd

Registered in England No 3691868
Registered Office: Suite 1101, Eagle Tower | Montpellier Drive | 
Cheltenham GL50 1TA | United Kingdom

Tel: +44 (0)1242 6941 28 | Fax: +44 (0)1242 6941 01
[EMAIL PROTECTED] 
http://www.interactivedata-ms.com/


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [EMAIL PROTECTED] mod_deflate's problems

2008-02-29 Thread David Cassidy
ie6 has many "features" maybe this is just another one



On Fri, 2008-02-29 at 21:03 +0800, J. Peng wrote:
> Thanks for all replies.
> I thought then the primary problem is IE6 with http/1.0 can't accept
> the Vary: header.
> I don't know why, but this really happened on all our ie6 browsers.
> Our users have also reported this case.
> Maybe it's an IE's bug? ie7/firefox don't have this problem.
> 
> Thanks.
> 
> //joy
> 
> 
> On Fri, Feb 29, 2008 at 8:37 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
> > On Fri, Feb 29, 2008 at 4:24 AM, J. Peng <[EMAIL PROTECTED]> wrote:
> >  > On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas
> >  >  <[EMAIL PROTECTED]> wrote:
> >  >  > On 29.02.08 11:44, J. Peng wrote:
> >  >  >  > I talk nothing about cache.
> >  >  >  > if mod_deflate didn't compress a file, why it still send a Vary 
> > header?
> >  >  >  > This is what I'm always talking about.
> >  >  >
> >  >  >  you were advised to read HTTP specificationm (rfc 2616), did you?
> >  >  >
> >  >
> >  >  Hmm! did you see my questions again?
> >  >  I was saying if mod_deflate didn't compress a file, it shouldn't send
> >  >  a Vary header.
> >  >  Don't tell me the so called standard, why mod_deflate always send a
> >  >  Vary header when it doesn't compress that file?
> >
> >  Because the response to requests for this same resource can change
> >  based on the incoming Accept-Encoding header, and the Vary header is
> >  the way this is communicated.
> >
> >  It's like flipping a coin and deciding the result doesn't vary when it
> >  comes up "heads", but it does vary when it comes up "tails"
> >
> >
> >  --
> >  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]
> 


-
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] SSI resolve IP to hostname

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 9:34 AM, Andre Hübner <[EMAIL PROTECTED]> wrote:
> In current conf it is off but if i request this ssi-page of costumer i see
>  my resolved hostname.
>  hmm, i could switch to on but i think it is not recommend. There are more
>  domains
>  served by this apache and i'm afraid of delays at serving the requests.

REMOTE_HOST is resolved if either HostnameLookups is On or if you have
an Allow or Deny directive that forces hostname resolution.

For your case, you can put HostnameLookups into a  section
to restrict its application only to where it is needed.

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] SSI resolve IP to hostname

2008-02-29 Thread Andre Hübner
In current conf it is off but if i request this ssi-page of costumer i see 
my resolved hostname.
hmm, i could switch to on but i think it is not recommend. There are more 
domains

served by this apache and i'm afraid of delays at serving the requests.



- Original Message - 
From: "Torsten Foertsch" <[EMAIL PROTECTED]>

To: 
Cc: "Andre Hübner" <[EMAIL PROTECTED]>
Sent: Friday, February 29, 2008 3:10 PM
Subject: Re: [EMAIL PROTECTED] SSI resolve IP to hostname


On Fri 29 Feb 2008, Andre Hübner wrote:
i have just a little problem with name resolution using SSI. Customer of 
me

is using  and  to show IP and Hostname of Client. It works without
any error, I tried with different ISP. Customer says that his IP could not
resolved to hostname and this field stays empty. I cannot reproduce this
without his IP and i dont want to visit him at home ;) With little PHP and
gethostbyaddr or even on console using host i can resolve his IP to his
hostename. Is there a explaination why SSI could fail or is he just 
kidding

me?

>From my side i di not see any errors or mistakes.


You probably want to set HostnameLookups to On

http://httpd.apache.org/docs/2.2/mod/core.html#hostnamelookups

Torsten

-
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] mod_rewrite redirecting multiple domain names to the one name

2008-02-29 Thread Joshua Slive
On Fri, Feb 29, 2008 at 2:28 AM, Nils Jeppe <[EMAIL PROTECTED]> wrote:
>
>
>  On Fri, 29 Feb 2008, Viv D-F wrote:
>
>  > I figure this is a fairly common problem, but I haven't been able to find
>  > any examples of how this is usually done.  I'm not convinced that this is
>  > best done in the Apache config.  Is this done at the DNS instead?
>
>  There are, I think, three ways to do this. The first is what you're
>  thinking of, find an example here:
>
>  http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html#canonicalhost
>
>  Secondly, setting "UseCanonicalName on" may work to redirect you to the
>  correct hostname. I never use this myself, but I remember vaguely that it
>  does something like this. I am not entirely sure of course, but you could
>  easily test it yourself:

No, that won't work. (I've always though it would be nice to have a
"UseCanonicalName enforce" which would do exactly that, but it doesn't
exist.)

>  http://httpd.apache.org/docs/2.2/mod/core.html#usecanonicalname
>
>  Thirdly, you could simply add one or more extra virtualhost(s) which takes
>  care of all the "extra" hostnames and do a simple RedirectPermanent /
>  http://site1.com/ or something similar in its configuration. This last
>  solution is especially useful if you'd like to easily log the access /
>  referrers to the "unwanted" site names.

Right. Both of your solutions are discussed in detail here:
http://wiki.apache.org/httpd/CanonicalHostNames

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] AddDefaultLanguage broken?

2008-02-29 Thread Joshua Slive
On Thu, Feb 28, 2008 at 11:29 PM, Alexandra Zaharia <[EMAIL PROTECTED]> wrote:

>
>  Thank you for your reply. Now it all starts to make sense. Thinking
>  back, I noticed this behavior for the first time right after the
>  cross-site scripting vulnerability was announced and patched. I found
>  this whole thing strange since apparenlty I was going 'by the manual'
>  -- so far on the official 2.2/mod/core documentation page there's no
>  mention of this change.

It was obliquely mentioned in the CHANGES_2.2 file in the
distribution, but it should have been more explicit about the change
to the default charset sent by mod_autoindex.

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] Strange Apache behavior while using website as proxy server (without installing mod_proxy)

2008-02-29 Thread Krist van Besien
On Fri, Feb 29, 2008 at 2:52 PM, Ravi <[EMAIL PROTECTED]> wrote:
>
>  I have a strange problem and I cannot find any documentation around it.
>  I have two virtual host defined as follows:
>
>  NameVirtualHost *
>
>  
> ServerName www.mydomain.com
> DocumentRoot C:/mydomain/www
>  
>
>
>  
> ServerName proxy.mydomain.com
> DocumentRoot C:/mydomain/proxy
>  
>
>
>  Now I configured www.mydomain.com as http proxy server in my browser and
>  go to a random website website http://www.randomsite.com/index.html
>
>  1. Browser sends proxy request to www.mydomain.com and apache loads
>  http://www.mydomain.com/index.html. I found no explanation of this
>  behavior. I could not find any documentation on how it handles proxy
>  requests if mod_proxy is not installed.
>
>  2. Secondly if I configure proxy.mydomain.com as proxy server, apache is
>  still loading the website from http://www.mydomain.com/index.html
>  instead of http://proxy.mydomain.com/index.html. Any idea how to fix this?

The webserver is doing exactly what you told it to do. You told it to
serve pages from C:/mydomain/www for any request coming in, and this
is what it does.
To know more about virtual hosts read the documentation.

In order to use apache as a proxy a lot more configuration is needed.
It is obvious from what you have shown us so far that you haven't even
started configuring your apache as a proxy, so why would it behave as
one?

Start by reading the documentation here:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

If you want to use apache as a proxy and as a webserver at the same
time you will probably need to dedicate a separate port to the proxy.

Krist

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
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] SSI resolve IP to hostname

2008-02-29 Thread Torsten Foertsch
On Fri 29 Feb 2008, Andre Hübner wrote:
> i have just a little problem with name resolution using SSI. Customer of me
> is using    and  to show IP and Hostname of Client. It works without
> any error, I tried with different ISP. Customer says that his IP could not
> resolved to hostname and this field stays empty. I cannot reproduce this
> without his IP and i dont want to visit him at home ;) With little PHP and
> gethostbyaddr or even on console using host i can resolve his IP to his
> hostename. Is there a explaination why SSI could fail or is he just kidding
> me?
>
> >From my side i di not see any errors or mistakes.

You probably want to set HostnameLookups to On

 http://httpd.apache.org/docs/2.2/mod/core.html#hostnamelookups

Torsten

-
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] Strange Apache behavior while using website as proxy server (without installing mod_proxy)

2008-02-29 Thread Ravi


I have a strange problem and I cannot find any documentation around it.
I have two virtual host defined as follows:

NameVirtualHost *


ServerName www.mydomain.com
DocumentRoot C:/mydomain/www




ServerName proxy.mydomain.com
DocumentRoot C:/mydomain/proxy



Now I configured www.mydomain.com as http proxy server in my browser and 
go to a random website website http://www.randomsite.com/index.html


1. Browser sends proxy request to www.mydomain.com and apache loads 
http://www.mydomain.com/index.html. I found no explanation of this 
behavior. I could not find any documentation on how it handles proxy 
requests if mod_proxy is not installed.


2. Secondly if I configure proxy.mydomain.com as proxy server, apache is 
still loading the website from http://www.mydomain.com/index.html 
instead of http://proxy.mydomain.com/index.html. Any idea how to fix this?


Thanks for helping
- Ravi


-
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_deflate's problems

2008-02-29 Thread J. Peng
Thanks for all replies.
I thought then the primary problem is IE6 with http/1.0 can't accept
the Vary: header.
I don't know why, but this really happened on all our ie6 browsers.
Our users have also reported this case.
Maybe it's an IE's bug? ie7/firefox don't have this problem.

Thanks.

//joy


On Fri, Feb 29, 2008 at 8:37 PM, Eric Covener <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 29, 2008 at 4:24 AM, J. Peng <[EMAIL PROTECTED]> wrote:
>  > On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas
>  >  <[EMAIL PROTECTED]> wrote:
>  >  > On 29.02.08 11:44, J. Peng wrote:
>  >  >  > I talk nothing about cache.
>  >  >  > if mod_deflate didn't compress a file, why it still send a Vary 
> header?
>  >  >  > This is what I'm always talking about.
>  >  >
>  >  >  you were advised to read HTTP specificationm (rfc 2616), did you?
>  >  >
>  >
>  >  Hmm! did you see my questions again?
>  >  I was saying if mod_deflate didn't compress a file, it shouldn't send
>  >  a Vary header.
>  >  Don't tell me the so called standard, why mod_deflate always send a
>  >  Vary header when it doesn't compress that file?
>
>  Because the response to requests for this same resource can change
>  based on the incoming Accept-Encoding header, and the Vary header is
>  the way this is communicated.
>
>  It's like flipping a coin and deciding the result doesn't vary when it
>  comes up "heads", but it does vary when it comes up "tails"
>
>
>  --
>  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] SSI resolve IP to hostname

2008-02-29 Thread Nils Jeppe

Hi Andre,

On Fri, 29 Feb 2008, [iso-8859-1] Andre Hübner wrote:

PHP and gethostbyaddr or even on console using host i can resolve his IP 
to his hostename. Is there a explaination why SSI could fail or is he 
just kidding me?

From my side i di not see any errors or mistakes.


In theory, it could be a cached display of a temporary dns lookup 
failure... even if this is silly, simple advice: Restart browser, clear 
browser cache, and do a shift-reload if the remote_host is still empty.



- Nils
-
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_deflate's problems

2008-02-29 Thread Eric Covener
On Fri, Feb 29, 2008 at 4:24 AM, J. Peng <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas
>  <[EMAIL PROTECTED]> wrote:
>  > On 29.02.08 11:44, J. Peng wrote:
>  >  > I talk nothing about cache.
>  >  > if mod_deflate didn't compress a file, why it still send a Vary header?
>  >  > This is what I'm always talking about.
>  >
>  >  you were advised to read HTTP specificationm (rfc 2616), did you?
>  >
>
>  Hmm! did you see my questions again?
>  I was saying if mod_deflate didn't compress a file, it shouldn't send
>  a Vary header.
>  Don't tell me the so called standard, why mod_deflate always send a
>  Vary header when it doesn't compress that file?

Because the response to requests for this same resource can change
based on the incoming Accept-Encoding header, and the Vary header is
the way this is communicated.

It's like flipping a coin and deciding the result doesn't vary when it
comes up "heads", but it does vary when it comes up "tails"


-- 
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] mod_deflate's problems

2008-02-29 Thread David Cassidy
mod deflate from my understanding will always send the Vary header.
it does it because it *might* do something to the content on subsequent
requests.

Whilst for you proxies are not important it doesn't mean it isn't
important for everyone else - ditto using the standards :)

I guess your application is an intranet one ? - hence running ie 6 with 
the http/1.0 ?

You'll probably discover a number of other modules that will also set
the Vary header - things like mod_negotiation or mod_substitute 
I'm sure someone will correct me if I've got this wrong.



On Fri, 2008-02-29 at 17:24 +0800, J. Peng wrote:
> On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas
> <[EMAIL PROTECTED]> wrote:
> > On 29.02.08 11:44, J. Peng wrote:
> >  > I talk nothing about cache.
> >  > if mod_deflate didn't compress a file, why it still send a Vary header?
> >  > This is what I'm always talking about.
> >
> >  you were advised to read HTTP specificationm (rfc 2616), did you?
> >
> 
> Hmm! did you see my questions again?
> I was saying if mod_deflate didn't compress a file, it shouldn't send
> a Vary header.
> Don't tell me the so called standard, why mod_deflate always send a
> Vary header when it doesn't compress that file?
> Anyway I resolved this problem by using my way, otherwise ie6 with
> http/1.0 enabled can't work with the case.
> You may suggest MS to read that so called RFC. go ahead guy!
> 
> -
> 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] mod_deflate's problems

2008-02-29 Thread J. Peng
On Fri, Feb 29, 2008 at 5:14 PM, Matus UHLAR - fantomas
<[EMAIL PROTECTED]> wrote:
> On 29.02.08 11:44, J. Peng wrote:
>  > I talk nothing about cache.
>  > if mod_deflate didn't compress a file, why it still send a Vary header?
>  > This is what I'm always talking about.
>
>  you were advised to read HTTP specificationm (rfc 2616), did you?
>

Hmm! did you see my questions again?
I was saying if mod_deflate didn't compress a file, it shouldn't send
a Vary header.
Don't tell me the so called standard, why mod_deflate always send a
Vary header when it doesn't compress that file?
Anyway I resolved this problem by using my way, otherwise ie6 with
http/1.0 enabled can't work with the case.
You may suggest MS to read that so called RFC. go ahead guy!

-
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_deflate's problems

2008-02-29 Thread Matus UHLAR - fantomas
On 29.02.08 11:44, J. Peng wrote:
> I talk nothing about cache.
> if mod_deflate didn't compress a file, why it still send a Vary header?
> This is what I'm always talking about.

you were advised to read HTTP specificationm (rfc 2616), did you?

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in 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]



[EMAIL PROTECTED] SSI resolve IP to hostname

2008-02-29 Thread Andre Hübner
Suse 10.1  Apache 2.2.8

Hello List,

i have just a little problem with name resolution using SSI. Customer of me is 
usingand  to 
show IP and Hostname of Client.
It works without any error, I tried with different ISP. Customer says that his 
IP could not resolved to hostname and this field stays empty.
I cannot reproduce this without his IP and i dont want to visit him at home ;)
With little PHP and gethostbyaddr or even on console using host i can resolve 
his IP to his hostename.
Is there a explaination why SSI could fail or is he just kidding me?
>From my side i di not see any errors or mistakes.

Thank you
Andre

AW: [EMAIL PROTECTED] tuning

2008-02-29 Thread christian.folini
Hi Krishna,

Have a look at the new "High Performance Web Sites" by o'reilly and
"Building Scalable Web Sites" by the same publisher. Otherwise the
apache website has lots of information too. Generally it takes a lot of
time and expertise to become really fast. But very often a single
misconfiguration slows down your site. However, it takes a lot of
expertise to identify this bottleneck immediately.

You might want to check out firebug or a similar tool to give you
an idea where your site is slow.

Regs,

Christian

-Ursprüngliche Nachricht-
Von: J. Peng [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 29. Februar 2008 07:19
An: users@httpd.apache.org
Betreff: Re: [EMAIL PROTECTED] tuning

Most time (I'm sure it's 90%) the performance is descided by application,not 
apache itself.
Even apache the default installion has good performance enough.
For us we need the higher performance really, so we develop our own webserver 
(called Qhttpd), it's maybe not so standard, but can handle much more requests 
at the same time than apache.

On Fri, Feb 29, 2008 at 2:13 PM, Krishna Chandra Prajapati <[EMAIL PROTECTED]> 
wrote:
> Hi All,
>
> I am new to this group. I would to know how i can tune apache to give 
> better performance.
>
> Thanks
> --
> Krishna Chandra Prajapati
> MySQL DBA,
> Ed Ventures e-Learning Pvt.Ltd.
> 1-8-303/48/15, Sindhi Colony
>  P.G.Road, Secunderabad.
> Pin Code: 53
> Office Number: 040-66489771
> Mob: 9912924044
> URL: ed-ventures-online.com
> Email-id: [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]