Skip to content

Instantly share code, notes, and snippets.

@abdulhadad
Created November 26, 2014 08:09
Show Gist options
  • Save abdulhadad/0c4dcc7d70237a6a1912 to your computer and use it in GitHub Desktop.
Save abdulhadad/0c4dcc7d70237a6a1912 to your computer and use it in GitHub Desktop.
Proxy configuration for tableau on apache httpd
# open tableau server login screen in existing server http://webserver_host/tableau/
# after login url will redisrect to http://webserver_host/
# open again to open tableau server portal http://webserver_host/tableau/
#
# clear web browser cache to use or use private browsing mode
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# change with tableau server ip address and port
ProxyPass /tableau/ http://127.0.0.1:8000/
ProxyPassReverse /tableau/ http://127.0.0.1:8000/
<Location /tableau/>
Order allow,deny
Allow from all
</Location>
# reverse proxy for tableau, name collected from network transaction
# change with C:\Program Files\Tableau\Tableau Server\8.1\wgserver\public\v_* folder name
ProxyPass /v_81001410151338 http://localhost/tableau/v_81001410151338
ProxyPassReverse /v_81001410151338 http://localhost/tableau/v_81001410151338
<Location /v_81001410151338>
Order allow,deny
Allow from all
</Location>
ProxyPass /views http://localhost/tableau/views
ProxyPassReverse /views http://localhost/tableau/views
<Location /views>
Order allow,deny
Allow from all
</Location>
ProxyPass /vizql http://localhost/tableau/vizql
ProxyPassReverse /vizql http://localhost/tableau/vizql
<Location /vizql>
Order allow,deny
Allow from all
</Location>
ProxyPass /trusted http://localhost/tableau/trusted
ProxyPassReverse /trusted http://localhost/tableau/trusted
<Location /trusted>
Order allow,deny
Allow from all
</Location>
ProxyPass /images http://localhost/tableau/images
ProxyPassReverse /images http://localhost/tableau/images
<Location /images>
Order allow,deny
Allow from all
</Location>
ProxyPass /auth http://localhost/tableau/auth
ProxyPassReverse /auth http://localhost/tableau/auth
<Location /auth>
Order allow,deny
Allow from all
</Location>
ProxyPass /manual http://localhost/tableau/manual
ProxyPassReverse /manual http://localhost/tableau/manual
<Location /manual>
Order allow,deny
Allow from all
</Location>
ProxyPass /thumb http://localhost/tableau/thumb
ProxyPassReverse /thumb http://localhost/tableau/thumb
<Location /thumb>
Order allow,deny
Allow from all
</Location>
ProxyPass /admin http://localhost/tableau/admin
ProxyPassReverse /admin http://localhost/tableau/admin
<Location /admin>
Order allow,deny
Allow from all
</Location>
ProxyPass /view http://localhost/tableau/view
ProxyPassReverse /view http://localhost/tableau/view
<Location /view>
Order allow,deny
Allow from all
</Location>
ProxyPass /workbooks http://localhost/tableau/workbooks
ProxyPassReverse /workbooks http://localhost/tableau/workbooks
<Location /workbooks>
Order allow,deny
Allow from all
</Location>
ProxyPass /datasources http://localhost/tableau/datasources
ProxyPassReverse /datasources http://localhost/tableau/datasources
<Location /datasources>
Order allow,deny
Allow from all
</Location>
ProxyPass /stylesheets http://localhost/tableau/stylesheets
ProxyPassReverse /stylesheets http://localhost/tableau/stylesheets
<Location /stylesheets>
Order allow,deny
Allow from all
</Location>
ProxyPass /javascripts http://localhost/tableau/javascripts
ProxyPassReverse /javascripts http://localhost/tableau/javascripts
<Location /javascripts>
Order allow,deny
Allow from all
</Location>
ProxyPass /alerts http://localhost/tableau/alerts
ProxyPassReverse /alerts http://localhost/tableau/alerts
<Location /alerts>
Order allow,deny
Allow from all
</Location>
ProxyPass /sites http://localhost/tableau/sites
ProxyPassReverse /sites http://localhost/tableau/sites
<Location /sites>
Order allow,deny
Allow from all
</Location>
ProxyPass /licensing http://localhost/tableau/licensing
ProxyPassReverse /licensing http://localhost/tableau/licensing
<Location /licensing>
Order allow,deny
Allow from all
</Location>
ProxyPass /users http://localhost/tableau/users
ProxyPassReverse /users http://localhost/tableau/users
<Location /users>
Order allow,deny
Allow from all
</Location>
ProxyPass /groups http://localhost/tableau/groups
ProxyPassReverse /groups http://localhost/tableau/groups
<Location /groups>
Order allow,deny
Allow from all
</Location>
ProxyPass /projects http://localhost/tableau/projects
ProxyPassReverse /projects http://localhost/tableau/projects
<Location /projects>
Order allow,deny
Allow from all
</Location>
ProxyPass /data_connections http://localhost/tableau/data_connections
ProxyPassReverse /data_connections http://localhost/tableau/data_connections
<Location /data_connections>
Order allow,deny
Allow from all
</Location>
ProxyPass /schedules http://localhost/tableau/schedules
ProxyPassReverse /schedules http://localhost/tableau/schedules
<Location /schedules>
Order allow,deny
Allow from all
</Location>
ProxyPass /tasks http://localhost/tableau/tasks
ProxyPassReverse /tasks http://localhost/tableau/tasks
<Location /tasks>
Order allow,deny
Allow from all
</Location>
ProxyPass /subscriptions http://localhost/tableau/subscriptions
ProxyPassReverse /subscriptions http://localhost/tableau/subscriptions
<Location /subscriptions>
Order allow,deny
Allow from all
</Location>
ProxyPass /authoring http://localhost/tableau/authoring
ProxyPassReverse /authoring http://localhost/tableau/authoring
<Location /authoring>
Order allow,deny
Allow from all
</Location>
ProxyPass /new http://localhost/tableau/new
ProxyPassReverse /new http://localhost/tableau/new
<Location /new>
Order allow,deny
Allow from all
</Location>
ProxyPass /create http://localhost/tableau/create
ProxyPassReverse /create http://localhost/tableau/create
<Location /create>
Order allow,deny
Allow from all
</Location>
ProxyPass /projects.xml http://localhost/tableau/projects.xml
ProxyPassReverse /projects.xml http://localhost/tableau/projects.xml
<Location /projects.xml>
Order allow,deny
Allow from all
</Location>
ProxyPass /prefs http://localhost/tableau/prefs
ProxyPassReverse /prefs http://localhost/tableau/prefs
<Location /prefs>
Order allow,deny
Allow from all
</Location>
ProxyPass /page http://localhost/tableau/page
ProxyPassReverse /page http://localhost/tableau/page
<Location /page>
Order allow,deny
Allow from all
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment