LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2013, 09:30 AM   #1
societymedia
LQ Newbie
 
Registered: Dec 2012
Posts: 8

Rep: Reputation: Disabled
Apache Proxy with NodeJS not downloading static files


Hi guys, need some help. I have a nodejs express app that runs on :3010. I have set up a <VirtualHost> in my httpd.conf to proxyPass my domain abc.com to 1.1.1.1:3010

apache resolves the abc.com to abc.com:3010 correctly but all the resources in the html file are throwing 502 proxy errors.

other than modifying the html, whats the best way to fix this?

Thanks so much!
 
Old 09-11-2013, 01:07 PM   #2
societymedia
LQ Newbie
 
Registered: Dec 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
hmm solved by simply adding a '/' at the end of the ProxyPass. Duh!
 
Old 09-11-2013, 01:16 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Thanks for posting your fix.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] nodejs installation error yashfire007 Linux - Newbie 4 05-15-2013 09:37 AM
[SOLVED] nodejs, nodejs-dev incompatibility in Ubintu? mjbradakis Linux - Software 1 03-24-2013 11:50 PM
New apache install, php files are downloading rather than displaying abefroman Linux - Software 2 10-17-2009 06:25 PM
Torrent downloading,,Setting static IP or UPnP?? stratotak Debian 4 12-01-2008 12:11 PM
Apache 2 Reverse Proxy : Error 403: Serving contents of JSP files is not allowed rboekdrukker Linux - Networking 1 01-14-2008 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration