Hi to be able to access the application from internet I just type the URL from my computer at home like you will be doing.Where as to access it from within the organization I access it as
http://192.168.1.4:8080/portal nothing special this is how it works after installation as link
here says in section 8
Quote:
Once Tomcat has started successfully, you should be able to direct your browser to its gateway page at http://localhost:8080/portal (or replace 'localhost' with the name of the server where it's installed)
|
Here is a link following which I am setting apache reverse proxy for sakai
https://confluence.sakaiproject.org/...+mod_proxy_ajp
I am not clear with 2 things on above URL
1) Point no 5
2) Point no 7
Where should I create ajp.conf on server where Apache is running or on server where sakai is running.
Since both are different machines.
Then confusion is in ajp.conf and what should I use in vhost configuration.
as the link says to do some thing like
Quote:
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
|
in my case the server on which Apache is running and the server where
Sakai is are
physically different machines.
So should I replace localhost by IP of machine where sakai
(tomcat) instance is running.Is that correct or it is saying me to point to localhost of machine where Apache is running?
I am not clear with point no 7 of
URL.
Which says
Quote:
"Once again, ensure you have the line in httpd.conf that is going to
load this ajp.conf file."
|
here is it referring to the Apache vhost file or apache2.conf I am
having a Ubuntu server which does not have httpd.conf What I till now
have understood the server which faces the internet I should have some
thing defined in Apache vhost on that server.
Correct me if I am wrong.
Here is the apache configuration if some one wants to have a look
The above configuration is server on which Apache is running and
mod_proxy_ajp of Apache is configured
I have created a file named ajp.conf but not clear with the entries.