Hi everyone! I would like to ask some advices regarding Ghost and Apache. I’m using Apache for running my homepage (static HTML) and two Drupal website (var/www/drupal1 e /var/www/drupal2). I did not set any virtual server or anything, it’s everything very basic!
I would like to start using Ghost, but at the same time, leaving there the two Drupal websites. What I should do?
I was thinking:
Any suggestions? and mostly…how can I do such things (links for guide/tutorial are very much appreciated!) ? :D
Thanks in advance!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
You should be able to set it up so domain.com serves the Ghost blog and domain.com/drupal1 and domain.com/drupal2 serve your Drupal sites. You’ll need to use a ProxyPass to serve Ghost, so the key is to exclude the Drupal sites from the proxy. In your Apache conf, you’ll need something like: <br> <br><pre> <br> ProxyPass /drupal1 ! <br> Alias /foo /var/www/drupal1 <br> <br> ProxyPass /drupal2 ! <br> Alias /foo /var/www/drupal2 <br> <br> ProxyPass / http://127.0.0.1:2368 <br> ProxyPassReverse / http://127.0.0.1:2368 <br> ProxyPreserveHost On <br> RewriteEngine On <br> RewriteOptions inherit <br></pre> <br> <br>Notice that we define the Drupal sites first. <br> <br>Let us know how it goes! <br>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
