[EMAIL PROTECTED] Apache dynamic page caching?

2008-04-15 Thread howard chen
Hi, Are there any existing method for Apache which can do the followings? E.g. When a user first go to a page, www.example.com/article.php?id=123, my PHP problem will generated a static copy of HTML under a temp folder (e.g. /tmp/article/md5(123).html), so following requests to the page will not

[EMAIL PROTECTED] Single Client Simultaneous Page Load Issue

2008-04-15 Thread Robert Conrad
Hi Everybody, I have been having a devil of a time (read: hours of searching) trying to figure out how to get Apache to serve up two or more pages concurrently to the same user on the same domain. I have multiple domains hosted on the box and it is quite happy to deliver two pages simultaneousl

Re: [EMAIL PROTECTED] mod_suPHP: set php_admin options

2008-04-15 Thread j k
On Tue, Apr 15, 2008 at 10:41 AM, Florian Lindner <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using mod_suphp. When using just mod_php I can set options in the > virtual host config like that: php_admin_value sendmail_path > > How can this be done when using mod_suphp? > > Thanks, > > Florian > >

[EMAIL PROTECTED] Browser handling of 413 Request Entity Too Large

2008-04-15 Thread Ray Van Dolson
Hi all, running into this on an old Apache 2.0.46 installation (actually httpd-2.0.46-70.ent from RHEL 3 Update 9). When a user attempts to upload a large file it's exceeding the LimitRequestBody size and Apache returns a 413 error. It appears however that the browser (IE6 and FireFox 2.x in this

[EMAIL PROTECTED] Apache delays assigning a message to a thread

2008-04-15 Thread Nayman Felix-QA5535
We've been running some tests with Apache 2.2.4 and Linux 2.6.21. When sending 20 simultaneous HTTP GETs (one process with 20 threads sending simultaneously), we're seeing that sometimes there is a 3, 4 or even more second delay for some of the HTTP GETs appearing in the apache_log. I've capture

Re: [EMAIL PROTECTED] SSL and Basic Authentication

2008-04-15 Thread Shakti
Joshua Slive wrote: On Tue, Apr 15, 2008 at 3:57 PM, Shakti <[EMAIL PROTECTED]> wrote: [Tue Apr 15 13:21:31 2008] [info] Faking HTTP Basic Auth header: "Authorization: Basic L0M9VVMvU1Q9TmV3IE1leGljby9PPUNvcmUgV2Ffh98rh9q3fq038nv8r8qhe9rgheXMgQWJxL0NOPUNvcmVXYWZlclN5c3RlbXMvZW1haWxBZGRyZXNz

Re: [EMAIL PROTECTED] SSL and Basic Authentication

2008-04-15 Thread Joshua Slive
On Tue, Apr 15, 2008 at 3:57 PM, Shakti <[EMAIL PROTECTED]> wrote: > [Tue Apr 15 13:21:31 2008] [info] Faking HTTP Basic Auth header: > "Authorization: Basic > L0M9VVMvU1Q9TmV3IE1leGljby9PPUNvcmUgV2Ffh98rh9q3fq038nv8r8qhe9rgheXMgQWJxL0NOPUNvcmVXYWZlclN5c3RlbXMvZW1haWxBZGRyZXNzPWVhcmxAY29yZXdhZmVy

Re: [EMAIL PROTECTED] url proxying

2008-04-15 Thread Melanie Pfefer
Hi Krist, my apache configuration does not have redirect directive. However, I noticed that the web application is doing a redirect: https://backend:8443/abc/xxx/xxx becomes https://backend:8443/abc/xxx:/yyy/zzz/login.jsp The backend is a tomcat server. I am not the developer of that web applica

Re: [EMAIL PROTECTED] SSL and Basic Authentication

2008-04-15 Thread Shakti
Joshua Slive wrote: On Tue, Apr 15, 2008 at 1:56 PM, Shakti <[EMAIL PROTECTED]> wrote: Hi, I am new to the apache and need help with ssl authentication. I have compiled apache2 on Mac OS X. Configured it with basic authentication and that worked fine. I enabled ssl and that worked fine. The

Re: [EMAIL PROTECTED] url proxying

2008-04-15 Thread Krist van Besien
On Tue, Apr 15, 2008 at 9:03 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > > SSLProxyEngine On > > SSLProxyCACertificatePath /usr/local/apache2/conf/ssl > ProxyPass /abc/ https://backend:8443/abc/ > #ProxyPassReverse /abc/ https://abc:8443/abc/ > > The redirects works. But proxying not. Prox

RE: [EMAIL PROTECTED] mod_userdir issue

2008-04-15 Thread Sawyers, Brandon W
Anyone? Hello everyone, I'm having an issue with mod_userdir and was hoping someone could help me. I have a centos 4.6 machine that is acting as a file/web server for my users. I have tied it into our AD with winbind and samba for smb access and I'm using mod_u

Re: [EMAIL PROTECTED] url proxying

2008-04-15 Thread Melanie Pfefer
SSLProxyEngine On SSLProxyCACertificatePath /usr/local/apache2/conf/ssl ProxyPass /abc/ https://backend:8443/abc/ #ProxyPassReverse /abc/ https://abc:8443/abc/ The redirects works. But proxying not. If I commented out the last line (ProxyPassReverse), firefox gives: 'Firefox has detected that t

[EMAIL PROTECTED] mod_disk_cache cache sharing with NFS

2008-04-15 Thread Guillaume Duchesneau
Hi, We are planning to use Apache mod_disk_cache to cache urls that do not need to be updated very often (once every day maybe). We anticipate that we could have a large number of different urls (> 100K) that could be invoked a few times every day (say 10 to 20 times each). Our production enviro

[EMAIL PROTECTED] FROM httpd.conf TO .htaccess

2008-04-15 Thread Alberto García Gómez
Fellows, I need to change this configuration from my httpd.conf file to an .htacces file so my scripts can work in any apache without having acces (or change) the server httpd.conf Here's the piece of the httpd.conf RewriteEngine On RewriteLogLevel 9 RewriteLog logs/server.com-rewrite_log R

Re: [EMAIL PROTECTED] SSL and Basic Authentication

2008-04-15 Thread Joshua Slive
On Tue, Apr 15, 2008 at 1:56 PM, Shakti <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to the apache and need help with ssl authentication. I have > compiled apache2 on Mac OS X. Configured it with basic authentication and > that worked fine. I enabled ssl and that worked fine. Then I generated > c

[EMAIL PROTECTED] SSL and Basic Authentication

2008-04-15 Thread Shakti
Hi, I am new to the apache and need help with ssl authentication. I have compiled apache2 on Mac OS X. Configured it with basic authentication and that worked fine. I enabled ssl and that worked fine. Then I generated certificates for the server and clients, installed certificates in client's

[EMAIL PROTECTED] mod_proxy, ssl and detecting secure requests on the server side

2008-04-15 Thread Matt Raible
I've setup mod_proxy and mod_ssl successfully and have Tomcat configured to run on 8080 and 8443 (for SSL). If I proxy requests from /jobs -> http://localhost:8080/jobs, request.isSecure() will returns false on the server side if I request https://localhost/jobs. If I change it to /jobs -> https:/

[EMAIL PROTECTED] mod_suPHP: set php_admin options

2008-04-15 Thread Florian Lindner
Hello, I'm using mod_suphp. When using just mod_php I can set options in the virtual host config like that: php_admin_value sendmail_path How can this be done when using mod_suphp? Thanks, Florian - The official User-To-Us

Re: [EMAIL PROTECTED] Authenticating Proxy Server

2008-04-15 Thread Nick Kew
On Tue, 15 Apr 2008 15:19:01 +0100 Roy Pearce <[EMAIL PROTECTED]> wrote: > The browser appears not to like talking to > an SSL-enabled proxy server. Sounds to me like a browser misconfiguration. > Are there other ways to transmit the credentials in an encrypted > manner rather than in plain t

Re: [EMAIL PROTECTED] Authenticating Proxy Server

2008-04-15 Thread Roy Pearce
Hi Nils, Thanks for your reply. Our proxy server is a forward proxy server, not a reverse one so I haven't used the ProxyPass and ProxyPassReverse directives. I replicated the (forward) proxy server, added SSL and changed the port to 443. The browser was configured to use this authenticating

[EMAIL PROTECTED] when a user request a page, i want to do an ldap user insertion, how can i do?

2008-04-15 Thread Halil Ağın
Hello List; I wan to accomplish the following scenario. There is an apache server, and it hosts many web pages, for example:static page, php pages, or cgi pages. There is a user and requests some pages, for example : http://mycom.com/page1, then http://mycom.com/page1/subpage1, http://mycom.com/

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Krist van Besien
On Tue, Apr 15, 2008 at 2:32 PM, Laurent Blume <[EMAIL PROTECTED]> wrote: > Thanks, Krist, William. I knew about the PHP reluctancy regarding > threads, but it had worked for years, so I didn't think about it. It > definitely seems like a plausible culprit. I can at least easily try the > pref

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Laurent Blume
William A. Rowe, Jr. a écrit : > Krist van Besien wrote: >> On Tue, Apr 15, 2008 at 1:42 PM, Laurent Blume <[EMAIL PROTECTED]> >> wrote: >> >>> I'll look for how to change the mutexes I can change. Any other hint >>> will be welcome. >> You could indeed use: >> AcceptMutex pthread >> >> However,

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread William A. Rowe, Jr.
Krist van Besien wrote: On Tue, Apr 15, 2008 at 1:42 PM, Laurent Blume <[EMAIL PROTECTED]> wrote: I'll look for how to change the mutexes I can change. Any other hint will be welcome. You could indeed use: AcceptMutex pthread However, your problem might be PHP. Running PHP in a multithreade

Re: [EMAIL PROTECTED] Authenticating Proxy Server

