Koozali.org: home of the SME Server

modify httpd.conf template

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
modify httpd.conf template
« on: November 05, 2006, 11:30:39 AM »
I have to add in my httpd.conf a redirect requests to access from the web on port 80 an application that is reachable from the lan on port 4020.
What can I do?
 :roll:

Offline byte

  • *
  • 2,183
  • +2/-0
Re: modify httpd.conf template
« Reply #1 on: November 05, 2006, 02:17:42 PM »
Quote from: "progitto"

What can I do?
 :roll:


If you know what you want to put in the httpd.conf file then create your template...if your not sure how to create templates have a look at the dev guide....

http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#TEMPLATES
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
modify httpd.conf template
« Reply #2 on: November 05, 2006, 04:55:57 PM »
I'll have to add something like this
Code: [Select]
RewriteEngine       on
ProxyRequests        on
RewriteRule /my_app http://localhost:4020/$1 [P,L]
RewriteRule /(submit.*) http://localhost:4020/$1 [P,L]
RewriteRule /(files.*) http://localhost:4020/$1 [P,L]
ProxyPassReverse /(.*)  http://localhost:4020/$1

Thanks for the link!  :pint:
Good Sunday to you

Offline progitto

  • *****
  • 217
  • +0/-0
    • http://umbertomassari.dyndns.org
modify httpd.conf template
« Reply #3 on: November 07, 2006, 10:19:12 AM »
I've read about custom templates in developer's guide but I haven't the skill to do what I want.   :evil:
Anyone can give me some help?