[us...@httpd] Unanswered question, rephrased...

2010-09-23 Thread Reese
I don't know whether my earlier post wasn't seen or else. I've updated and rephrased, in hopes this might get addressed by those more knowledgeable and experienced. At 14:56 20 09 10, Reese wrote: We are running Apache2 v2.2.8 and Miva Merchant v5.5.x on a CentOS v4.x VPS se

[us...@httpd] Apache2 vhost config changed by host? Or SSL by another name...

2010-09-20 Thread Reese
new cert, the host inadvertently or ignorantly altered the vhost configuration? To identify the underlying cause of all of this, are there any other possibilities that should be considered? Reese - The official User-To-User

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Reese
esses/interfaces on the system. Huh, I thought it would/should have reported the IP number assigned to the machine. But then, Apache probably doesn't care what the IP number is, does it? I'll have to read up on that. Reese --

Re: [us...@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error

2010-04-02 Thread Reese
port 80, he may want to take a closer look at his Apache configuration file. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To un

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-16 Thread Reese
m all to the .htaccess file in the root of your publicly-accessible pages and the changes go into effect on save, not when you restart Apache. Note that you can also block whole subnets, not just individual IP addresses. Reese There is nevertheless one thing I would like to do, but I

Re: [us...@httpd] mod_php script 'queue'

2010-03-12 Thread Reese
On 12-Mar-10 13:49, Jonathan Zuckerman wrote: On Fri, Mar 12, 2010 at 9:36 AM, Reese wrote: On 12-Mar-10 11:31, Nilesh Govindarajan wrote: On Fri, Mar 12, 2010 at 6:49 PM, Bruno - e-comBR wrote: It's causing a little throuble for me. When a PHP script generates a bigger report(t

Re: [us...@httpd] connections monitor

2010-03-12 Thread Reese
mmand, then investigate piping the top command through grep to isolate the processes you are interested in. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist

Re: [us...@httpd] mod_php script 'queue'

2010-03-12 Thread Reese
t; button that functions to kill the original request while blocking page refreshes. They can start over from scratch if they like. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd

Re: [us...@httpd] How to block IP addresses to the whole server?

2010-03-11 Thread Reese
le to deny, but that didn't work. No idea why. Try this: http://www.mkhelif.fr/2008/06/23/apache2-systeme-de-blacklist.html Or better, this: http://www.clockwatchers.com/htaccess_block.html Reese - The official User-T

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 21:37, Oliver Schoenborn wrote: I love chocolate chip cookies You helped too, so why not? ;) Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Reese
On 26-Jan-10 21:05, Dan Bunyard wrote: I can't imagine that RAM is the problem, nor the CPU. It's a dual core machine with 5GB of RAM that gets MAYBE a few hundred unique hits a month How many non-unique hits? We had a problem once, ended up losing a host over it. It turned out to be a malici

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Reese
- Install more CPU - Install more CPU and more RAM - limit MaxClients to 75 or 50 If you are getting that much traffic, grow the server to accommodate it or choke it so that you can run FTP in the manner you like. Reese - The o

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 19:41, Eric Covener wrote: On Tue, Jan 26, 2010 at 6:12 PM, Reese wrote: RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L] Much closer to being reasonable. You have more backreferences ($1, $2, $3) then you

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 17:55, Reese wrote: How about this? RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext/string1/ RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L] I'm having 2nd thoughts on that. How about this one? RewriteEngine On RewriteCond %{HOST_HTTP}

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
On 26-Jan-10 17:21, Frank Gingras wrote: You can't use %(HTTP_HOST) in the matching portion of the rule. Dang. How about this? RewriteEngine On RewriteCond %{HOST_HTTP} (www\.)?domain.ext/string1/ RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L]

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-26 Thread Reese
I've been rolling everything that has been said around in my head, and now I'm wondering why something like the below would not work: RewriteEngine On RewriteCond (/sring1/) RewriteRule ^%(HTTP_HOST)/(string1)/(.*)% $2\.domain\.ext/$3 Or am I just not getting it sti

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-25 Thread Reese
r with The Regex Coach, have it installed and use it from time to time: http://weitz.de/regex-coach/ I wonder what it would take to make something similar for mod_rewrite. Or if something like that already exists, just needs more publici

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-23 Thread Reese
catch the minority links when they come from elsewhere and redirect to string1.domain.ext/filenameDDMMYY.ext Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-23 Thread Reese
inished my contractual obligations for that client. Pt 2 was for my own edification. You guys are very patient in answering this Reese fellow! Well, I've been called a whole lot of things, but I think that's the first time I've been called a fellow. I'll mark my calendar. ;) C

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
teRule ^domain\.ext/subdomain/(.*)$ subdomain\.domain\.ext/$2 [R=301,L] but I don't know why. Or if it will work. Or why. I'd like to know why. Reese - The official User-To-User support forum of the Apache

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
;the consequent is a result of the precedent" nor "Read here" is of help to any except those who qualify as BoFH operators. Please don't be one of those, it could result in this whole list getting a bad reputation. Reese -

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
x27;ve RTFM and STFW and in this place, I thought I could find answers. not more RTFM claptrap from people who haven't walked that mile in my shoes. Reese - The official User-To-User support forum of the Apache HTTP

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
yourself. Help me understand why my suggestion above does not work, I'll learn from that. I can throw URLs at you, too. Does interpretive dance meet your individualized educational needs? No. Reese - The official User-To-

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
ill suffice when the manual is incomplete. Help me understand why my suggestion above does not work, I'll learn from that. I can throw URLs at you, too. Reese - The official User-To-User support forum of the Apache HTTP

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
I suggested this: RewriteEngine On RewriteRule ^(www\.)?domain\.ext/subdomain/(.*)$ subdomain\.domain\.ext/$2 [R=301,L] On 19-Jan-10 10:33, Tom Evans wrote: RewriteRules operate over the part of the URL after the host and before the query string, so you would be wanting to try out RewriteCo

