Re: gnats access

Adam Weremczuk <[email protected]> Wed, 28 Feb 2007 14:51:20 +0000
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
Hi Chad,
The internal redirection wasn't a problem. In 
"/etc/apache2/sites-available/default" (Debian) I simply modified the 
following line:

RedirectMatch ^/$ http://255.255.255.255/cgi-bin/gnatsweb.pl

255... represents gnats box internal IP. I can't remember what it was 
pointing to originally.
It works fine i.e. anyone typing http://255.255.255.255 in his 
browser form inside of our network gets straight to gnats.
Problems start when I set up a port redirection on our router so hits 
to http://0.0.0.0.0:10255 (0... represents our external IP) should be 
redirected to the gnats box and they are not! Instead you see"The 
page cannot be displayed" error. These NAPT redirections work 
perfectly for other connections (ssh, apache, remote desktop etc.). 
Is it rather an apache or gnats issue?
Thanks
Adam



At 19:22 15/02/2007, you wrote:
>Adam Weremczuk <[email protected]>  wrote:
> > Hi all
> > I had a look at "Appendix E dbconfig recipes" but haven't found the
> > answer to my question.  Is there a quick way to set up a port on
> > gnats box so it listens and redirects all hits to my gnatsweb.pl?
>
>That would be an Apache Redirect rule, or possibly a rewrite rule.
>See http://httpd.apache.org.
>
>--
>Chad Walstrom <[email protected]>           http://www.wookimus.net/
>            assert(expired(knowledge)); /* core dump */