Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Runing Both Apache and YAWS on Port 80

hknight
Posted: Sun Feb 14, 2010 3:21 pm Reply with quote
User Joined: 07 Jan 2010 Posts: 11
Hello,

I would like to run both Apache and YAWS on port 80.

Using virtual hosts, this website should use YAWS
http://yaws.example.com/

While this one should be run by Apache:
http://apache.example.com/

Maybe YAWS could be setup to run on port 80 and Apache could run on
port 8888 and then setup a proxy to run Apache, based on virtual host
settings?

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
View user's profile Send private message
Guest
Posted: Sun Feb 14, 2010 11:13 pm Reply with quote
Guest
Mean you into Linux? Because 80 shall be too IIS.Use conf for Apache to
change default port, for YAWS default shall be 8080, but seem to be
customizable;infact, I've an application that use YAWS but into 8000 port.


-----Original Message-----
From: Hank Knight [mailto:hknight555@gmail.com]
Sent: domenica 14 febbraio 2010 16:21
To: erlyaws-list
Subject: [Erlyaws-list] Runing Both Apache and YAWS on Port 80

Hello,

I would like to run both Apache and YAWS on port 80.

Using virtual hosts, this website should use YAWS
http://yaws.example.com/

While this one should be run by Apache:
http://apache.example.com/

Maybe YAWS could be setup to run on port 80 and Apache could run on
port 8888 and then setup a proxy to run Apache, based on virtual host
settings?

----------------------------------------------------------------------------
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Mon Feb 15, 2010 9:36 am Reply with quote
Guest
Maybe you could do vice versa,let Apache run on port 80, Yaws on 8080, and set up two vhosts in Apacahe ( http://httpd.apache.org/docs/2.0/vhosts/ ).
Set up yaws.example.com as a Reverse Proxy in the VirtualHost directive for yaws.example.com:
ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
/Mikael

2010/2/14 Hank Knight <hknight555@gmail.com (hknight555@gmail.com)>
Quote:
Hello,

I would like to run both Apache and YAWS on port 80.

Using virtual hosts, this website should use YAWS

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum