[Using Sakai] running 10 lmses on a website can not get sakai behind a reverse proxy running

Dunstall, Christopher CDunstall at csu.edu.au
Wed Feb 2 14:43:15 PST 2011


Hi Tapas,

I don't know httpd all that well, but some simple googling suggested to me a couple of things:

1. You have your conf file configured differently than every other how-to I found on reverse proxies... Take a look at [1].

2. What version of httpd are you using? There seems to be a bug [2] in mod_proxy/httpd prior to 2.2.4 that seems close to the symptoms you're getting.

3. Someone on the regular Sakai channels can correct me if I'm wrong, but default.sakai.properties needs to be renamed as sakai.properties (but that won't fix your problem I don't think).

[1] http://www.apachetutor.org/admin/reverseproxies
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=37770

Hope that helps...

Regards,

Chris Dunstall | Service Support - Applications
Technology Integration/OLE Virtual Team
Division of Information Technology | Charles Sturt University | Bathurst, NSW

Ph: 02 63384818 | Fax: 02 63384181


-----Original Message-----
From: sakai-user-bounces at collab.sakaiproject.org [mailto:sakai-user-bounces at collab.sakaiproject.org] On Behalf Of Tapas Mishra
Sent: Wednesday, 2 February 2011 11:30 PM
To: Sakai List
Subject: [Using Sakai] running 10 lmses on a website can not get sakai behind a reverse proxy running

Hi,
check
http://research.openitup.in/dokeos
http://research.openitup.in/docebolms
http://research.openitup.in/efront
http://research.openitup.in/ilias
http://research.openitup.in/atutor
http://research.openitup.in/claroline
and the last one is sakai
http://research.openitup.in/portal yesterday
I had posted a thread here where I was not clear as how to define a
Reverse Proxy to be used to serve the Sakai instance.

The root of my site  http://research.openitup.in is itself proxied
behind to some internal server.

You can see Apache vhost configuration here

<VirtualHost *:80>
        ServerName research.openitup.in
        ProxyRequests off
        <Proxy *>
        Order deny,allow
        Allow from all
        </Proxy>

        ProxyPreserveHost On

        ProxyPass /portal ajp://192.168.1.4:8009/portal
        ProxyPassReverse /portal ajp://192.168.1.4:8009/portal

       ProxyPass / http://192.168.1.4/
       ProxyPassReverse / http://192.168.1.4/

</VirtualHost>

The machine where sakai and research.openitup.in are running both are
same but they both are different from where our web server is.

https://confluence.sakaiproject.org/display/~steve.swinsburg/Fronting+Tomcat+with+Apache+via+mod_proxy_ajp

As per above doc I have done in server.xml

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
URIEncoding="UTF-8" />

and a file named default.sakai.properties has been changed

serverUrl=http://localhost:80

but still it is not accessible.Can any one suggest me some thing.
I am having many other websites proxied by our web server but this one
is giving problem.
If I create a file named ajp.conf
and write
ProxyPass / ajp://<Internal IP>:8009
ProxyPassReverse / ajp://<Internal IP>:8009

then all my sites are in accessible since
I have site itself proxied to back end like this

ProxyPass / http://<Internal IP>
ProxyPassReverse / http://<Internal IP>

Can any one suggest me any thing for the same.
Thanks.



--
_______________________________________________
sakai-user mailing list
sakai-user at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-user

TO UNSUBSCRIBE: send email to sakai-user-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"


More information about the sakai-user mailing list