httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jori Mantysalo <j...@cs.uta.fi>
Subject Re: [users@httpd] RewriteRule: From x.a.b to y.a.b:nn/...
Date Wed, 02 Jun 2004 06:46:07 GMT
On Mon, 31 May 2004, Eugene Lee wrote:

> : Last one works when I try URL "http://service.a.b/xxx", where 'xxx' can be
> : anything. But plain "http://service.a.b" does not work. Should it work?

> 	RewriteRule ^/(.*)$ http://realname.a.b:1234/some/service [R]

Does not work :(

When using this

RewriteRule ^(.*)$ http://realname.a.b:1234/some/service [R]

and trying to connect plain URL "http://service.a.b" or
"http://service.a.b/" (both do same thing, and I think that those URL's
should mean exactly same) I got "403 Forbidden" and at error log

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that
RewriteRule directive is forbidden: /path/to/wwwroot

But symlinks works, I tested by symlinking /etc/issue.

-- 
Jori Mäntysalo
Laboratorioinsinööri
TAUCHI / Tietojenkäsittelytieteiden laitos / Tampereen yliopisto
Puh. 03-2158893, email jori@cs.uta.fi, kotisivu http://www.uta.fi/%7ejm58660/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message