2008-04-15 Thread Nils Jeppe
On 15.04.2008, at 13:22, Roy Pearce wrote: I have tried using an ssl-enabled authenticating proxy server but this confuses the browser as it attempts to talk http to an https server. Mh, why is this? I don't have experience with mod_auth_radius, but I'd expect it to work similarily to al

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Krist van Besien
On Tue, Apr 15, 2008 at 1:42 PM, Laurent Blume <[EMAIL PROTECTED]> wrote: > I'll look for how to change the mutexes I can change. Any other hint > will be welcome. You could indeed use: AcceptMutex pthread However, your problem might be PHP. Running PHP in a multithreaded apache is not recommen

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Laurent Blume
Eric Covener a écrit : > http://marc.info/?t=11875374893&r=1&w=2 > > If apachectl -V says fcntl is the default (APR_USE_FCNTL_SERIALIZE?) > you can hit this if you have two apache components using the default > type of lock. Yes, it's fnctl(), I understand it's the default on Solaris. > Some

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Laurent Blume
Krist van Besien a écrit : > Two questions: > - Are you using any "third party" modules (ie, modules that didn't > come with the apache source itself)? Yes, PHP 4.4.8. > - Is any part of your apache install on an NFS share? No, all of it is local, including pages, logs, conf, etc. Laurent --

[EMAIL PROTECTED] Authenticating Proxy Server

2008-04-15 Thread Roy Pearce
Hi, We use Apache as an authenticating proxy server to allow off-site students to access IP-restricted ejournal sites. They provide their university credentials which are validated by a RADIUS server. (We have mod_auth_radius + Apache 2.0.63.) Callers configure their Web browsers to use a Pro

Re: [EMAIL PROTECTED] configure mod_perl on apache

2008-04-15 Thread Krishna Chandra Prajapati
Thanks a lot.. On Tue, Apr 15, 2008 at 4:28 PM, Iñigo Medina García < [EMAIL PROTECTED]> wrote: > Krishna Chandra Prajapati wrote: > > > > Hi, > > > > I am new to this group and this is my first mail. > > I would like to know how to configure mod_perl on apache. > > Look at this url: > http://per

Re: [EMAIL PROTECTED] configure mod_perl on apache

2008-04-15 Thread Iñigo Medina García
Krishna Chandra Prajapati wrote: > > Hi, > > I am new to this group and this is my first mail. > I would like to know how to configure mod_perl on apache. Look at this url: http://perl.apache.org/docs/1.0/guide/index.html And welcome! :-) Iñigo > -- > Krishna Chandra Prajapati > MySQL DBA,

AW: [EMAIL PROTECTED] configure mod_perl on apache

2008-04-15 Thread christian.folini
Hi Krishna, Which part of the documentation does not work for you? http://perl.apache.org/ is quite comprehensive. regs, Christian Von: Krishna Chandra Prajapati [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 15. April 2008 12:48 An: users@httpd.apache.org B

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Eric Covener
On Tue, Apr 15, 2008 at 3:43 AM, Laurent Blume <[EMAIL PROTECTED]> wrote: > [Fri Apr 11 18:53:07 2008] [emerg] (45)Deadlock situation > detected/avoided: apr_proc_mutex_lock failed. Attempting to shutdown > process gracefully. http://marc.info/?t=11875374893&r=1&w=2 If apachectl -V says f

[EMAIL PROTECTED] configure mod_perl on apache

2008-04-15 Thread Krishna Chandra Prajapati
Hi, I am new to this group and this is my first mail. I would like to know how to configure mod_perl on apache. -- 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: 991292404

Re: [EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Krist van Besien
On Tue, Apr 15, 2008 at 9:43 AM, Laurent Blume <[EMAIL PROTECTED]> wrote: > Any idea? Two questions: - Are you using any "third party" modules (ie, modules that didn't come with the apache source itself)? - Is any part of your apache install on an NFS share? Krist -- [EMAIL PROTECTED] [EMAIL

Re: [EMAIL PROTECTED] Re: Re: [EMAIL PROTECTED] verse Proxy to serve e-mail

2008-04-15 Thread Krist van Besien
On Tue, Apr 15, 2008 at 4:58 AM, Raja Nagendra Kumar <[EMAIL PROTECTED]> wrote: > I would like to configure apache so that it allows socket proxying i.e all > my intranet systems (i.e browser, outlook) contact apache proxy on single > xyz host and single port. When a request is receviced by apa

Re: [EMAIL PROTECTED] url proxying

2008-04-15 Thread Krist van Besien
On Mon, Apr 14, 2008 at 10:48 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > hi > > Whenever I use ProxyPassReverse, the page could not be displayed. > ProxyPassReverse /psc-web/ https://remoteserver:8443/abc/ You need both. ProxyPass and ProxyPassReverse. What might be happening in your case (

[EMAIL PROTECTED] Apache 2.2.8 hangs on Solaris 9: Deadlock?

2008-04-15 Thread Laurent Blume
Hi all, Okay, the title isn't very descriptive, but I haven't much to work with :-/ We're having a recurrent problem with Apache 2.2 on two Solaris 9 boxes: it hangs, and becomes unresponsive. Connecting to the port 80, the connection is established, but stays stuck, and send no data at all. I t