Re: [EMAIL PROTECTED] Help with mod_rewrite

2007-02-11 Thread Bob
ST_URI}/ [R=301,L] RewriteRule ^(se|en|us)/(.+) /$2 [E=LANG_CODE:$1] -- Bob - 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

Re: [EMAIL PROTECTED] Rewrite rules under 2.2.4

2007-02-15 Thread Bob
you find in your rewrite log (use RewriteLoglevel 5)? -- Bob - 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: [EMAI

Re: [EMAIL PROTECTED] Apache - ScriptAlias confusion

2007-02-24 Thread Bob
ation aborted at /var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/index.pl line 41.\n This is an otrs problem. Did you configure the software properly? #root directory $Self->{'Home'} = '/var/www/ticket.precognet.com/ot

Re: [EMAIL PROTECTED] Apache sending back incorrect Content-length and Content-type values for ErrorDocument

2007-02-25 Thread Bob
Bob Kline wrote: Before filing a bug report, I want to check with the list to see if I'm missing something or if this is a known bug and I just haven't found it in the database. Take a look at PR 39710 (http://issues.apache.org/bugzilla/show_bug.cgi?id=39710), this seems to be qui

Re: [EMAIL PROTECTED] rewrite safety? is it possible to DoS apache with mod_rewrite?

2007-03-09 Thread Bob
oblem described there can cause a situation which leads to infinite looping. -- Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubs

[EMAIL PROTECTED] Deny CONNECT & GET http requests

2007-06-16 Thread Bob
I get 100k plus of these per month. This is really stressing my server. 88.233.57.141 - - "GET http://yasann2.hp.infoseek.co.jp/cgi-bin/jenv.cgi HTTP/1.1" 404 300 "http://yasann2.hp.infoseek.co.jp/cgi-bin/jenv.cgi"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" 88.233.57.141 - - "GET http:/

RE: [EMAIL PROTECTED] Deny CONNECT & GET http requests

2007-06-17 Thread Bob
>>On 6/16/07, Bob <[EMAIL PROTECTED]> wrote: >> I get 100k plus of these per month. This is really stressing my server. >> > >88.233.57.141 - - "GET http://yasann2.hp.infoseek.co.jp/cgi-bin/jenv.cgi > >HTTP/1.1" 404 300 "http://yasann2.hp.in

RE: [EMAIL PROTECTED] Deny CONNECT & GET http requests

2007-06-19 Thread Bob
The replies to my post came back saying that apache defaults to denying CONNECT requests which I was not able to verify. That the CONNECT request is some how being spoofed through php which I was not able to verify. My reading of php5 says it accepts all valid methods that apache hands it. To me t

RE: [EMAIL PROTECTED] How to prevent Spammer from abusing Apache?

2007-06-19 Thread Bob
I posted my question with subject line ‘Deny CONNECT & GET http requests’. The replies to my post came back saying that apache defaults to denying CONNECT requests which I was not able to verify. That mod_proxy was causing it. I have mod-proxy commented out. That the CONNECT request is some how bei

RE: [EMAIL PROTECTED] Deny CONNECT & GET http requests

2007-06-19 Thread Bob
-Original Message- On 6/19/07, Bob <[EMAIL PROTECTED]> wrote: > The replies to my post came back saying that apache defaults to denying > CONNECT requests which I was not able to verify. > That the CONNECT request is some how being spoofed through php which I was >

RE: [EMAIL PROTECTED] limiting connections per ip address in apache2 whenunder attack

2007-06-21 Thread Bob
Is there a valid reason based on your web server content that people from China would be accessing your site? If not then just deny packets from the complete range of IP address allocated to China??? Many email servers do that to cut off spam from China. Maybe what you are seeing is China search en

RE: [EMAIL PROTECTED] limiting connections per ip address in apache2 whenunder attack

2007-06-21 Thread Bob
-Original Message- Bob wrote: > Is there a valid reason based on your web server content that people from > China would be accessing your site? Yes, we have a very large quantity of pdfs in Chinese. Converting them to html would presumably reduce the load but I don't think t

RE: [EMAIL PROTECTED] limiting connections per ip address in apache2 whenunder attack

2007-06-23 Thread Bob
Bob wrote: > > If this is a real attack then you were found by rolling through a whole > block of ip address looking for a open port 80. > Change your apache server to use different port say 7788 instead of port 80 > and then use the free www.zoneedit.com dns service to redir

[EMAIL PROTECTED] Where to find full list of Apache status codes

2007-06-30 Thread Bob
Look for url to complete list of Apache status codes containing their descriptions - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubsc

Re: [EMAIL PROTECTED] mod_rewrite subdomains and subdirectories

2007-01-06 Thread Bob
ond %{HTTP_HOST} ^([a-z]+)\.wl\.example\.com RewriteCond %1 !=www RewriteRule ^/$ /%1/ [PT] -- Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html>

Re: [EMAIL PROTECTED] Re: Redirect URLs using mod_rewrite

2007-01-07 Thread Bob
ou using the rewrite rules? In directory or server context? per server context: RewriteCond %{QUERY_STRING} ^id=([0-9]+)$ RewriteRule ^/subdir/foo\.php$ /subdir/bar.php?newid=%1#sameid%1 [R=301,L] -- Bob - The official User

Re: [EMAIL PROTECTED] mod_rewrite to speed up twiki

2007-01-07 Thread Bob
closer look, every map lookup takes 10 seconds - may be this is the result of 'UserAgent->new(timeout => 10)'. -- Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://

Re: [EMAIL PROTECTED] apache rewritecond spits out "http://blah.com//whatever". double slashes?

2007-01-07 Thread Bob
ewriteEngine On RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC] RewriteRule ^(.*)$ http://domain.com$1 [R=301,L] That looks correct for per-server context. Did you enable the RewriteLog? -- Bob - The official User-To-User s

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-09 Thread Bob
VER_PORT} =80 RewriteRule ^(.+)$ https://server.domain.ch$1 [R,L] -- Bob - 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

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-09 Thread Bob
omain\.ch$ RewriteRule ^/testtinfo/fea http://another.url.ch/ [R,L] RewriteCond %{SERVER_PORT} =80 RewriteRule ^(.+)$ https://server.domain.ch$1 [R,L] Hello Bob I changed the order of the RewriteCond as you suggested but unfortunately it did not have any effect. Maybe I should also mention

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Bob
Are other rules (if you call /foo and have ^/foo as regEx) wirking fine? -- Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsu

Re: [EMAIL PROTECTED] Rewrite does not work

2007-01-11 Thread Bob
Peter Huesser wrote: Bob wrote: following entries in httpd.conf: RewriteEngine On RewriteCond %{REMOTE_HOST} \.domain\.ch$ RewriteRule ^/testtinfo/fea http://another.url.ch/ The produced entries in rewrite.log are: 129.129.194.181 - - [11/Jan/2007:09:40:24 +0100] [server.psi.ch/sid

Re: [EMAIL PROTECTED] How to resolve this .htaccess conflict ?

2007-01-13 Thread Bob
ur require directive seems to be missing, too. -- Bob - 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: [EMAIL PROTECTE

Re: [EMAIL PROTECTED] Alais or Rewrite or ???

2007-01-14 Thread Bob
s/mydomain/public_html" ServerName ns1.mydomain.com Redirect 301 / http://www.mydomain.com -- Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html

Re: [EMAIL PROTECTED] Status of per-user MPMs

2007-01-29 Thread Bob
Florian Lindner wrote: Are there any MPMs (from apache or 3rd party) available that are stable for (very low load) systems with PHP? (Apache 2) May be http://mpm.metux.de/index.php/Main_Page is worth a look? -- Bob - The

Re: [EMAIL PROTECTED] Query-String Access from SetEnvIf

2007-01-29 Thread Bob
tyju tiui wrote: Hello, Is there a way to access the query-string using regular expression from SetEnvIf? [...] I believe that the query-string is not available with Request_URI That's right, but did you try Query_String? -

Re: [EMAIL PROTECTED] URLRewrite Question

2007-02-02 Thread Bob
section or inside your client's -section). -- Bob - 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: [EMAIL P

Re: [EMAIL PROTECTED] simple rewrite rule

2007-02-02 Thread Bob
[EMAIL PROTECTED] wrote: [...] RewriteEngine on RewriteRule ^(.*) http://$1 [P,L] RewriteRules inside location sections are syntactically permitted, but unsupported (see manual). -- Bob - The official User-To-User

[us...@httpd] Override timeout for one script?

2010-08-26 Thread Bob
I have a slow CGI script that processes data for 10 minutes before producing output. This is greater than the Timeout amount in the httpd.conf. Is there a way I can override the timeout on a per-script or per-directory basis? since I cannot change the value globally for everyone on the server. I lo

[users@httpd] Second apache as fallback server

2016-02-14 Thread Bob
regards, Bob - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Second apache as fallback server

2016-02-15 Thread Bob
specifying the second web server as hot standby El dom., 14 feb. 2016 a las 16:49, Bob (mailto:bobnli...@gmail.com>>) escribió: Hello list, I have two servers. One is already up with apache, mysql etc.. Now I wonder if I can configure the second server as a f

Re: [users@httpd] Second apache as fallback server

2016-02-15 Thread Bob
? On Monday 15 February 2016 09:02 AM, Meta Correio wrote: We have it implemented using and external, redundant , load balancer. It really comes down to your budget. John On Mon, Feb 15, 2016 at 8:58 AM, Bob <mailto:bobnli...@gmail.com>> wrote: Hello, Thanks for the valuable su

Re: [users@httpd] Second apache as fallback server

2016-02-15 Thread Bob
maintain unique web server log across the nodes. Any clue about that ? Again for pages which send emails, all nodes must have running postfix with same domain. I'm also wondering how to do that. Thanks and regards, Bob On Monday 15 February 2016 01:32 PM, Meta Correio wrote: Bob, simple di

Re: [users@httpd] Second apache as fallback server

2016-02-15 Thread Bob
s for production clusters. I wonder how cloud cluster address this issue !! On Monday 15 February 2016 02:34 PM, Yehuda Katz wrote: On Mon, Feb 15, 2016 at 9:24 AM, Bob <mailto:bobnli...@gmail.com>> wrote: The challenge is to maintain unique web server log across the nodes. Any c

[users@httpd] .htaccess and query string

2014-07-30 Thread Bob
Dear list, I need a rewrite where query string is the answer. http://domain/?eID=dd_googlesitemap&L=0 should be redirected to http://domain/sitemap.xml So I have added the following to .htaccess RewriteEngine on RewriteCond %{QUERY_STRING} ^\eID\=dd_googlesitemap\&L=0$ [NC] RewriteRule dd_goog

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 07:51:25 -0400 Eric Covener wrote: > On Wed, Jul 30, 2014 at 7:48 AM, Bob wrote: > > RewriteRule dd_googlesitemap http://domain/sitemap.xml [R=301,L] > > First arg should be ^$ not a piece of the query string. > > Hello Eric, thanks for your response

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 08:25:46 -0400 Eric Covener wrote: > On Wed, Jul 30, 2014 at 8:06 AM, Bob wrote: > > RewriteCond %{QUERY_STRING} ^&L=0$ [NC] > > > the query strin doesn't begin with &L. Why are you only matching part of it? > I try to use

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 08:59:54 -0400 Roman Jurkov wrote: > Bob, > > there is not “?” in the QUERY_STRING, and RewriteRule at the moment states > that you want to match dd_googlesitemap in your URL, which based on your > initial email is not what you want. > > you want:

Re: [users@httpd] .htaccess and query string

2014-07-30 Thread Bob
On Wed, 30 Jul 2014 09:34:19 -0400 Eric Covener wrote: > On Wed, Jul 30, 2014 at 9:25 AM, Bob wrote: > >> RewriteRule ^/$ http://domain/sitemap.xml [R=301,L] > > wrong for htaccess. Try ^$ > Dear Eric, many many thanks for the clue :-) the URL has modifie

[users@httpd] compiled php 5.5.20 throws error [RewriteRule directive is forbidden: /usr/lib/cgi-bin/php55-cgi]

2015-01-01 Thread Bob
Dear list, I am already messed-up compiling php 5.5.20 as cgi module and seeking your kind guidance to put the things back on track. I have compiled php 5.5.20 on debian (wheezy) 7.7 The objective is to allow some websites run with php 5.5.x as cgi module The source code is located at /usr/loca

[users@httpd] apache fastcgi trouble with Apache/2.2.22

2015-01-05 Thread Bob
Dear list, has anyone successfully run fastcgi with Apache/2.2.22 on debian wheezy ? I need your kind help to make it working.. I have already the required modules running namely [ actions alias fastcgi ] I also have the following wrapper script with execute permission /usr/lib/cgi-bin/php55-cg

[users@httpd] Removing query string through .htaccess

2015-05-21 Thread Bob
epage, but is there any rule set which just remove the query string and keep the url intact ? like http://mywxample.com/any_page/?xyz should be changed as http://mywxample.com/any_page Any help is very much appreciated. with regards

[users@httpd] Re: Removing query string through .htaccess

2015-05-21 Thread Bob
I'm also successful with following but goes to home page, can't preserve the actual link RewriteCond %{THE_REQUEST} \?[^\ ]+ RewriteRule (.*) /$1? [R=302,L] On Thu, 21 May 2015 12:23:42 + Bob wrote: > Hello All, > > I have already gone through a no. of links for rem

[users@httpd] Re: Removing query string through .htaccess

2015-05-21 Thread Bob
u, May 21, 2015 at 6:18 AM, Bob wrote: > I'm also successful with following but goes to home page, can't preserve the > actual link > RewriteCond %{THE_REQUEST} \?[^\ ]+ > RewriteRule (.*) /$1? [R=302,L] > Works for me. Although I would write the rule like thi

[us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-15 Thread Bob Linkonij
main.com, instead of preserving the subdirectory path. In other words ending up at: https://www.Domain.com/something What do I need to change or add to get the subdirectory paths to "stick" after changing to the https:// ? Bob ---

Re: [us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-15 Thread Bob Linkonij
in the .htaccess file. But still when I go to http://Domain.com/subdirectory I get redirected to https://Domain.com NOT the https://Domain.com/subdirectory Something else wrong with what I did maybe? Bob - The offici

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Bob Ionescu
am shouldn't be started during server startup. Bob - 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-unsubs

Re: [us...@httpd] mod_rewrite on Windows with Apache 2.2

2009-06-30 Thread Bob Ionescu
alking about the main server configuration file (httpd.conf) and not a per-directory configuration file?! Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html&

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread Bob Ionescu
2009/6/30 Ali Jawad : > isn't it enough to set it to on in .htacccess. Not for the map type prg. But why don't you use the rules in your apache2.conf? Since you're rewriting to a reverse proxy situation, you could avoid th

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-22 Thread Bob Ionescu
ewriteCond %{THE_REQUEST} ^[A-Z]{3,5}\ (/[^?\ ]*) RewriteRule ^/ http://%{HTTP_HOST}%1 [NE,P] Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info.

Re: [us...@httpd] Transparent Proxy Server Installation

2009-07-23 Thread Bob Ionescu
2009/7/23 Brian Kim <09su.resea...@gmail.com>: [...] > [...] Can a reverse apache help for my configuration? See my posting to this list 23 hrs. ago. Bob - The official User-To-User support forum of the Apache HT

Re: [us...@httpd] Falling off the end of a directory listing

2009-07-24 Thread Bob Ionescu
ent inheritance ^/var/www/html/foo/downloads$) Bob - 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-unsu

Re: [us...@httpd] Attempt to serve directory:

2009-07-24 Thread Bob Ionescu
he index? In contrast to trunk (becoming 2.3/2.4) DirectoryIndex won't work if you force a handler (for everything) via SetHandler. You can work-around this issue by placing the Sethandler directive into a container (i.e. restrict it to files). But anyway; since you're using AddHanler,

Re: [us...@httpd] Redirection problem with dynamic url parameters

2009-08-10 Thread Bob Ionescu
u'll need a RewriteCond to check the query string. Bob - 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-m

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Bob Ionescu
eCond %{HTTP_HOST} =files.example.com [NC] # exclude th folder RewriteCond $1 !^/files/public/ RewriteRule ^(.*) /files/public/$1 [L] Setting the DocumentRoot for files.example.com in your httpd.conf to /home/example/public_html/files/public would be another (may be the regula

Re: [us...@httpd] Lookaround assertions in mod_rewrite/mod_alias regex?

2009-09-02 Thread Bob Ionescu
or a syntax error for > mod_alias. But you're using Apache 2+? Bob - 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 internal sub-request returns status 200 instead of expected 404 (mod_proxy issue?)

2009-09-03 Thread Bob Ionescu
th mod_rewrite or is this > expected behaviour? Expected. The handler is not invoked in this sub-request lookup. So in fact, you can only check if the resource is accessible on server A (->access controls). Bob - The officia

Re: [us...@httpd] .htaccess

2009-09-10 Thread Bob Ionescu
p into a problem (not to mention implementing something like that). Conclusion: You'll need your own module with some sort of session database attached to save the state user x HTTP 401, allow one request with credentials for that username, HTTP 401, allow one request with credentials

Re: [us...@httpd] Rewrite Rule question

2009-09-15 Thread Bob Ionescu
intended for the third rule. Solution: Reverse the order (special patterns followed by more general patterns) or change the regular expression to "not to match anything followed by Authenticate", i.e., by marking "end of string" with a $ sign: RewriteRule ^/Aut

Re: [us...@httpd] .htaccess not honoured anymore

2009-09-16 Thread Bob Ionescu
2009/9/16 Nico De Ranter : > however the 'require' directive doesn't seem to have any effect anymore? You're overriding it with your definition. A location section overrides directives placed in .htaccess files, see http://httpd.apache.org/docs/2.2/se

Re: [us...@httpd] IndexIgnore

2009-09-29 Thread Bob Ionescu
to be an IndexUnignore directive or any syntax > that I see to remove a file or pattern from the list of ignored files. Correct. Currently, you can't undo/override IndexIgnore (only add), IIRC for security reasons. Bob -

Re: [us...@httpd] apache redirection does not work

2009-10-01 Thread Bob Ionescu
content=20090624_075115_6540 Please enable a RewriteLog with Rewritelog logs/rewrite_log Rewriteloglevel 6 in your httpd.conf and post the result (may be as an attachment). Bob - The official User-To-User support forum of the Apache HT

Re: [us...@httpd] Incorrect $_SERVER['SERVER_PORT'] Returned

2009-10-16 Thread Bob Schell
Thanks again for the quick reply. How did my config also imply http over 443? On Fri, Oct 16, 2009 at 11:51 AM, Eric Covener wrote: > On Fri, Oct 16, 2009 at 1:48 PM, Bob Schell wrote: > > However, then, within the application I am using, if I logout of the > > application

Re: [us...@httpd] Incorrect $_SERVER['SERVER_PORT'] Returned

2009-10-16 Thread Bob Schell
rote: > On Fri, Oct 16, 2009 at 1:05 PM, Bob Schell wrote: > > The problem I am having is my PHP code is pulling the > > $_SERVER['SERVER_PORT'] variable and this is coming back as 80 rather > than > > 443. To narrow this problem down, I've closed por

Re: [us...@httpd] Incorrect $_SERVER['SERVER_PORT'] Returned

2009-10-16 Thread Bob Schell
Thanks again Eric. Once I moved the SSL virtual host within SSL.CONF, that did the trick and everything worked as expected. Much appreciated. On Fri, Oct 16, 2009 at 12:16 PM, Eric Covener wrote: > On Fri, Oct 16, 2009 at 2:02 PM, Bob Schell wrote: > > Thanks again for the quick re

[us...@httpd] Appahe and Vista

2010-03-05 Thread Bob Vezzuso
changes, but when I open the file using Appache's editor, my changes are not there, yet all indications tell me I am in the same file in the same directory structure using both editors. How can get this to change and point to my directory? Bob

Re: [us...@httpd] Appahe and Vista

2010-03-05 Thread Bob Vezzuso
it. Bob - Original Message - From: "Eric Covener" To: Sent: Friday, March 05, 2010 3:36 PM Subject: Re: [us...@httpd] Appahe and Vista On Fri, Mar 5, 2010 at 3:31 PM, Bob Vezzuso wrote: I recently installed Appache on my new Vista system. Under XP, I edited the httpd.co

[us...@httpd] PHP 4 and 5

2010-03-17 Thread Bob Cohen
Is is possible to run php4 and 5 on the same apache server? Bob - 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-m

Re: RewriteRule / RewriteCond don't interpolate server variables in pattern regex

2008-12-15 Thread Bob Ionescu
2008/12/15 Pavel Ustyugov : > RewriteEngine On > RewriteBase / > RewriteCond %{REMOTE_USER} !^$ > RewriteRule !^usr/%{REMOTE_USER}/ /usr/%{REMOTE_USER}/ [R] > === > If user try to get out from own dir, server forcibly redirect him to correct > dir. > But, this ru

Re: Using AuthName with mod_rewrite

2008-12-18 Thread Bob Ionescu
in per-server context do determine the value of that ENV: RewriteRule ^/$ http://localhost/home.seam?userid=%{LA-U:REMOTE_USER} [R,L] -or- use the rule in per-directory context RewriteEngine on RewriteRule ^$ http://localhost/home.seam?userid=%{RE

Re: [us...@httpd] RewriteRule

2008-12-22 Thread Bob Ionescu
2008/12/22 Andrew Hole : > I'm trying to setup a RewriteRule to redirect requests to a new different > server , but I want to keep the original URL on address bar. > How can I do that? Use the P flag to force that the request is handled by mod_proxy et al. (reverse p

Re: [us...@httpd] Subdomains Hosting

2008-12-22 Thread Bob Ionescu
u can extend solution 2 by using sub.superman.example.com. Another way to do that on-the-fly without db look-ups is changing the path to users/sub1/ . Bob - The official User-To-User support forum of the Apache HTTP Server Proj

Re: [us...@httpd] Re: help with rewrites - changing the base path

2008-12-29 Thread Bob Ionescu
the pattern: ^techblog(.*)$ and don't forget to enable the engine via RewriteEngine on. Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html>

Re: [us...@httpd] rewrite rule ideas needed..

2009-01-09 Thread Bob Ionescu
quot;Canonical Hostnames": http://httpd.apache.org/docs/trunk/rewrite/rewrite_guide.html#canonicalhost But make sure, you're sending a 301 redirect (R=301) for search engines. Bob - The official User-To-User support forum o

Re: [us...@httpd] Problem with URI conversion on Apache-1.3.41

2009-01-09 Thread Bob Ionescu
l it a (known) limitation. The support of apache 1.3 to run on windows was some kind of hacked in because apache 1.3 was never designed to run on windows. Consider to upgrade to 2.2 ASAP. Bob - The official User-To-User support fo

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-09 Thread Bob Ionescu
www/eumel/www uri to /eumel/linch so that your location section should match. Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubs

Re: [us...@httpd] mod_rewrite, passing GET variables forward

2009-01-11 Thread Bob Ionescu
ill be hit and matched again. May be you'd like to match only characters not containing a period (i.e. no file extension): RewriteRule ^([^.]+)$ /index.php?page=$1 [QSA,L] Bob - The official User-To-User support fo

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-12 Thread Bob Ionescu
2009/1/12 Michael Ludwig : > Bob Ionescu schrieb: >> The location walk will be processed (again) after the directory and >> file walk. > > So my assumption was wrong. Does anyone know in which document this > behaviour is described? http://httpd.apache.org/docs/2.2/sect

Re: [us...@httpd] Setting DirectoryIndex to a Location?

2009-01-12 Thread Bob Ionescu
2009/1/12 Michael Ludwig : > Bob Ionescu schrieb: >> http://httpd.apache.org/docs/2.2/sections.html#mergin > > Thanks. This helps a bit. But I still don't quite understand the > meaning of "be applied" and "be evaluated" in this section. Does this > r

Re: [us...@httpd] mod_rewrite redirects instead of silent rewrite

2009-01-13 Thread Bob Ionescu
2009/1/13 Marcin : > I've tried to add > > RewriteEngine On > RewriteCond %{HTTP_HOST} (.+)\.demo\.myapp\.com$ > RewriteRule ^/$ /usersite/%1 > > but the effect is that apache is looking for a file /some/path/usersite/lucy May be you want

Re: [us...@httpd] ReWrite woes

2009-01-14 Thread Bob Ionescu
2009/1/14 Sheldon Ross : >RewriteRule ^/bob$ /temp1/temp1/temp2 That rule (with 'RewriteEngine on' as already mentioned) wouldn't match in a section (per-directory context) but it would match outside of the section (per-server context). Strip the leading slash

Re: [us...@httpd] robots.txt and rewrite rule

2009-01-22 Thread Bob Ionescu
writeCond $1 !=robots.txt RewriteRule ^/(.*) http://localhost:12080/companies/$1 [P] Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsu

Re: [us...@httpd] robots.txt and rewrite rule

2009-01-23 Thread Bob Ionescu
t; RewriteCond ${hosts-deny:%{HTTP:true-client-ip}|NOT-FOUND} !=NOT-FOUND > RewriteCond $1 !=robots.txt > RewriteRule ^/.* - [F] That's the wrong rule, it should be placed above the rule which proxies, i.e. RewriteCond $1 !=robots.txt RewriteRule ^/(.*) http://localhos

Re: [us...@httpd] Semantics of "RewriteOptions inherit" in htaccess files needs improvement

2009-02-01 Thread Bob Ionescu
t matter in per-dir context for matching) would be in both cases /foo while the domain is different. Two different setups - two different intentions about overriding the parent configuration and the inheritage of the rules. Bob

Re: [us...@httpd] Semantics of "RewriteOptions inherit" in htaccess files needs improvement

2009-02-02 Thread Bob Ionescu
2009/2/2 Matt McCutchen : > On Sun, 2009-02-01 at 23:19 +0100, Bob Ionescu wrote: >> E.g. domain1 points to /var/www, domain2 to /var/www/sub and >> /var/www/sub/.htaccess inherits (i.e. 1:1 copy) /var/www/.htaccess. A >> regEx of ^foo$ in /var/www/sub/.htaccess would match

Re: [us...@httpd] build httpd with OS's PCRE lib

2009-02-10 Thread Bob Ionescu
ep -i pcre I got nothing output. IIRC it's configurable in 2.2 with --with-pcre= but not in 2.0. Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.h

Re: [us...@httpd] Problems with redirects...

2009-02-16 Thread Bob Ionescu
work correctly? Your RegEx ^/(.*) is open for every request. To catch the "root" request only, change it to ^/$ instead. Your condition checks the host header. You're redirecting to the same host (www.saddlebrook.com), wh

Re: [us...@httpd] exclude errorDocument from authentication

2009-03-02 Thread Bob Ionescu
er location section: Order deny,allow Allow from all Satisfy any Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsu

Re: [us...@httpd] mod_rewrite redirect to local path issue

2009-03-11 Thread Bob Ionescu
ias, use mod_alias for such a simple redirection instead of mod_rewrite: Redirect 301 /othersite http://.com Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-05-11 Thread Bob Ionescu
+)<>\1 RewriteRule ^/clientes/(.*) /stats/%{REMOTE_USER}/stats/http/$1 [L] Bob - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsub

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-05-11 Thread Bob Ionescu
2009/5/11 Roman Medina-Heigl Hernandez : > Bob Ionescu escribió: >> 2009/3/2 Roman Medina-Heigl Hernandez : >>> The problem is that you cannot have %{REMOTE_USER} as 2nd parameters in >>> RewriteCond, so I have no way for comparing it with $1 >> >> -didn

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-05-12 Thread Bob Ionescu
to abort something below, i.e. if there's nothing, there's nothing to abort (F implies L btw., the substitution will be dropped as well). Your second rule (forbidden) comes never true, if the first rule matched. So you could stop further (useless) processing with the L flag at your first rule

