Re: [EMAIL PROTECTED] RewriteMap with Java RewriteLock

2008-07-16 Thread Anazys - Apache
Thanks for your answer. I already try this but when I write this script, I don't know how to handle the loop with stdin (in the shell script or in the java file ?) : I try this in the shell : #!/bin/sh while read text do java -classpath

[EMAIL PROTECTED] virtual instances

2008-07-16 Thread Melanie Pfefer
Hi, I want to use virtual servers on apache. So I install one server and have several virtual instances each one running on a different port. 1] once apache is installed, what needs to be done to create these virtual instances? 2] each virtual instance should have an htdocs where to put

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: I want to use virtual servers on apache. So I install one server and have several virtual instances each one running on a different port. Hu... why? You can have multiple sites (Virtual HOSTS) without the need for multiple 'instances' of apache running. Why don't you

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Melanie Pfefer
Hi, I added these lines: Listen 80 Listen 81 NameVirtualHost 10.0.100.4:80 NameVirtualHost 10.0.100.4:81 VirtualHost 10.0.100.4:80 ServerName zeus DocumentRoot /usr/local/apache2/htdocs /VirtualHost VirtualHost 10.0.100.4:81 ServerName zeus DocumentRoot /usr/local/apache2/htdocs1

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Krist van Besien
On Wed, Jul 16, 2008 at 09:50, Melanie Pfefer [EMAIL PROTECTED] wrote: When I access http://zeus:80 I get the It works. When I access http://zeus:81, the logs show: [Wed Jul 16 09:37:18 2008] [error] [client 172.21.194.71] client denied by server configuration: /usr/local/apache2/htdocs1/

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: I added these lines: Listen 80 Listen 81 NameVirtualHost 10.0.100.4:80 NameVirtualHost 10.0.100.4:81 VirtualHost 10.0.100.4:80 ServerName zeus DocumentRoot /usr/local/apache2/htdocs /VirtualHost VirtualHost 10.0.100.4:81 ServerName zeus DocumentRoot

Re: [EMAIL PROTECTED] Questions on upgrading Apache version 1.3.x to Version 2.0.x

2008-07-16 Thread Krist van Besien
On Tue, Jul 15, 2008 at 23:49, Sutida Yenjaichon [EMAIL PROTECTED] wrote: I have downloaded the Apache version 2.0.63 to replace the Apache version 1.3.x. It works except the ASP part. The informaiton entered on the web has not been posted to the database. And the email function does not work.

Re: [EMAIL PROTECTED] proxypass problems

2008-07-16 Thread Chris Cohen
Replaying to myself... after some coffee I figured out I missed a slash. ProxyHTMLURLMap /mirror/ / and the links are ok. So theres only the icons problem left. I tried something like ProxyHTMLURLMap /mirror/icons/ /icons and ../icons but neither of them works. It looks like its getting

[EMAIL PROTECTED] Subsecond request time logging

2008-07-16 Thread pthyseba
Hello, After reading the Apache 2.0 log format documentation, I wanted to log request info with sub-second (microsecond) precision. Each request's processing time can be logged wityh microsecond resolution using %D. Looking into man strftime, however, I cannot find any formatting directive that

[EMAIL PROTECTED] Why is mod_limitipconn in Ubuntu 8.04 not working?

2008-07-16 Thread Jimmy Snell
Dear David, I am the administrator of a website, and I found that some users make lots of HTTP connections to my website. After searching for answers to this problem, I tried to use your Apache module mod_limitipconn. However, there is a problem for me to use this module: this module is not

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Melanie Pfefer
hi Is it possible to start or stop 1 virtual host and keep the others running? Is it possible to have seperate httpd.conf? thanks --- On Wed, 16/7/08, Davide Bianchi [EMAIL PROTECTED] wrote: From: Davide Bianchi [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] virtual instances To: Melanie

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: hi Is it possible to start or stop 1 virtual host and keep the others running? Using the 'graceful' option the server is restarted without breaking connections, but no, you can't stop/start a VHost alone. Is it possible to have seperate httpd.conf? Sure, you can

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Severin Gehwolf
Hi! Is it possible to start or stop 1 virtual host and keep the others running? As one httpd binary would server several virtual hosts you would not be able to stop one virtual host by stopping the httpd process. However, an easy workaround would be to include only specific virtual host

[EMAIL PROTECTED] moving apache installation directory

