Page 1 of 1

Custom apache vhost

PostPosted: Sat Apr 19, 2014 7:05 am
by kevin39
Hi,
Is there a proper way to define custom apache vhost ?
I edited the httpd.conf but I think it's will be overridden after a firmware upgrade.

If currently there is no way to do that, what do you think about adding something like that in the default config :
IncludeOptional /share/1000/*/apache*.conf


It will include all apache.conf found in share folder.

Re: Custom apache vhost

PostPosted: Sat Apr 19, 2014 9:31 am
by Jocko
Hi kevin,

You can do it by adding this line in all httpd.x file of the folder /etc (except for httpd.conf which is overwritten)
Code: Select all
IncludeOptional /share/1000/fvdw/myvirtualhost.conf


Note: I don't like to use jokers in a system conf file ;) (this can be a security issue)

Now: I won't be at home...

Re: Custom apache vhost

PostPosted: Sat Apr 19, 2014 9:44 am
by kevin39
Ok,
Thank you :) I'll do !