Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
wazzageek
1095 posts

Uber Geek
+1 received by user: 108

ID Verified
Trusted
Lifetime subscriber

  #239972 28-Jul-2009 22:47
Send private message

Ahh - sorry, my post got garbled in the pasting ... try this:

ProxyRequests off
ProxyPass /app1/ http://www.nzherald.co.nz/

<Location /app1/>
ProxyPassReverse /
</Location>

you'll get a 404 (file not found) if you don't include the trailing slash (welcome to the fun world of apache configuration).

403 forbidden - there may be an overriding allow / deny setting taking into effect here. Try adding in the location lines above to get that working.

In *theory* this will also work for differing port numbers on the servers, but I'm not too sure what will happen when you start looking at webservers internally that require authentication - I'm thinking embedded units here... (something to look in later;-)




davidcole

6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #240030 29-Jul-2009 08:29
Send private message

wayhay!! got it working.

After the ProxyPass I did have to add:


Order deny,allow
Allow from all



And then it worked...Ok now to try and get it working on my webs inside my own network. Thanks for all your help.




Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


wazzageek
1095 posts

Uber Geek
+1 received by user: 108

ID Verified
Trusted
Lifetime subscriber

  #240052 29-Jul-2009 09:15
Send private message

Excellent - you'll need to have a further look over the detail in the link I'd posted earlier, as will will most likely need some rewriting of the code as it comes through (so that the links remain as you want them, rather than as something else.

You could also just simply setup multiple virtual hosts and host teh proxypass on the root of the website :-)

Good Luck!

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.