httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Many websites in different document roots behind a reverse proxy
Date Tue, 13 Jul 2010 13:55:04 GMT
On Tue, Jul 13, 2010 at 1:23 PM, Tapas Mishra <mightydreams@gmail.com> wrote:
> I am having some applications which I have not developed.
> The names are
> docebolms http://www.dokeos.com/
> efront http://www.efrontlearning.net/
> dokeos http://www.dokeos.com/
> claroline http://www.claroline.net/
> atutor http://www.atutor.ca/
> olat http://www.olat.org/website/en/html/index.html
> sakai  http://sakaiproject.org/
>
> Downloaded from internet.All these are web based.
> I am having Ubuntu 10.04 as setup
> I have tested all these applications by installing them on the server
> separately i.e. copied
> application in /var/www and then accessed on LAN all worked fine each
> time I formatted the server and had a new installation of Operating
> System.
>
> Now I want all of them to be present on the same server and wish they
> can be accessed behind a reverse proxy from internet.
>
> I kept them in
> /var/www as
> /var/www/application1
> /var/www/application2
> /var/www/application3
> /var/www/application4
>
>
> http://myserver.com/application1
> http://myserver.com/application2
> http://myserver.com/application3
> http://myserver.com/application4
>
>  setting up of a ReverseProxy
> so that
>
> ProxyPass /application1 http://myserver.com/application1
> ProxyPassReversr /application1 http://myserver.com/application1
>
> ProxyPass /application2 http://myserver.com/application2
> ProxyPassReversr /application2 http://myserver.com/application2
>
>
> ProxyPass /application3 http://myserver.com/application3
> ProxyPassReversr /application3 http://myserver.com/application3
>
>
> ProxyPass /application4 http://myserver.com/application4
> ProxyPassReversr /application4 http://myserver.com/application4
>
> some how this did not worked and applications could not be accessed
>
> Here are apache headers
>
> http://pastebin.com/NgR7qhFB
> If some one can give me some clue as how should I go for setting them
> or a VirtualHost do I need to create a separate vhost file for each of
> these applications.
>
>
>
>
> --
> Tapas
>

Another week, another 'explain reverse proxying to Tapas again'
thread. Can you not go through your email and re-read one of the dozen
of explanations you have had in the last month on how this works?

Personally, I think I've explained it as well as I can, but if someone
else fancies explaining it to you again, they would probably like to
see your actual configuration and a better explanation of what didn't
work better than 'somehow didnt work'. In other words something like
this:

I have an application running on 192.168.1.10:8080/fooapp/
I have a reverse proxy configured to proxy to this fooapp instance,
and here is the config file.
When I try to access the file '/fooapp/media/base.css' through the
proxy, I get a 404 not found.
Here are the log entries generated in the proxy's access_log for this
single request
Here are the log entries generated in the proxy's error_log for this
single request
Here are the log entries generated by the applications access log.

Show what actually happened in your scenario, because the information
you have given so far is useless.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message