2008-07-16 Thread Melanie Pfefer
Hi I installed apache under /usr/local/apache2 this might change later on. Would it be sufficient to move the directory to the new location and start the http service again? thanks. __ Not happy with your email address?. Get the

Re: [EMAIL PROTECTED] moving apache installation directory

2008-07-16 Thread Davide Bianchi
Melanie Pfefer wrote: Hi I installed apache under /usr/local/apache2 this might change later on. Would it be sufficient to move the directory to the new location and start the http service again? Check in your configuration file where the various parts (modules and so on) are referred

Re: [EMAIL PROTECTED] Why is mod_limitipconn in Ubuntu 8.04 not working?

2008-07-16 Thread Eric Covener
On Wed, Jul 16, 2008 at 6:02 AM, Jimmy Snell [EMAIL PROTECTED] wrote: However, then I tried to test whether this module was working. I used the ab command to test from my machine: ab -n 100 -c 100 http://www.myhost.com Unfortunately, I found on my server that it showed there are 2620

Re: [EMAIL PROTECTED] set http header with mod_rewrite

2008-07-16 Thread Severin Gehwolf
Hi! Here are more details: I have an apache server (front.example.com) configured as a reverse proxy, and requests are actually handled by apache servers not directly reachable from the outside. Those apache servers (back1listening on 10.0.0.1 and back2 on 10.0.0.2) are configured for

[EMAIL PROTECTED] WG: Mod_ssl Problems? - Additional information

2008-07-16 Thread Wulf Kaiser
Dear All, Here some additional information about how httpd was build and how SSL is test-configured. The certificates are borrowed from our Intranet Server. The test configuration is basically a stripped-down version of the configuration running under Solaris 9 since 4 years now. Liebe

Re: [EMAIL PROTECTED] set http header with mod_rewrite

2008-07-16 Thread Raphael Bauduin
On Wed, Jul 16, 2008 at 2:54 PM, Severin Gehwolf [EMAIL PROTECTED] wrote: Hi! Here are more details: I have an apache server (front.example.com) configured as a reverse proxy, and requests are actually handled by apache servers not directly reachable from the outside. Those apache servers

Re: [EMAIL PROTECTED] set http header with mod_rewrite

