Login
Register
Menu
Home
Help
Search
rejetto forum
PROBLEMS? QUESTIONS? CLICK HERE!
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
router & port problems
»
Reverse Proxy with HFS
Reverse Proxy with HFS
DArKer
·
3 ·
10460
« previous
next »
Print
Pages:
1
0 Members and 1 Guest are viewing this topic.
DArKer
Occasional poster
Posts:
1
Reverse Proxy with HFS
on:
April 10, 2011, 03:16:09 PM
I just want to access HFS from port 80 but Apache already use it.
So I try to edit Apache's httpd.conf for Reverse Proxy but still working (return 500 server error).
My Config:
RewriteEngine On
RewriteRule ^/file/?(.*)$
http://mysite.com:7777/
$1 [P]
ProxyPass /file
http://mysite.com:7777
ProxyPassReverse /file
http://mysite.com:7777
If anyone know about apache config please help me.
Thanks.
Mars
Operator
Tireless poster
Posts:
2068
Re: Reverse Proxy with HFS
Reply #1 on:
April 10, 2011, 03:32:09 PM
You can force Apache to listen to on some other ports according to the network mask used in httpd.conf
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName 127.0.0.1:
8888
#Listen 12.34.56.78:80
Listen 127.0.0.1:
8888
Listen 192.168.1.10:
8080
Listen 10.0.0.10:
8080
.....
«
Last Edit: April 10, 2011, 06:26:06 PM by Mars
»
rejetto
Administrator
Tireless poster
Posts:
13523
Re: Reverse Proxy with HFS
Reply #2 on:
April 11, 2011, 09:33:03 AM
i never used apache as a reverse proxy myself, so can't help with it.
just wanted to say: if you can't succeed with it, consider to put hfs and apache on a different ports.
Print
Pages:
1
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
router & port problems
»
Reverse Proxy with HFS
Search
Username
Password
Always stay logged in
Forgot your password?