Note that there are some explanatory texts on larger screens.

plurals
  1. POSetting up mod_proxy to pass http authentication to server
    primarykey
    data
    text
    <p>I have a problem configuring Apache as a proxy server. At the moment I access a MS Sharepoint installation using domain.net over Port 80. Before being able to use it I have to enter username and password. So far so good.</p> <p>Now I want to be able to access a website over a subdomain web.domain.net. The Server hosting this site runs on another machine in the internal network. The solution I came up with is to redirect port 80 to the machine running apache to serve the new website and proxy any requests for the sharepoint to the sharepoint server.</p> <p>So far I enabled all the proxy modules in my httpd.conf and added a virtual host. <strong>EDIT: Updated config after first responses.</strong></p> <pre><code>&lt;VirtualHost *:80&gt; ServerName domain.net ProxyRequests Off &lt;Proxy *&gt; Order deny,allow Allow from all &lt;/Proxy&gt; ProxyErrorOverride On ProxyPass / http://sharepoint/ ProxyPassReverse / http://sharepoint/ &lt;Location /&gt; AuthType basic AuthBasicAuthoritative Off SetEnv proxy-chain-auth On Order allow,deny Allow from all &lt;/Location&gt; &lt;/VirtualHost&gt; </code></pre> <p>This works. Entering domain.net forwards me to the sharepoint server. Now comes the actually problem. The sharepoint asks me for my credentials. But when I enter them the login form keeps popping up as I entered no or incorrect username and password.</p> <p>It seems like the credentials aren't forwarded to the sharepoint through the proxy. </p> <p>Can you give me any advise how to solve this? Is it possible to do this using mod_proxy?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload