I think your problem really is that you are doing the rewrite in the
wrong phase. You must do it in the PerlTransHandler. The Authen phase is
too late for that purpose. That's why you get things messed up.
I've double checked rewriting in the transhandler works just fine in mp2.
OK, Thank You.
Petr Duchon wrote:
[...]
ScriptAlias /awstats "/usr/local/awstats/wwwroot/cgi-bin"
AuthType basic
Options -Indexes
AuthName "statistiky"
Require valid-user
PerlAuthenHandler "statauth"
SetEnv "AWSTATS_FORCE_CONFIG" "ym_cz"
I think your problem really is t
Randal L. Schwartz wrote:
"Petr" == Petr Duchon <[EMAIL PROTECTED]> writes:
Petr> ScriptAlias /awstats "/usr/local/awstats/wwwroot/cgi-bin/"
One rule of thumb (occasionally violated but only when carefully
considered) is that if the left side of Alias or ScriptAlias has a
trailing sl
> "Petr" == Petr Duchon <[EMAIL PROTECTED]> writes:
Petr> ScriptAlias /awstats "/usr/local/awstats/wwwroot/cgi-bin/"
One rule of thumb (occasionally violated but only when carefully
considered) is that if the left side of Alias or ScriptAlias has a
trailing slash, the right side should as wel
Stas Bekman wrote:
Petr Duchon wrote:
well, I see it in the browser.
I'm requesting URL http://server/name/awstats,
but the mozilla URL line will show /awstats/awstats.pl/?config=$name,
instaed of /awstats/awstats.pl?config=$name.
Aha! Now I get it. Can we see the relevant parts of your httpd.c
Petr Duchon wrote:
well, I see it in the browser.
I'm requesting URL http://server/name/awstats,
but the mozilla URL line will show /awstats/awstats.pl/?config=$name,
instaed of /awstats/awstats.pl?config=$name.
Aha! Now I get it. Can we see the relevant parts of your httpd.conf?
i've read the mod
well, I see it in the browser.
I'm requesting URL http://server/name/awstats,
but the mozilla URL line will show /awstats/awstats.pl/?config=$name,
instaed of /awstats/awstats.pl?config=$name.
i've read the mod_perl users guide, which contains similar example on
page 182.
the example in the guide
Petr Duchon wrote:
When i put
$r->uri('/awstats/awstats.pl');
$r->args("config=$name");
into my authen handler,
the result is /awstats/awstats.pl/?config=$name,
Yes, what I'm asking is where do you get that result? Where do you see it?
Which stage, which code? In order to reproduce it,
When i put
$r->uri('/awstats/awstats.pl');
$r->args("config=$name");
into my authen handler,
the result is /awstats/awstats.pl/?config=$name,
and not /awstats/awstats.pl?config=$name, as it should be.
What do you mean by "result", Petr. please show us the code that you
have the problem wit
Petr Duchon wrote:
Hello folks!
I've run into an horrible problem.
When i put
$r->uri('/awstats/awstats.pl');
$r->args("config=$name");
into my authen handler, the result is /awstats/awstats.pl/?config=$name,
and not /awstats/awstats.pl?config=$name, as it should be.
What do you mean by "res
Hello folks!
I've run into an horrible problem.
When i put
$r->uri('/awstats/awstats.pl');
$r->args("config=$name");
into my authen handler, the result is /awstats/awstats.pl/?config=$name,
and not /awstats/awstats.pl?config=$name, as it should be.
It's the trailing slash problem.
My mod_per
11 matches
Mail list logo