Re: [EMAIL PROTECTED] (again) Can not define "default" name virtual host

2006-06-29 Thread Brian Rectanus
On 6/27/06, Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > > > > Now when a request arrives, the server will first check if it is using an IP > > address that matches the NameVirtualHost. If it is, then it will look at > > each section with a matching IP address and try to find one > >

Re: [EMAIL PROTECTED] Switching between HTTP and HTTPS

2006-06-20 Thread Brian Rectanus
You want anything with 'crypt' in the url to be redirected, but everything else sent through reverse proxy, correct (although that does not make much sense)? The ProxyPass is handled first, so use RewriteRule w/[P] instead. Also I am a bit confused on the localhost below, is that just a placehol

Re: [EMAIL PROTECTED] Retrieve value from notes table into ENV var or similar

2006-06-14 Thread Brian Rectanus
On 6/8/06, Brian Rectanus <[EMAIL PROTECTED]> wrote: On 6/7/06, Nick Kew <[EMAIL PROTECTED]> wrote: > On Wednesday 07 June 2006 21:54, Brian Rectanus wrote: > > Does anyone know of a way to retrieve a value from the notes table > > into an ENV var or otherwise u

Re: [EMAIL PROTECTED] Retrieve value from notes table into ENV var or similar

2006-06-08 Thread Brian Rectanus
On 6/7/06, Nick Kew <[EMAIL PROTECTED]> wrote: On Wednesday 07 June 2006 21:54, Brian Rectanus wrote: > Does anyone know of a way to retrieve a value from the notes table > into an ENV var or otherwise use it within an apache conf? Notes are per-request. They don't exist

[EMAIL PROTECTED] Retrieve value from notes table into ENV var or similar

2006-06-07 Thread Brian Rectanus
Does anyone know of a way to retrieve a value from the notes table into an ENV var or otherwise use it within an apache conf? All I can find is docs on how to use it in logs, but not actually base a decision on the value or use it in a RewriteRule, etc. Specifically, I want to know what route th

Re: [EMAIL PROTECTED] trying to make so-called generic apache work with oracle app server 10.1.3's oc4j

2006-05-31 Thread Brian Rectanus
On 5/31/06, Nick Kew <[EMAIL PROTECTED]> wrote: On Wednesday 31 May 2006 09:25, Imre Oolberg wrote: > Dear people, > > I have an assignment to deploy Oracle Application Server 10.1.3's OC4J > component behind Generic Apache v. 2.0.x webserver Why 2.0? Upgrade to 2.2 and it supports oracle direc

Re: [EMAIL PROTECTED] ProxyPass and reverse

2006-05-30 Thread Brian Rectanus
On 5/29/06, Giovanni <[EMAIL PROTECTED]> wrote: On 10:13, lunedě 29 maggio 2006, Axel-Stéphane SMORGRAV wrote: > It is really hard to understand exactly what your problem is because your > description is so sketchy. My understanding is that when you request > http://pippo/ntop/showPlugins.html?ic

Re: [EMAIL PROTECTED] separate logs for aliases

2006-05-26 Thread Brian Rectanus
On 5/26/06, Shai <[EMAIL PROTECTED]> wrote: But everyone told me that each site needs its own IP or port to run on when it comes to SSL It does. It is impossible to do name based vhosting w/SSL because of how SSL works. SSL must negotiate before the HTTP Host header can be seen. I don't

Re: [EMAIL PROTECTED] Apache 2.2.2 having connection problems

2006-05-26 Thread Brian Rectanus
On 5/26/06, Graham Frank <[EMAIL PROTECTED]> wrote: CPU: Dual Opteron 270 OS: CentOS 4.3 x86_64 Kernel: 2.6.16.5 Hey all, Ever since upgrading to Apache 2.2.2, I've noticed that once every day or so, Apache stops closing connections properly. Just now, we had 787 requests being processed yet t

Re: [EMAIL PROTECTED] separate logs for aliases

2006-05-26 Thread Brian Rectanus
On 5/26/06, Shai <[EMAIL PROTECTED]> wrote: On 5/26/06, Brian Rectanus <[EMAIL PROTECTED]> wrote: > On 5/25/06, Shai <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Since I'm a home user and I only have 1 IP but I still want to make > > access to

Re: [EMAIL PROTECTED] separate logs for aliases

2006-05-25 Thread Brian Rectanus
On 5/25/06, Bill Angus <[EMAIL PROTECTED]> wrote: You can use one IP and have a secure-server as well as a name-based virtual hosting server for port 80. Just run two instances of Apache. The apache monitor is capable of reporting and controlling both. You are right that using name-based hosti

Re: [EMAIL PROTECTED] separate logs for aliases

2006-05-25 Thread Brian Rectanus
On 5/25/06, Shai <[EMAIL PROTECTED]> wrote: Hi, Since I'm a home user and I only have 1 IP but I still want to make access to my SSL secured sites, I decided I can't use vhosts since those either need to configure different ports or separate IP per vhost. So what I want to use now are aliases l

Re: [EMAIL PROTECTED] mod_rewrite

2006-05-24 Thread Brian Rectanus
On 5/24/06, Bob Smith <[EMAIL PROTECTED]> wrote: On 5/24/06, Robert Ionescu <[EMAIL PROTECTED]> wrote: > Bob Smith wrote: > > I'm trying to remove two directories from the path of a website, but I just > > can't seem to get the mod_rewrite syntax right. > > > > I have a url coming in with a url

Re: [EMAIL PROTECTED] ProxyPass and reverse

2006-05-24 Thread Brian Rectanus
What version of mod_proxy_html? ProxyHTMLURLMap / /ntop/ The above can replace all occurences of '/' with '/ntop/', which is what is happening (Logic is 'starts-with' in HTML links, but 'contains' in scripting events and embedded script and style sections). Try Regular expression mapping in mod

Re: [EMAIL PROTECTED] url reformat - howto

2006-05-19 Thread Brian Rectanus
Argh, this was supposed to go to the list, too... From: Brian Rectanus <[EMAIL PROTECTED]> Date: May 19, 2006 9:14 AM Subject: Re: [EMAIL PROTECTED] url reformat - howto To: [EMAIL PROTECTED] Well, that is wrong, too: ProxyPass /mydir http://www.domain.com:8080/mydir/ sho

Re: [EMAIL PROTECTED] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

2006-05-19 Thread Brian Rectanus
I noticed this the other day. It happens whenever you stop the service as well. I have not dug any deeper into it, though. I am on RedHat AS3 and Apache 2.2.2. -B On 5/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I've spent hours googling and asked about this error message on a PHP li

Re: [EMAIL PROTECTED] url reformat - howto

2006-05-18 Thread Brian Rectanus
What you had will strip the mydir off at the backend. ProxyRequests off ProxyPass /mydir/ http://www.mydomain.com:8080/mydir/ -B On 5/18/06, Oliver A. Rojo <[EMAIL PROTECTED]> wrote: Krist van Besien wrote: > On 5/18/06, Oliver A. Rojo <[EMAIL PROTECTED]> wrote: > >> Hi all! >> >> Im running

Re: [EMAIL PROTECTED] Keeping Redirect working even if ProxyPass active?

2006-05-17 Thread Brian Rectanus
On 5/17/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 5/17/06, Bryce Nesbitt <[EMAIL PROTECTED]> wrote: > I have a working Apache 1.3 config that does this: > > > Redirect permanent /crm/maps/eastbay/index.shtml > http://www.citycarshare.org/eastbaymap.do > Redirect permanent /crm/map

Re: [EMAIL PROTECTED] Keeping multiple logs in central location

2006-05-16 Thread Brian Rectanus
mod_log_spread is great, but what I have also done in the past is to use cronolog as a pipe to place logs into .../hostname//MM/DD/hh-access_log. Then run a cron job from your stats server to move the files onto the stats server that are >1h old (ie rotated), merge them with the other machine

Re: [EMAIL PROTECTED] Log File Name

2006-05-16 Thread Brian Rectanus
On 5/15/06, Michael Elias <[EMAIL PROTECTED]> wrote: I have a webfarm using a common httpd.conf for four machines connected to a SAN. I would like to find a way to name the logfiles with the hostname to identify what machine they came from. I tried passing a shell variable like below; CustomLo

Re: [EMAIL PROTECTED] ProxyPassReverse on Windows

2006-05-16 Thread Brian Rectanus
Load the proxy module, mod_proxy? On 5/15/06, Avraham Shapiro <[EMAIL PROTECTED]> wrote: ** Low Priority ** Hi, I'm trying to run Apache 2.2 under Win 2k and get ProxyPassReverse = working. I turned on mod_rewrite as required but the line: ProxyPassReverse / http://in-addr=20 causes problem

[EMAIL PROTECTED] Re: mod_proxy_balancer stickysession issues

2006-05-15 Thread Brian Rectanus
On 5/11/06, Brian Rectanus <[EMAIL PROTECTED]> wrote: Brian Rectanus wrote: > Hello all, > > I am having problems with mod_proxy_balancer and sticky sessions in > 2.2.0 - 2.2.2. > > Here is what I have: > > NameVirtualHost *:80 > Listen 80 > > ... >

Re: [EMAIL PROTECTED] LINUX: writing logfiles into named pipe ?

2006-05-14 Thread Brian Rectanus
I do this all the time and have no problems with it. I usually do this to filter logs and organize them into an archivable structure with cronolog. Sounds like your problem is that httpd is blocking because there is no reader on the pipe. Make sure whatever is reading from the pipe is doing so

Re: [EMAIL PROTECTED] https to http proxy with Apache

2006-05-12 Thread Brian Rectanus
On 5/12/06, Bo Najdrovsky <[EMAIL PROTECTED]> wrote: Boyle Owen wrote: > Let's focus on this bit: > > >> however whenever there is an incoming POST >> from a form in the web application, the response from the >> Tomcat causes >> a switch to HTTP, where I need it to remain HTTPS. >> > > I'm not su

Re: [EMAIL PROTECTED] passing request to the server

2006-05-12 Thread Brian Rectanus
I'll assume you are just testing some code and trying to learn. In that case, I think you just overlooked a missed else in there (better indention might help see that): if (!strcmp(r->uri,"/tiago/precisas/index1.htm")){ r->uri = "/tiago/imprecisas/index1.htm"; } /* Insert else he

[EMAIL PROTECTED] Re: mod_proxy_balancer stickysession issues

2006-05-11 Thread Brian Rectanus
Brian Rectanus wrote: Hello all, I am having problems with mod_proxy_balancer and sticky sessions in 2.2.0 - 2.2.2. Here is what I have: NameVirtualHost *:80 Listen 80 ... BalancerMember http://server1:8000 route=server1 BalancerMember http://server2:8000 route=server2

[EMAIL PROTECTED] mod_proxy_balancer stickysession issues

2006-05-11 Thread Brian Rectanus
Hello all, I am having problems with mod_proxy_balancer and sticky sessions in 2.2.0 - 2.2.2. Here is what I have: NameVirtualHost *:80 Listen 80 ... BalancerMember http://server1:8000 route=server1 BalancerMember http://server2:8000 route=server2 ProxyPass / balancer://apps/