2008-07-16 Thread Nikhil
On Wed, Jul 16, 2008 at 6:33 PM, Raphael Bauduin [EMAIL PROTECTED] wrote: On Wed, Jul 16, 2008 at 2:54 PM, Severin Gehwolf [EMAIL PROTECTED] wrote: Hi! Here are more details: I have an apache server (front.example.com) configured as a reverse proxy, and requests are actually handled

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Melanie Pfefer
Actually I am looking for 1 apache installation Have independent instances: logs, conf and bin. VHosts does not seem to have a log, conf and bin for each instance . Could you please advise? thx --- On Wed, 16/7/08, Severin Gehwolf [EMAIL PROTECTED] wrote: From: Severin Gehwolf [EMAIL

Re: [EMAIL PROTECTED] RewriteMap with Java RewriteLock

2008-07-16 Thread Eric Covener
On Wed, Jul 16, 2008 at 3:01 AM, Anazys - Apache [EMAIL PROTECTED] wrote: Thanks for your answer. I already try this but when I write this script, I don't know how to handle the loop with stdin (in the shell script or in the java file ?) : I try this in the shell : #!/bin/sh

[EMAIL PROTECTED] Bugs of mod_proxy

2008-07-16 Thread Anand Kulkarni
Hi, Are there any well known bugs from mod_proxy module? regards, Anand

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Severin Gehwolf
On Wed, 2008-07-16 at 13:10 +, Melanie Pfefer wrote: Actually I am looking for 1 apache installation Have independent instances: logs, conf and bin. VHosts does not seem to have a log, conf and bin for each instance . Why would you need independent instances of bin? Concerning logs

Re: [EMAIL PROTECTED] Bugs of mod_proxy

2008-07-16 Thread WHIRLYCOTT
https://issues.apache.org/bugzilla/buglist.cgi?quicksearch=mod_proxy On Jul 16, 2008, at 10:38 AM, Anand Kulkarni wrote: Hi, Are there any well known bugs from mod_proxy module? regards, Anand - The official User-To-User

[EMAIL PROTECTED] Intrusion detection based on Apache's logs?

2008-07-16 Thread Jordi Prats
Hi all, Do you know any IDS based on apache log analysis? What's you experience with them? Which one do you think is best? Thanks, -- Jordi - The official User-To-User support forum of the Apache HTTP Server Project. See

[EMAIL PROTECTED] overriding mod_proxy headers with mod_expires

2008-07-16 Thread WHIRLYCOTT
I have Apache 2.2.3 going against a servlet engine. I have some static content that is hosted by the servlet engine (css, jpegs, etc.). Whenever a request without a JSESSIONID cookie hits the servlet engine, the servlet engine sends back a Cache-control: no- cache header and an Expires

Re: [EMAIL PROTECTED] RewriteMap with Java RewriteLock

2008-07-16 Thread Anazys - Apache
My Java class read from stdin (System.in), the main problem is the loop : with the while read text, there is an infinite loop. But when I only write a call from the shell to the java class : #!/bin/sh java -classpath /path/to/java/class/ MainClass It work perfectly the first

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread William A. Rowe, Jr.
Melanie Pfefer wrote: Hi, Actually I want to have different customers that use different apache servers without the need to install many apache servers. I thought of reusing the http binary. Could you please help in this regard? Should I simply copy the httpd.conf and change the logs

Re: [EMAIL PROTECTED] virtual instances

2008-07-16 Thread Dragon
Melanie Pfefer wrote: Hi, Actually I want to have different customers that use different apache servers without the need to install many apache servers. I thought of reusing the http binary. Could you please help in this regard? Should I simply copy the httpd.conf and change the logs

Re: [EMAIL PROTECTED] set http header with mod_rewrite

2008-07-16 Thread Raphael Bauduin
On Wed, Jul 16, 2008 at 3:06 PM, Nikhil [EMAIL PROTECTED] wrote: eg: RewriteRule ^/(.*)$ http://www/~me/printenv.cgi [L,P,E=remoteUser:%{LA-U:REMOTE_USER}] RequestHeader set X_REMOTE_USER %{remoteUser}e RequestHeader add X-H-USER %{remoteUser}e I can't get this to work. Are you sure

[EMAIL PROTECTED] Send a request to another apache server

2008-07-16 Thread Chris Arnold
Using apache2 2.2.3 on SLES10 SP2. What we have: 1 webserver on 123 subnet. Answers for port 80 1 email server with it's own small apache server on 124 subnet answers for port 8080 1 firewall/router with 1 IP (forwards to internal server addresses) What we want to do: When users enter some

[EMAIL PROTECTED] Apache 1.3.41 download website

2008-07-16 Thread Sutida Yenjaichon
Could you advise the website I can download Apache version 1.3.41 for Win32. I don't see any .msi file download paackage (like apache_1.3.41-win32-x86-no_ssl.msi) on the main Apache website? Please help. Thank you very much.

Re: [EMAIL PROTECTED] Apache 1.3.41 download website

2008-07-16 Thread William A. Rowe, Jr.
Sutida Yenjaichon wrote: Could you advise the website I can download Apache version 1.3.41 for Win32. I don't see any .msi file download paackage (like apache_1.3.41-win32-x86-no_ssl.msi) on the main Apache website? You are so strongly discouraged from using it, that it's not there. This

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-16 Thread Chris Arnold
Hi, Hi VirtualHost webmail.domain.com:80 ServerName domain.com RedirectPermanent / https://destination.domain.com /VirtualHost So, this is what i have in my vhost.conf file: VirtualHost webmail.some-domain.com:80 ServerName some-domain.com RedirectPermanent /

[EMAIL PROTECTED] Re: Why is mod_limitipconn in Ubuntu 8.04 not working?

2008-07-16 Thread Jimmy Snell
Dear David, Thank you for your kindly and quick reply. I am sorry that I thought the limitipconn module would totally prevent the DoS attacker from connecting to TCP 80 port. BTW, I am not sure how Apache and its DSOs work internally. But I wonder whether there is a way to achieve the result I

[EMAIL PROTECTED] Any replacement of mod_proxy?

2008-07-16 Thread Anand Kulkarni
Hi, We have used mod_proxy in our project for configuring proxy server between TCP client and TCP server. But, mod_proxy has not been able to forward the complete client data to the server. I think it is a bug with mod_proxy. We have another option called mod_athena. In that also it did not

[EMAIL PROTECTED] 403 Errors and Virtual Hosts

2008-07-16 Thread Rob
Hi there, Just wondering if some one could give me a hand with my Virtual Host # mysite VirtualHost 0.0.0.0:80 http://0.0.0.0/ ServerName mysite.co.nz RewriteEngine on RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.mysite.co.nz/$1 [NE,R] /VirtualHost VirtualHost 0.0.0.0:80