LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 10: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, 02: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, 02:16 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:37 AM
[SOLVED] nodejs, nodejs-dev incompatibility in Ubintu? mjbradakis Linux - Software 1 03-25-2013 12:50 AM
New apache install, php files are downloading rather than displaying abefroman Linux - Software 2 10-17-2009 07:25 PM
Torrent downloading,,Setting static IP or UPnP?? stratotak Debian 4 12-01-2008 01:11 PM
Apache 2 Reverse Proxy : Error 403: Serving contents of JSP files is not allowed rboekdrukker Linux - Networking 1 01-14-2008 10:54 AM


All times are GMT -5. The time now is 11:11 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration