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]
>>
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
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
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
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
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
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
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
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.
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
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
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
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
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
test
> -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
16 matches
Mail list logo