Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Pid
RewriteRule /(.*)(/)?$ http://localhost:81/$1$2 you need the second dollar variable to pick up the second pair of brackets, instead of always appending a slash. Mike Soultanian wrote: > Boysenberry Payne wrote: >> How about adding this: >> >> RewriteRule /(.*)(/)?$ http://localhost:81/$1/ [P] >>

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Mike Soultanian
You know, I'm guessing that I'm getting that proxy loop error because the proxy is listening on both ports 80 and 81 (I have a virtual host on 81)? Just a guess mike Mike Soultanian wrote: See the ProxyPassReverse directive, whose job it is to correct trailing-slash redirects. (Hint: You

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Mike Soultanian
See the ProxyPassReverse directive, whose job it is to correct trailing-slash redirects. (Hint: You don't even need RewriteRule for this. ProxyPass will do fine.) Joshua. Hey Joshua, For kicks I tried ProxyPass (I really have no idea what I'm doing) using the following: proxyrequests off Pr

Re: [EMAIL PROTECTED] ScriptAlias and Alias Syntax in httpd.conf File

2006-07-17 Thread Jesse Ross
Hello Ki Song, You need a separate Alias line for every Alias directive. So this would look something like Alias /foo /usr/local/foo/htdocs Alias /bar /usr/local/bar/htdocs Note that there's nothing quite like a "fake address" or "real address" here. The purpose of Alias directives is to m

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Boysenberry Payne
Sounds you might need something a little more complicated. For example: RewriteRule ^(.*)habitat/(.*)$ http://localhost:81/pro/habitat.pl?account=data=$2 [P] Allowing me to read the whole url then process it. Otherwise you might want to rewrite for different directories, i.e. taking care o

[EMAIL PROTECTED] ScriptAlias and Alias Syntax in httpd.conf File

2006-07-17 Thread Ki Song
I have a quick question. If I want to define multiple ScriptAlias and Alias directories in the httpd.conf file, what is the syntax? I've tried it this way: ScriptAlias fakeaddress1 realaddress1, fakeaddress2 realaddress2, fakeaddress3 realaddress3 Alias fakeaddress1 reala

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Joshua Slive
On 7/17/06, Mike Soultanian <[EMAIL PROTECTED]> wrote: Hello, We have to proxy our requests on our web server but we're running into some problems. I'm having a problem with the following rewrite rule: RewriteRule /(.*) http://localhost:81/$1 [P] If I do not specify the trailing slash when usi

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Mike Soultanian
Boysenberry Payne wrote: > How about adding this: > > RewriteRule /(.*)(/)?$ http://localhost:81/$1/ [P] > That almost worked! That's interesting because it gets me through to the page, but still leaves off the trailing slash. That in turn breaks the relative links which are looking for the t

Re: [EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Boysenberry Payne
How about adding this: RewriteRule /(.*)(/)?$ http://localhost:81/$1/ [P] Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 17, 2006, at 1:40 PM, Mike Soultanian wrote: Hello, We have to proxy our requests on our web server but we're running into some problems.

[EMAIL PROTECTED] help with rewrite rule

2006-07-17 Thread Mike Soultanian
Hello, We have to proxy our requests on our web server but we're running into some problems. I'm having a problem with the following rewrite rule: RewriteRule /(.*) http://localhost:81/$1 [P] If I do not specify the trailing slash when using a folder name, I get an error. So, for example, i

[EMAIL PROTECTED] Issue with mod_auth_ldap failure modes (Apache 2.2)

2006-07-17 Thread Bill Van Emburg
I was very happy to find that setting up LDAP auth with my Active Directory was pretty straightforward, and works well. That is, until I tested what happens when incorrect credentials are provided. At that point, I got a 500 error (with a message in the error log indicating bad credentials). Wha

Re: [EMAIL PROTECTED] Unsubscribing

2006-07-17 Thread Joshua Slive
On 7/17/06, Roger <[EMAIL PROTECTED]> wrote: How do i unsubscribe from this list - 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] Unsubscribing

2006-07-17 Thread Matus UHLAR - fantomas
On 17.07.06 17:01, Roger wrote: > How do i unsubscribe from this list Have you read ANY mail you got from the list? see JUST BELOW THIS LINE > - > The official User-To-User support forum of the Apache HTTP Server Project. > See h

[EMAIL PROTECTED] Unsubscribing

2006-07-17 Thread Roger
How do i unsubscribe from this list - 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 PROTECTED] " from the

[EMAIL PROTECTED] test

2006-07-17 Thread john
test

RE: [EMAIL PROTECTED] how to compile apache with out depending on the mechine name (UNIX)

2006-07-17 Thread Boyle Owen
> -Original Message- > From: Meir Yanovich [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 16, 2006 12:14 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] how to compile apache with out > depending on the mechine name (UNIX) > > > > Hello all > im compiling apache 1.3 from s