[EMAIL PROTECTED] Tomcat - basic install question

2005-12-20 Thread Bob Hartung
Hi all, I am getting ready to install Tomcat 4.x as on a test bed, and I am wondering what is the usual and customary installation directory. /usr, /sbin, etc. Any comments appreciated - yes I am fairly new to Linux, apache and a neonate with Tomcat. TIA Bob

[EMAIL PROTECTED] Performance issue

2006-02-02 Thread Bob Bomar
, multiple OC48 connections, gigabit ethernet backbone, full duplex gigabit NIC. We see the issue from several external sources. The server is Red Hat 3ES, Apache 2.0.48, mod_php 4.3.2. - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4

[EMAIL PROTECTED] "missing configuration" errors in log

2006-02-13 Thread Bob Kinney
Hello-- I'm new to this list--greetings everybody. I'm setting up my first web server, using FC3 distro, all available updates applied, specifics pasted below. Apparently the Fedora folks have not finished incorporating Apache V2.2 into their update channels (or is it considered a "new" package

[EMAIL PROTECTED] Apache performance

2006-02-15 Thread Bob Bo
Hello all, I have a small project of distributing a single 30M file to 10.000 Users. I build up a small php site that will gather user registration information and generate a link to that file. Then users will be able to download the file. I was wondering if some of you could help me out with

Re: [EMAIL PROTECTED] You don't have permission to access

2006-02-17 Thread Bob Kinney
I'm a complete rookie at this, but this sounds like what I just did on my site. I don't recognize your constructs, but I found a great resource here: http://www.yolinux.com/TUTORIALS/LinuxTutorialApacheAddingLoginSiteProtection.html For simplicity (and potentially performance), I opted to place

[EMAIL PROTECTED] Apache heap size increase

2006-03-31 Thread Bob Bomar
/conf/mpm.txt - -- Bob Bomar [EMAIL PROTECTED] http://www.bomar.us/~bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFELZtZ9Jm/aTrtdKoRAt6fAJ9IDAMAlC7V2UnkiYWSNnHOSAepigCggaDG pWkBfJeYCJ9CzBXX20wizRs= =D/bx -END

Re: [EMAIL PROTECTED] Apache eating memory

2006-05-15 Thread Bob Kinney
It seems to me that I recently read about this apparent (literally) issue. I think it was on one of Red Hat's magazines. It had to do with diparities in the way that ps reports memory usage. If I recall correctly, ps will report the memory for each forked process as if it was a new instance of th

[EMAIL PROTECTED] mod_rewrite

2006-05-24 Thread Bob Smith
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 like http://www.mysite.com/directoryone/directorytwo/mypage.php?key=valueAnd I'm trying to redirect it to http://www.mysite.com/mypage.php?ke

  1   2   >