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 
Go Hawks!
917 posts

Ultimate Geek
+1 received by user: 61

Trusted
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;-)




4378 posts

Uber Geek
+1 received by user: 669

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

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


 
 
 
 


Go Hawks!
917 posts

Ultimate Geek
+1 received by user: 61

Trusted
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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

HPE to acquire supercomputing leader Cray
Posted 20-May-2019 11:07


Techweek starting around NZ today
Posted 20-May-2019 09:52


Porirua City Council first to adopt new council software solution Datascape
Posted 15-May-2019 12:00


New survey provides insight into schools' technology challenges and plans
Posted 15-May-2019 09:30


Apple Music now available on Alexa devices in Australia and New Zealand
Posted 15-May-2019 09:11


Make a stand against cyberbullying this Pink Shirt Day
Posted 14-May-2019 20:23


Samsung first TV manufacturer to launch the Apple TV App and Airplay 2
Posted 14-May-2019 20:11


Vodafone New Zealand sold
Posted 14-May-2019 07:25


Kordia boosts cloud performance with locally-hosted Microsoft Azure ExpressRoute
Posted 8-May-2019 10:25


Microsoft Azure ExpressRoute in New Zealand opens up faster, more secure internet for Kiwi businesses
Posted 8-May-2019 09:39


Vocus Communications to deliver Microsoft Azure Cloud Solutions through Azure ExpressRoute
Posted 8-May-2019 09:25


Independent NZ feature film #statusPending to premiere during WLG-X
Posted 6-May-2019 22:13


The ultimate dog photoshoot with Nokia 9 PureView #ForgottenDogsofInstagram
Posted 6-May-2019 09:41


Nokia 9 PureView available in New Zealand
Posted 6-May-2019 09:06


Motorola Solutions joins local partners to deliver advanced communications network in New Zealand
Posted 30-Apr-2019 21:50



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.