Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: progitto on November 05, 2006, 11:30:39 AM

Title: modify httpd.conf template
Post by: progitto 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:
Title: Re: modify httpd.conf template
Post by: byte 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
Title: modify httpd.conf template
Post by: progitto 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
Title: modify httpd.conf template
Post by: progitto 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?