[us...@httpd] Rewrite Voodoo pt. 2

2010-01-19 Thread Reese
omain\.ext/subdomain/(.*)$ subdomain\.domain\.ext/$2 [R=301,L] Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe,

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-11 Thread Reese
provided assistance. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org "

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Reese
, it isn't working when tested on the live subdomain. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-ma

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Reese
much testing I can do on live files, when I'm testing voodoo I do not completely understand. I appreciate the assistance so far, but I'm really grasping at straws and would appreciate a bit more detail. Reese - The offi

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Reese
/2005/2005/2005/2005/2005/2005/2005/fileDDMMYY.ext What is really malfunctioning here? Can this rewrite rule be corrected? Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-07 Thread Reese
On 07-Jan-10 13:08, Patrick Horgan wrote: RewriteEngine Off This says never mind, I didn't mean to hit the switch, let me turn it back off and turn off the rewriting engine so no rewriting will be done as httpd does it's job. I grok. Now, I grok better.

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-07 Thread Reese
ommendations on how to proceed. Thank you, one and all! Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: u

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-07 Thread Reese
work as expected and intended. I'd still like to hear more on why that is so. Testing starts anew. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> f

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-07 Thread Reese
d agree with you. My understanding was: Do X ...does X ...after doing X Stop doing X I'm missing something here. Maybe it's a terminology issue. Do you mean to say, the "RewriteEngine Off" directive cancels the Rewrites on earlier lines

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-07 Thread Reese
On 07-Jan-10 11:22, Eric Covener wrote: On 1/7/10, Reese wrote: RewriteEngine On RewriteCond %{HTTP_HOST} subdomain\.domain\.ext RewriteRule (.*)(0[5-6]).html$ /20$2/$1$2.html [R=301,L] RewriteEngine Off You don't bookend your rules with on/off. Meaning what, exactly? This is the

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-07 Thread Reese
On 06-Jan-10 15:58, Reese wrote: Hmmm. So adding more specificity, for years 2005-2009 and only for the affected domain, this should work: RewriteCond %{HTTP_HOST} domain\.com RewriteRule (.*)(0[5-9]).html$ /20$2/$1$2.html [R=301,L] I'll test it. It doesn't seem to be working. T

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-06 Thread Reese
} domain\.com RewriteRule (.*)(0[5-9]).html$ /20$2/$1$2.html [R=301,L] I'll test it. Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for m

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-06 Thread Reese
On 06-Jan-10 13:16, Reese wrote: On 05-Jan-10 17:43, Igor Cicimov wrote: You can try this RewriteEngine On RewriteRule (.*)([0-9]{2}).html$ /20$2/$1$2.html [R,L] I'm also not sure what would prevent this from becoming endlessly recursive, since the domain/2005/file013105.html file may

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-06 Thread Reese
ocessed and redirected to domain/2005/2005/file013105.html, etc. and etc. Is an [L] flag needed or something? Reese - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/user

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-06 Thread Reese
yntax and other errors - it doesn't work at all: RewriteCond %{HTTP_HOST} ^www\.domain\.com$ RewriteRule (.*)05\.html$ http://www\.domain\.com\2005$1.html Reese - The official User-To-User support forum of the Apache H

[us...@httpd] Mod_Rewrite voodoo

2010-01-04 Thread Reese
the 2006/ subdirectory, etc. This shouldn't be that difficult, but I'm not getting anywhere with the RewriteCond/RewriteRule pairs I've tried so far. Either I get 500 errors, create endless loops or the rule is not applied at all. How should a rewrite rule like this be for