WebFaction
Community site: login faq

Hi there, I'm quite new to web faction and I have a couple questions.

I hoping to migrate a php project currently hosted on another server. However, the organization of this php project/application keeps the configuration files outside of the web root. So it looks something like the follow:

/phpproject/ web/ config/

But this means that the web root needs to be set at web not phpproject. I usually accomplish this by making adjustments to the httpd.conf file.

However, when i create a new php web application with webfaction, I don't see access to http.conf.

So, my first question is: after creating a new 'webapp' is it possible to identify a subfolder /web/ as the web root.

My second question is: is there a way to create a unique instance of apache2 just for this php application, which would allow me to control the httpd.conf file for that instance?

Thanks for your help.

asked 03 Jan '14, 18:03

Geoff16W
124
accept rate: 0%


Hello,

Welcome aboard!

If your application was called 'phpproject' you'd create your httpd.conf file in a directory that of something like:

~/webapps/phpproject/apache2/conf/httpd.conf

It sounds like you'd want to create a Custom Application (listening on a port), in which the private Apache runs, which in turn runs your application.

Please let us know if there is anything else.

permanent link

answered 03 Jan '14, 23:08

NickR ♦♦
4415
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262

question asked: 03 Jan '14, 18:03

question was seen: 2,309 times

last updated: 03 Jan '14, 23:08

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM