Job Board Software

Running PHP together with your Java-based website

From Job Board Software Support

Jump to: navigation, search

Contents

Implementation examples

  • adding a WordPress blog to your job board (within /blog folder)
  • directory section (run by PHP software)
  • custom sections/pages run by PHP applications

File:Blog_finance_jobs.png

Ngnix + Apache option

Here is one of configuration options available for solution based on:

  • Ngnix-hosted Java (job board software)
  • Apache-hosted PHP application (different server)

Split Java and PHP applications so they are run on separate servers.


Configure proxy pass to create folder within main website URL (same domain as job board).


Write following instruction to your Ngnix config for your virtual host (i.e. yourjobboard.conf):

 server {
   listen 80;
   server_name www.yourjobboard.com;
   .....
   location /blog {
   proxy_pass http://10.255.255.254/blog;
   }
   .....
 }

where 10.255.255.254 is IP of your PHP server.

Make sure that ServerName (www.yourjobboard.com) in Apache config is match with server_name in Ngnix settings and document root of PHP server contain folder correspond to proxy_pass location (/blog)


www.yourjobboard.com will present your job board and www.yourjobboard.com/blog — PHP blog.

More information

RE & Keywords

  • Adding WordPress blog (3rd party application) to your job board
  • Redirect folder to another server

modified on 11 January 2010 at 10:25 ••• 856 views