OSDN Git Service
(root)
/
modchxj
/
mod_chxj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e12b04
)
* Bug fix.
author
konn
<konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Tue, 28 Oct 2008 16:07:08 +0000
(16:07 +0000)
committer
konn
<konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Tue, 28 Oct 2008 16:07:08 +0000
(16:07 +0000)
- Changed.
In the post, it doesn't redirect to request URL but it redirects it to localhost.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/RELEASE_0_12_0@3523
1a406e8e
-add9-4483-a2c8-
d8cac5b7c224
src/mod_chxj.c
patch
|
blob
|
history
diff --git
a/src/mod_chxj.c
b/src/mod_chxj.c
index
5abb606
..
9fc8161
100644
(file)
--- a/
src/mod_chxj.c
+++ b/
src/mod_chxj.c
@@
-1251,7
+1251,11
@@
chxj_input_handler(request_rec *r)
url_path = apr_psprintf(pool, "%s%s", dconf->forward_url_base, r->uri);
}
else {
+#if 0
url_path = apr_psprintf(pool, "%s://%s:%d%s", chxj_apache_run_http_scheme(r), ap_get_server_name(r), ap_get_server_port(r), r->uri);
+#else
+ url_path = apr_psprintf(pool, "%s://%s:%d%s", chxj_apache_run_http_scheme(r), "localhost", ap_get_server_port(r), r->uri);
+#endif
}
if (r->args) {
url_path = apr_pstrcat(pool, url_path, "?", r->args, NULL);