Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-08 Thread Michael Menegakis
On Mon, Mar 8, 2010 at 11:12 AM, Philip Wigg wrote: > On 8 March 2010 05:17, Michael Menegakis wrote: >> Hi all >> >> A rule is in place that that rewrites domains to www.domains >> >> In one particular home dir, I need the opposite, >> >> RewriteEngine On >> RewriteCond %{HTTP_HOST} ^www.domain.

[us...@httpd] User name in access_log

2010-03-08 Thread Pravesh Rai
Hi All, Is there any way to get logged-in user name in access_log ? Contents of access_log, in our setup looks like: 127.0.0.1 - - [17/Feb/2010:13:07:40 +0530] "GET / HTTP/1.1" 302 236 If I'm not wrong, either of "-" in the log file is representing user name field, right ? Thanks, Pravesh

[us...@httpd] modssl integration with apacheserver

2010-03-08 Thread snigdhamukherjee
Hi all, I have to add a custom built SSL library in place of OpenSSL. Can some one suggest how to integrate a SSL library with mod-ssl for apache web server?? Thanks, Snigdha Confidentiality Notice The information contained in this electronic message and any attachments to this message are

Re: [us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread Igor Cicimov
This works for me tested RewriteCond %{QUERY_STRING} ^opt=dom_cont&task=view&id=18&Itemid=28$ RewriteRule ^/index.php$ https://www.domain.com/index.php?opt=dom_cont&task=view&;id=17&Itemid=27 [R,L] On Tue, Mar 9, 2010 at 11

Re: [us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread Eric Covener
On Mon, Mar 8, 2010 at 6:48 PM, Igor Cicimov wrote: > RewriteRule ^/index.php$ > https://www.domain.com/index.php?opt=dom_cont&task=view&&id=%1-1&Itemid=%2-1 > [R,L] > You probably need a RewriteMap to do that increment. -- Eric Covener cove...@gmail.com --

Re: [us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread MadTh
none worked so far On Tue, Mar 9, 2010 at 5:18 AM, Igor Cicimov wrote: > Well for a simple redirect this should work (not tested) > > RewriteEngine On > RewriteCond %{QUERY_STRING} opt=dom_cont > RewriteCond %{QUERY_STRING} task=view > RewriteCond %{QUERY_STRING} id=18 > RewriteCond %{QUE

Re: [us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread Igor Cicimov
Well for a simple redirect this should work (not tested) RewriteEngine On RewriteCond %{QUERY_STRING} opt=dom_cont RewriteCond %{QUERY_STRING} task=view RewriteCond %{QUERY_STRING} id=18 RewriteCond %{QUERY_STRING} Itemid=28 RewriteRule ^/index.php$ https://www.domain.com/index.php?opt=dom_cont&ta

Re: [us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread Gustavo Straube
Hi! You must to write some kind of script, maybe PHP since you're using it, and subtract 1 from both parameters. With mod_rewrite olny you're unable to do this, since it works only with strings (using regex). On Mon, Mar 8, 2010 at 8:11 PM, MadTh wrote: > > Hi, > > Can you suggest any redirect

Re: [us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread Eric Covener
On Mon, Mar 8, 2010 at 6:11 PM, MadTh wrote: > > Hi, > > Can you suggest any redirect ruleĀ  for redirecting > > > > https://www.domain.com/index.php?opt=dom_cont&task=view&id=18&Itemid=28 > > to page > > https://www.domain.com/index.php?opt=dom_cont&task=view&id=17&Itemid=27 http://wiki.apache.or

[us...@httpd] Redirect a complex URL to another one, either in httpd.conf or with htaccess

2010-03-08 Thread MadTh
Hi, Can you suggest any redirect rule for redirecting https://www.domain.com/index.php?opt=dom_cont&task=view&id=18&Itemid=28 to page https://www.domain.com/index.php?opt=dom_cont&task=view&id=17&Itemid=27 Thanks

[us...@httpd] Load balancing issue.

2010-03-08 Thread afrodom
Hi, I am hew to Apache HTTP, so I have one problem to conceive. May I somehow (is it possible) to use Apache server to redirect a request to appropriate application server (like JBoss), based on some information carried in the request? And if I can perform that thing, do I need an apache restart,

Re: [us...@httpd] can .htaccess make url better ?

2010-03-08 Thread Philip Wigg
On 8 March 2010 18:56, Jonathan Zuckerman wrote: > Hey Rich, and anybody else who knows about this, what you've just said > touches on a question I've been wondering about: a few folks at work have > always told me that .htaccess was a really slow way to load configuration > because it needs to be

Re: [us...@httpd] can .htaccess make url better ?

2010-03-08 Thread Jonathan Zuckerman
On Mon, Mar 8, 2010 at 6:10 AM, Rich Bowen wrote: > > On Mar 8, 2010, at 4:15 AM, J. Bakshi wrote: > > Hello list, > > the click enlarge facility of an image gallery generates the links in a > very ugly manner, like > > > > http://192.168.1.1/reifenqualitaet/index.php?eID=tx_cms_

Re: [us...@httpd] [Announce] Apache HTTP Server (httpd) 2.2.15 Released

2010-03-08 Thread Eric Covener
On Mon, Mar 8, 2010 at 12:05 PM, Ruiyuan Jiang wrote: > Does v2.2.15 fix the problem that I reported "BUG 48819" that happens on > v2.2.14? Thanks. Wouldn't think so. The bug is still open and there are no followups. It's not going to get very far if you can't simplify your description/environm

RE: [us...@httpd] [Announce] Apache HTTP Server (httpd) 2.2.15 Released

2010-03-08 Thread Ruiyuan Jiang
Hi, William Does v2.2.15 fix the problem that I reported "BUG 48819" that happens on v2.2.14? Thanks. Ryan -Original Message- From: William A. Rowe Jr. [mailto:wr...@rowe-clan.net] Sent: Saturday, March 06, 2010 3:47 PM To: users@httpd.apache.org Subject: [us...@httpd] [Announce] Apach

Re: [us...@httpd] Re: SSL mutual authentication client certificate creation using Keytool

2010-03-08 Thread Arunkumar Janarthanan
Thanks Eric, my client for the Apache is another Java application. So I used keytool and generated trustore importing OpenSSL generated CA certificate. Now that I have used export option to generate a certificate from Keytool, How could I use this ceritificate now on Apache to authenticate the req

Re: [us...@httpd] Problems Building Apache Flood

2010-03-08 Thread Eric Covener
On Mon, Mar 8, 2010 at 10:41 AM, Samuel Parsons wrote: > Hi, > I'm trying to build apache flood. I checked out the svn repo and have been > following the instructions on the 'Compiling and running Flood' > (http://httpd.apache.org/test/flood/building.html). In my local checkout of > the flood dire

[us...@httpd] Problems Building Apache Flood

2010-03-08 Thread Samuel Parsons
Hi, I'm trying to build apache flood. I checked out the svn repo and have been following the instructions on the 'Compiling and running Flood' ( http://httpd.apache.org/test/flood/building.html). In my local checkout of the flood directory, I successfully retrieved the 'apr' repository. However th

[us...@httpd] Can't apply patch zlib-1.2.3-vc32-2005-rcver.patch

2010-03-08 Thread Serj
Hi, I received next errors: --- D:\Free Soft\Apache\2.2.15\apply_patches>patch -i zlib-1.2.3-vc32-2005-rcver.patch -o Makefile.msc.patched Makefile.msc patching file Makefile.msc Assertion failed: hunk, file ../patch-2.5.9-src/patch.c,

[us...@httpd] DocumentRoot on Windows

2010-03-08 Thread Kelly Vista
I am facing an odd problem, which may be specific to Windows (I'm running 64-bit Windows 7 Home Premium). With 2.2, I have it installed as a service (["...httpd.exe" -k runservice] is the executable path). Per the installation, I use the ApacheMonitor.exe file to control apache. However, when I

Re: [us...@httpd] can .htaccess make url better ?

2010-03-08 Thread Rich Bowen
On Mar 8, 2010, at 4:15 AM, J. Bakshi wrote: Hello list, the click enlarge facility of an image gallery generates the links in a very ugly manner, like http://192.168.1.1/reifenqualitaet/index.php?eID=tx_cms_showpic&file=uploads/tx_reifenqualitaetimage/image-227X227_02.jpg

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-08 Thread Nilesh Govindarajan
On Mon, Mar 8, 2010 at 10:47 AM, Michael Menegakis wrote: > Hi all > > A rule is in place that that rewrites domains to www.domains > > In one particular home dir, I need the opposite, > > RewriteEngine On > RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] > RewriteRule ^(.*)$ http://domain.com/$1

Re: [us...@httpd] apache doesn't start when phpinidir is added

2010-03-08 Thread Alain Roger
On Mon, Mar 8, 2010 at 12:23 AM, Frank Gingras wrote: > > > On 03/07/2010 02:26 AM, Alain Roger wrote: > >> Hi Frank, >> >> this is what it is funny, the error.log is not updated so i have no trace. >> Last time it wa updated was on 14.02.2010. >> and i just updated my php installation yesterday e

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-08 Thread Michael Menegakis
On Mon, Mar 8, 2010 at 7:51 AM, Igor Cicimov wrote: > Try using the following to stop the endless loops: > > RewriteCond %{ENV:REDIRECT_STATUS} 200 > RewriteRule .* - [L] It doesn't stop looping if it's put before the rule, after the rule or even if it's both after and before the rule. -

[us...@httpd] mod_proxy_balancer back end status check

2010-03-08 Thread Edward Quick
Hi, When using mod_proxy_balancer, is it possible to configure the way it checks the status of the member servers in its cluster? I have come across a scenario where the back end server is running, and accepts requests but doesn't send responses. This gives the impression it is up, but in actua

[us...@httpd] can .htaccess make url better ?

2010-03-08 Thread J. Bakshi
Hello list, the click enlarge facility of an image gallery generates the links in a very ugly manner, like http://192.168.1.1/reifenqualitaet/index.php?eID=tx_cms_showpic&file=uploads/tx_reifenqualitaetimage/image-227X227_02.jpg&bodyTag=&wrap=%20|%20&md5=9021563e8e2c9efadb629ddd1

Re: [us...@httpd] Avoid endless loop of mod_rewrite

2010-03-08 Thread Philip Wigg
On 8 March 2010 05:17, Michael Menegakis wrote: > Hi all > > A rule is in place that that rewrites domains to www.domains > > In one particular home dir, I need the opposite, > > RewriteEngine On > RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] > RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L] >