Re: [EMAIL PROTECTED] mod_proxy incorrectly decodes %2C when proxying URL to back-end?

2006-09-07 Thread Robert Jaeschke
Hello Jeff, Jeff Ambrosino schrieb: > We have a mod_proxy (2.0.54) front-end proxying to a back-end MS IIS > server. One type of URL that we use is causing problems because > mod_proxy is decoding an encoded comma in the URL as it proxies the > request to the back-end (we determined this with a p

RE: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-07 Thread Rob Sterenborg
ganesh ganesh wrote: > Also check with the following perl module presence: > > DBD::mysql, Bundle::DBD::mysql, Bundle::DBI, DBI, DBI::DBD It worked before without all those Perl modules. Can you explain why I need Perl modules to get Apache, APR-DBD and MySQL working n

[EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Jacky
Dear Greg, I agree with you, 404 is definitely better. Anyway, I have found the solution. Just modify your virtual host to something like this: ... # do not remove, otherwise apache will serve the jsp source code once resin is down AddHandler caucho-request .jsp ... Thank you all f

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-07 Thread ganesh ganesh
Also check with the following perl module presence:DBD::mysql, Bundle::DBD::mysql, Bundle::DBI, DBI, DBI::DBDOn 9/8/06, ganesh ganesh <[EMAIL PROTECTED]> wrote: Hi,    Some of this may sound basic.. but check and post back if the problem still persists...1. Does the mysql.sock present as you h

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-07 Thread ganesh ganesh
Hi,    Some of this may sound basic.. but check and post back if the problem still persists...1. Does the mysql.sock present as you have porivided in my.cnf?2. Do you have the following Perl Modules:  DBD::MaxDB & Apache::DBI 3. Do you have configured your php with the --with-mysql if you use m

Re: [EMAIL PROTECTED] Problem with Apache2 FQDN

2006-09-07 Thread Dave Klema
Thanks, Sounds like this is a normal behavior with name based virtual hosting??? I'm using Citadel (which is an awesome email/groupware/bbs platform www.citadel.org) and they have a sendmail wrapper. I think the wrapper program is working because I get emails from cron and such but not from any

[EMAIL PROTECTED] Apache win32 log rotating

2006-09-07 Thread Oliver Marshall
Can anyone recommend a script or app or some other reliable method for rotating log files daily on a windows install of apache ? Thanks Olly - The official User-To-User support forum of the Apache HTTP Server Project. See http:

[EMAIL PROTECTED] Logging Response time in access log

2006-09-07 Thread apacheuser123
Hi, Is there a way to log the time taken to process a request in milliseconds precision ? The documentation for %T says it can only logs the time in seconds. Thanks in advance, S Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.

Re: [EMAIL PROTECTED] Problem with Apache2 FQDN

2006-09-07 Thread Sander Temme
On Sep 7, 2006, at 10:22 AM, Dave Klema wrote: Hello, I'm getting the famous warning when starting/restarting apache... "apache2: Could not determine the server's fully qualified domain name, using 192.168.15.252 for ServerName" As far as I know, this is usually a harmless emit. If you want

[EMAIL PROTECTED] Re: CGI runs wrong program - security issue

2006-09-07 Thread Hugh Williams
Robert Frank wrote: > Hi, > > I've stumbled accross a peculiar problem with httpd apache 2.0.47 on > solaris 9 at my other working place: > > the configuration includes a cgi-alias and an appropriate directory > directive to execute cgi programs (perl scripts in our case, but > that's irrel

[EMAIL PROTECTED] Problem with Apache2 FQDN

2006-09-07 Thread Dave Klema
Hello, I'm getting the famous warning when starting/restarting apache... "apache2: Could not determine the server's fully qualified domain name, using 192.168.15.252 for ServerName" I have a valid domain name. I'm hosting two websites on my server box using Name-based virtual host. My question

[EMAIL PROTECTED] mod_proxy incorrectly decodes %2C when proxying URL to back-end?

2006-09-07 Thread Jeff Ambrosino
We have a mod_proxy (2.0.54) front-end proxying to a back-end MS IIS server. One type of URL that we use is causing problems because mod_proxy is decoding an encoded comma in the URL as it proxies the request to the back-end (we determined this with a packet sniffer): between browser and mod_pro

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Joshua Slive
On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: Hi no this did not work, I have this Apache error in the logs [Thu Sep 07 00:51:50 2006] [error] [client 192.168.4.90] File does not exist: /usr/htdocs And on the access_log I get the 404 Error -- "GET / HTTP/1.1" 404 270 "-" "Mozilla/5.0 (Mac

Re: [EMAIL PROTECTED] No virt hosts but need suexec for directories

2006-09-07 Thread Joshua Slive
On 9/7/06, Jason Milley <[EMAIL PROTECTED]> wrote: I have considered cgiwrap for this however cgiwrap requires changes to the URLs to embed the cgiwrap wrapper. This would mean application changes and redirection due to existing URLs people have bookmarked. Seems kludgy. I think cgiwrap is th

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Arjun Datta wrote: > Hi Folks, > > Simple question, > > I was reading the documentation for mod_proxy module in version 2.2 on the > apache.org website and I was a little confused by the difference between > forward and reverse proxies. > > My understanding: > Forward returns the addresses and reve

[EMAIL PROTECTED] Balancing ajp with 2.2.3

2006-09-07 Thread Peter Howarth
I have the following httpd-mod-proxy.conf configuration: Order deny,allow Allow from all BalancerMember ajp://136.9.251.105:8007/ BalancerMember ajp://136.9.251.106:8007/ ProxyPass / balancer://etis/ stickysession=jsessionid nofailover=Off ProxyPassReverse / balanc

Re: [EMAIL PROTECTED] Proxy Problem

2006-09-07 Thread Marco Mans
Hi Chris! That's it! Now it works perfectly. Thanks allot!!! Greetings, Marco - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscri

[EMAIL PROTECTED] No virt hosts but need suexec for directories

2006-09-07 Thread Jason Milley
I have a need to run different CGI programs as different user IDs and turned to suexec. The problem is that suexec only works for virtual hosts and/or user directories. My setup uses neither virtual hosts nor user directories. In suexec terms I understand the following: Using Virtual Hosts http

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Joshua Slive wrote: > On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: > >> >> [1] >> >> [2]ServerName domain.tld >> [3]RewriteEngine on >> [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$ >> [5]RewriteRule ^(.+) >> %{HTTP_HOST}$1[C]

RE: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Arjun Datta
Hi Folks, Simple question, I was reading the documentation for mod_proxy module in version 2.2 on the apache.org website and I was a little confused by the difference between forward and reverse proxies. My understanding: Forward returns the addresses and reverse (default) returns the content.

Re: [EMAIL PROTECTED] link to ab with ssl support

2006-09-07 Thread William A. Rowe, Jr.
It's all spelled out - but the 'magic' you are specifically interested in is the abs.dsp project, which enables SSL and sets the path to the srclib/openssl/ tree (you can create a junction to your SSL tree, or you can add that to INCLUDE and LIB paths.) Building the abs target compiles in openssl

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Joshua Slive
On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: [1] [2]ServerName domain.tld [3]RewriteEngine on [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$ [5]RewriteRule ^(.+) %{HTTP_HOST}$1[C] [6]RewriteRule *([^.]+)*\.domain\.tl

Re: [EMAIL PROTECTED] apache 1.3.33 respond to HTTP/1.1 request in HTTP/1.0

2006-09-07 Thread Joshua Slive
On 9/7/06, taiska <[EMAIL PROTECTED]> wrote: HTTP/1.0 200 OK Date: Wed, 06 Sep 2006 12:28:55 GMT Server: Apache/1.3.33(Debian GNU/Linux) PHP/4.3.10-16 X-Powered-By: PHP/4.3.10-16 Status: 453 My text Content-Type: text/html X-Cache: MISS from my.server.com X-Cache-Loop: None The X-Cache* header

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Gregor Schneider
Jack, you're better of with a 404 rather than the source, hm? Take a look at the apache access-logs: What's the url causing a 404? What's the url when getting a 200? Is there a difference? Cheers Greg -- what's puzzlin' you, is the nature of my game ---

Re: FW: [EMAIL PROTECTED] use the apache as a proxy server with caching

2006-09-07 Thread Joshua Slive
On 9/7/06, Hasson Yehudit <[EMAIL PROTECTED]> wrote: Someone can help me? I have some questions related to the configuration of apache 2.2. I am working on Unix and I want to use the apache as a proxy server with caching. I used --enable-proxy --enable-cache --enable-disk-cache #--enable-mem-c

[EMAIL PROTECTED] mod_authnz_ldap authentication of users stored in multiple OU's

2006-09-07 Thread Disorder
Hi Im currently running Apache  2.2 and have loaded Mod_authnz_ldap module to authenticate users against a microsoft active directory. I can succesfully bind to the LDAP server and authenticate a user as long as i specify a specific OU i.e if my AuthLDAPURL directive says   AuthLDAPURL ldap://ms-m

Re: [EMAIL PROTECTED] Proxy Problem

2006-09-07 Thread Chris Dagnon
I hope this isn't a case of the blind leading the blind, but it looks like your config file is simply missing the part you want: for the user's URL to remain the same you need to include ProxyPassReverse. ProxyPass as you discovered, initiates the handoff to your other services. Your first entry

[EMAIL PROTECTED] link to ab with ssl support

2006-09-07 Thread Raghunath Konda
Hi, Fro one of my application, when I tried to access it using ab wiht https i am getting the foloowing error. [EMAIL PROTECTED] root]# ab https://1.1.1.10/myfile SSL not compiled in; no https support I searched in google for ab version which supports SSL and procedure for SSL compilation.

RE: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Jacky
Hi nick, Thanks for your comments again. I have done this in my apache machine: find /www/test -name \*.jsp -exec rm {} \; this command deletes all the jsp files in /www/test directory. Funny thing is, If I repeat the behaviour (refresh and refresh), I get file not found (404). So, in my opinio

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Nick Kew
On Thursday 07 September 2006 11:51, Gregor Schneider wrote: > As Nick wrote, it's most likely that it's a "Resin"-thing *unless* > your jsp-directories are available to Apache (that could be depending > on your Apache-configs). It would be[1] extreme folly to share sources for contents between a

[EMAIL PROTECTED] Apache 2.x and Windows NLB

2006-09-07 Thread jakeelee
Hi, can anybody help me? Does apache 2.x run on a Windows 200k NLB cluster? -- View this message in context: http://www.nabble.com/Apache-2.x-and-Windows-NLB-tf2232620.html#a6188639 Sent from the Apache HTTP Server - Users forum at Nabble.com. -

[EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Jacky
Please refer to my inline reply. Thank you. Warm Regards, Jacky Wong -Original Message- From: Gregor Schneider [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 6:56 PM To: users@httpd.apache.org Subject: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Gregor Schneider
Ooops, should have waited 5 minutes, anyways... Jacky, that means you have a complete copy of your JSP-files on your Apache-machine? If so, have you taken a look into your Apache-logs? Is there an option that you configure mod_caucho so that it logs in debug-mode? Greg -- what's puzzlin' you, i

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Gregor Schneider
Jacky, just try to call your Resin-app directly (i.e. http://your_host/your_app:8009 where 8009 is the port where Resin is listening to) and try to reproduce the behaviour. As Nick wrote, it's most likely that it's a "Resin"-thing *unless* your jsp-directories are available to Apache (that could

RE: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Jacky
Dear Nick, First of all, thank you Nick for sharing your views. Resin is supposed to parse the request whenever the request is for jsp files. If I connect directly to resin server without going tru apache, resin has never show the source code as plain text in the browser before, so I rule the pro

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Nick Kew
On Thursday 07 September 2006 10:56, Jacky wrote: > Dear Greg, > > The reason why I say "we discover that sometimes apache will display" is > bcos the web-app normally will be served by resin. But as you keep on > trying to refresh and refresh for a number of times (usually >=5), the > source code

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Gregor Schneider
Hi Jacky, I'm too sorry, but here I'm really running out of any ideas - most of all, since I'm not a Resin-expert but am more into Tomcat as a servlet-container. Hopefully somebody from this list or from the Resin-Group is able to help you out. Sorry that I don't have any better suggestion for

[EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Jacky
Dear Greg, The reason why I say "we discover that sometimes apache will display" is bcos the web-app normally will be served by resin. But as you keep on trying to refresh and refresh for a number of times (usually >=5), the source code will be printed on the browser as plain text. - I am unable

Re: [EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Gregor Schneider
hi jacky, you also wrote "we discover that sometimes apache will display" - are you able to specify this "sometimes"? can you spot any rules when this happens? is it for a certain wep-app only? only a certain url? if so, what's the difference between the working wep-apps and the wep-apps not work

[EMAIL PROTECTED] RE: [SPAM] Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Jacky
Dear Greg, I am sure that the particular request is served by apache (when the source-code is displayed). I do agree with you when you say that It might be a misconfiguration in mod_caucho. Somehow, I have followed the sample configuration as provided by the tutorial from www.caucho.com. I will tr

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Norman Khine wrote: > Boyle Owen wrote: > >>> -Original Message- >>> From: Norman Khine [mailto:[EMAIL PROTECTED] >>> Sent: Wednesday, September 06, 2006 9:23 AM >>> To: users@httpd.apache.org >>> Subject: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL >>> >>> Hello, >>> Is it p

[EMAIL PROTECTED] apache 1.3.33 respond to HTTP/1.1 request in HTTP/1.0

2006-09-07 Thread taiska
I do request using wininet.dll functions : HTTPOpenRequest, HTTPSendRequest I get respond in HTTP/1.0 protocol Using Apache 1.3.33 (Debian GNU Linux) PHP/4.3.10-16 Request: nReq = HTTPOpenRequest( httpSession, "POST", "/dir/page.php", "HTTP/1.1", NULL, NULL, INTERNET_FLAG_RELOAD + INTERNET_FLAG

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-07 Thread Ben
I include a step-by-step install of A223/Mysql 5024 with DBD in the articles called: "A NetHack-esque Journey of the dark arts for DBD(mysql) under httpd-2.2.3" - posted 20 August on this maillist - it may be relevant or interesting to you. ---

[EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-07 Thread Rob Sterenborg
Hi all, Yesterday I upgraded to mysql-5.0.24a. After that, I recompiled apr-1.2.7, apr-util-1.2.7 and httpd-2.2.3. Everything works fine, except that I get a bunch of error logs: [Thu Sep 07 09:06:29 2006] [crit] (20014)Internal error: DBD: Can't connect to mysql [Thu Sep 07 09:06:29 2006] [crit]

Re: [EMAIL PROTECTED] apache 2 showing jsp source codes

2006-09-07 Thread Gregor Schneider
Hi Jacky, without knowing too much about mod_caucho, to me it sounds as if there is a misconfiguration in mod_caucho since the documents seem not to be forwarded to your Resin container. Can you determine wether your pages (when the source-code is displayed) are served by Apache or Resin? I sugg

Re: [EMAIL PROTECTED] Next part of my HTPD.conf file.

2006-09-07 Thread Gregor Schneider
and maybe another free-of-charge-tip for the future: never ever post the name of your website AND your configs AND demonstrate to the whole list that you got no idea of how to setup a web-server: the result is most likely that your webserver won't be running for too long since this is an invitati

[EMAIL PROTECTED] Proxy Problem

2006-09-07 Thread Marco Mans
Hi! I'm trying to configure some wiki-sites but I don't get it to work. First I will explain the server configuration: I got a internet connection with only 1 IP-Address. My ISP configured 2 domains (wiki1.mydomain.com and wiki2.mydomain.com) that are BOTH pointing to my IP-adress. I installed

FW: [EMAIL PROTECTED] use the apache as a proxy server with caching

2006-09-07 Thread Hasson Yehudit
Someone can help me? I have some questions related to the configuration of apache 2.2. I am working on Unix and I want to use the apache as a proxy server with caching. I used --enable-proxy --enable-cache --enable-disk-cache #--enable-mem-cache 1) If both disk_cache and mem_cache are enable,