httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Decker <>
Subject [users@httpd] Confusing apache configuration
Date Wed, 27 Jun 2012 13:29:25 GMT
Hello. I'm having trouble figuring out how to configure apache for the
following: should go through mod_passenger

but anything else, such as:
should go through mod_proxy.

So, I would need something to check if it has /mstar as the first
component of the path and if so, have it served through passenger. But
anything else should go through mod_proxy.

something like:

<VirtualHost *:80>

        DocumentRoot /home/ruby/webapps/m-star/current/public

        <Location /mstar>
            PassengerEnabled on
            RailsBaseURI /mstar
            # This relaxes Apache security settings.
            AllowOverride all
            # MultiViews must be turned off.
            Options -MultiViews FollowSymLinks
            Order allow,deny
            Allow from all

        ProxyPass /
        ProxyPassReverse /
        <Location />
            PassengerEnabled off
            Order allow,deny
            Allow from all

However, this of course is not working.

Can you give me some pointers on what to look at in the apache
configurations to accomplish this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message