jfuentes
09-16-2008, 06:17 PM
I am trying to access an internal wiki server through RAP.
For starters, if I'm on the internal network I can go to http://wikidotmydomaindotcom and it will redirect to http://wikidotmydomaindotcom/wiki
The rule in the Apache config file looks like this:
RewriteRule ^(.+)$ /wiki/index.php/$1 [L,QSA]
It works internally but trying to access through RAP, it just loops. Here's what I get in the Apache access log when going through RAP:
172.16.x.x - - [16/Sep/2008:15:20:10 -0700] "GET / HTTP/1.1" 200 253
172.16.x.x - - [16/Sep/2008:15:20:11 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:12 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:13 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:14 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:15 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:16 -0700] "GET / HTTP/1.1" 304 -
If I put a test.php page up with this: <?php phpinfo(); ?>
It works through RAP.
I can't figure out why I'm having this problem with the redirect. Any pointers appreciated.:D
For starters, if I'm on the internal network I can go to http://wikidotmydomaindotcom and it will redirect to http://wikidotmydomaindotcom/wiki
The rule in the Apache config file looks like this:
RewriteRule ^(.+)$ /wiki/index.php/$1 [L,QSA]
It works internally but trying to access through RAP, it just loops. Here's what I get in the Apache access log when going through RAP:
172.16.x.x - - [16/Sep/2008:15:20:10 -0700] "GET / HTTP/1.1" 200 253
172.16.x.x - - [16/Sep/2008:15:20:11 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:12 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:13 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:14 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:15 -0700] "GET / HTTP/1.1" 304 -
172.16.x.x - - [16/Sep/2008:15:20:16 -0700] "GET / HTTP/1.1" 304 -
If I put a test.php page up with this: <?php phpinfo(); ?>
It works through RAP.
I can't figure out why I'm having this problem with the redirect. Any pointers appreciated.:D