Jump to content

Apache reverse proxy


rebrokenglass

Recommended Posts

I am struggling with my share point reverse proxy. My http.conf has this:

 

# rev proxy

#LoadModule proxy_module modules/mod_proxy.so

#LoadModule proxy_http_module modules/mod_proxy_http.so

 

<VirtualHost docmanager>

                ProxyRequests Off

                ProxyVia On

                ServerName docmanager

                <Proxy *>

                        Order Deny,Allow

                        Allow from all

                </Proxy>

                ProxyPass /docmanager http://10.1.1.180/

                ProxyPassReverse /docmanager http://10.1.1.180/

 

        #RewriteEngine On

        #RewriteCond %{SERVER_PORT} !443

        #RewriteRule ^(.*)$ https://urlhere.com/$1 [R,L]

</VirtualHost>

 

I also have this same configuration in my mods-enabled. For some reason it does nothing. The localhost running apache servers up an internal portal. I made a directory just in case called /docmanager. I should be able to reference this from the portal, but I am not able to, Apache just tells me that /docmanager is not found. Has anyone had any experience with reverse proxy and sharepoint? Is it as easy as it sounds?

 

Link to comment
Share on other sites

Yes, its very easy....when its setup correctly.

 

You can even use a .htaccess file!

See: http://wiki.kartbuilding.net/index.php/Apache#Apache_Rewrite_via_mod_proxy

 

 

mkdir /home/user/public_html/internalweb

vi /home/user/public_html/internalweb/.htaccess

RewriteEngine on

Rewriterule ^(.*)$ http://192.168.20.20/$1 [P]

 

 

 

-steve

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.