[EMAIL PROTECTED] Password protecting a directory without .htaccess

2005-08-18 Thread theshz
Hi, I'm trying to password protect a directory. The usual approach is to use .htaccess files, which requires BasicAuthentication. The problem I have is that my website already has a custom login/logout feature, so I can't ask the user to type in name/password again to access the protected directory

[EMAIL PROTECTED] Apache Password Issue

2005-08-18 Thread Sean Mcallister
Hi, I have two directories, but of which are password protected in a similar manner, though the username/password for each is different.  One directory behaves like I expect, and prompts you for a password when you first go to it, then keeps you authenticated while you go to various links in the di

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Khoa Nguyen
Thank you. That does the trick quite nicely! KhoaOn 8/18/05, Ivan Barrera A. <[EMAIL PROTECTED]> wrote: Khoa Nguyen wrote:> Thanks for your quick response. I have tried to configure two name-based> virtual hosts on my server machine: server5.com < http://server5.com> and> server6.com

Re: [EMAIL PROTECTED] Why does Apache use up all my memory?

2005-08-18 Thread Joe Orton
On Thu, Aug 18, 2005 at 02:48:26PM -0400, George Adams wrote: > Joe, I just wanted to thank you again. The byterange patch you gave me > worked just beautifully. Great, thanks for the feedback. I've proposed this for backport to the 2.0.x branch now so it should show up in a 2.0.x release even

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Ivan Barrera A.
Khoa Nguyen wrote: > Thanks for your quick response. I have tried to configure two name-based > virtual hosts on my server machine: server5.com and > server6.com . In the request, I specified "Host: > whatever.com ". The server still sen

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Khoa Nguyen
Thanks for your quick response. I have tried to configure two name-based virtual hosts on my server machine: server5.com and server6.com. In the request, I specified "Host: whatever.com". The server still sends a page back from server5.com. How do I enforce the server to send some negative message

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Joshua Slive
On 8/18/05, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: > Why is that your issue? This is how google configured their servers. > > Read the NameVirtualHost directive; all requests to an unrecognized > host will be routed to the first (default) named virtual host in the > config. > > You didn

Re: [EMAIL PROTECTED] how can i search the APACHE.org archives

2005-08-18 Thread Joshua Slive
On 8/18/05, MEENA SELVAM <[EMAIL PROTECTED]> wrote: > This link doesnt include search facility > http://mail-archives.apache.org/mod_mbox/httpd-users/ > > is there any other link where i can search thru the > httpd.apache.org archive Somebody was working on adding search to the archives, but I th

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread William A. Rowe, Jr.
Why is that your issue? This is how google configured their servers. Read the NameVirtualHost directive; all requests to an unrecognized host will be routed to the first (default) named virtual host in the config. You didn't expect Host: to act as some proxy service, did you? Khoa Nguyen wrote

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Ivan Barrera A.
Khoa Nguyen wrote: > Hi, > > I don't quite understand the use of the Host: header field in HTTP 1.1 > request. For example, I wrote a simple script to connect to > www.google.com on port 80. After the connection, > I send the following GET request: > > GET / HTTP/1.1 > Hos

[EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Khoa Nguyen
Hi, I don't quite understand the use of the Host: header field in HTTP 1.1 request. For example, I wrote a simple script to connect to www.google.com on port 80. After the connection, I send the following GET request: GET / HTTP/1.1 Host: whatever.com ... The web server doesn't seem to care what

[EMAIL PROTECTED] How to solve this descriptor problem on solaris 8 and apache 1.3.33

2005-08-18 Thread Harald Falkenberg
Hallo, in the error log of the apache server (version 1.3.33) I noticed the following lines: [Wed Aug 17 12:48:49 2005] [warn] send body: filedescriptor (1220) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE The server is configured with 70 share

Re: [EMAIL PROTECTED] Why does Apache use up all my memory?

2005-08-18 Thread George Adams
Joe, I just wanted to thank you again. The byterange patch you gave me worked just beautifully. Once I understood what the problem was, I was able to test it more thoroughly. I took a copy of Star Downloader and configured it to split up a single file into 10 chunks for faster downloading.

[EMAIL PROTECTED] how can i search the APACHE.org archives

2005-08-18 Thread MEENA SELVAM
This link doesnt include search facility http://mail-archives.apache.org/mod_mbox/httpd-users/ is there any other link where i can search thru the httpd.apache.org archive meena __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protect

[EMAIL PROTECTED] sessions with mod_proxy? (RE: mod_proxy+ PHP as an output filter not working)

2005-08-18 Thread R Mills
What I'm really trying to do is add a session capability (cookie-setting + associated storage) to the reverse proxy server, so I can store certain information about the user throughout their session, including as they go through several of the reverse-proxy vhosts. I couldn't find an obvious way t

Re: [EMAIL PROTECTED] Re: Request jsp pages from server and store them on disk

2005-08-18 Thread John Hicks
Erik Labree wrote: Davide Bianchi onlyforfun.net> writes: Erik Labree wrote: To generate those local file we need to have a tool/script that looks at the directory structure of the webapplication and does requests to the pages it can see and save each page as plain text in the same director

[EMAIL PROTECTED] Help!!! Problem with cronolog 1.6.1 and apache 2.0.47 on windows 2000

2005-08-18 Thread Michael Lu
Hi, We use cronolog to rotate the apache logs. It causes some problems so I wondering if anybody know the issues and how to solve them. 1. There are 12 cronolog processes running all the time in the background. We only rotate 6 apache logs. And I thought cronolog will only be invoked when there

Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-18 Thread Tony VanScoy
On 8/18/05, Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote: > A redirection (HTTP 302 or friends) does not return any contents. It merely > directs the browser to request another URL which will hopefully return the > PDF document. That response should contain the header "Content-Type: > appli

RE: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-18 Thread Axel-Stéphane SMORGRAV
A redirection (HTTP 302 or friends) does not return any contents. It merely directs the browser to request another URL which will hopefully return the PDF document. That response should contain the header "Content-Type: application/pdf" - not the redirect. Setting the header in a redirect will h

Re: [EMAIL PROTECTED] Redirect conditional on SSL/non-SSL

2005-08-18 Thread Brian Candler
On Wed, Aug 17, 2005 at 01:26:52PM +0200, Mads Rosendahl wrote: > Hi Brian, > > A very simple solution that works on any type of webserver is to replace > the standard 403.4 > "SSL Required" error document with some sort of automatic redirect code. > In apache.conf > you would put e.g. > > Err

RE: [EMAIL PROTECTED] Strange qustion - how to prevent apache delay?

2005-08-18 Thread Charlie Smith
Did you debug the code? RE: Yes. Problem only occurs with large data set. Throw in some timers? RE: What would we be timing. Run some stats on your queries? RE: Explain plan on queries look good. I do not think that any of the process timeouts will do anything for you, but I think you alr

Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-18 Thread Tony VanScoy
> Just one thing: why do you set the Content-Type [T] of a redirect [R]?? > > -ascs Because I'm new and I don't know any better. I figure that since I'm sending a PDF, why not set the type? Am I wrong for doing this? - The offic

Re: [EMAIL PROTECTED] mod_proxy + PHP as an output filter not working

2005-08-18 Thread Nick Kew
R Mills wrote: Kind of an interesting problem: I am using mod_proxy to reverse proxy a site. In addition I am trying to use PHP as an output filter to do session tracking on the proxy server. PHP by itself as an output filter works fine. But when it is combined with mod_proxy, it does not appea

[EMAIL PROTECTED] Re: Request jsp pages from server and store them on disk

2005-08-18 Thread Erik Labree
Davide Bianchi onlyforfun.net> writes: > > Erik Labree wrote: > > To generate those local file we need to have a tool/script that looks at the > > directory structure of the webapplication and does requests to the pages it > > can > > see and save each page as plain text in the same directory st

Re: [EMAIL PROTECTED] Request jsp pages from server and store them on disk

2005-08-18 Thread Davide Bianchi
Erik Labree wrote: > To generate those local file we need to have a tool/script that looks at the > directory structure of the webapplication and does requests to the pages it > can > see and save each page as plain text in the same directory structure as the > webapp to the file system. > Are the

[EMAIL PROTECTED] Request jsp pages from server and store them on disk

2005-08-18 Thread Erik Labree
Hi there, I'm currently working on a project where we use Apache webserver with tomcat. We have a client app which does requests to the webserver and the client gets the response back from apache this is working great. Now we want the client to also work in a offline mode where there won't and can

RE: [EMAIL PROTECTED] RewriteMap and sending more then 1 var

2005-08-18 Thread Axel-Stéphane SMORGRAV
Just one thing: why do you set the Content-Type [T] of a redirect [R]?? -ascs -Original Message- From: Tony VanScoy [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 10:06 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] RewriteMap and sending more then 1 var > Hav