Page 1 of 1

[SOLVED] Apache2 Installation

Posted: Thu Jun 27, 2019 7:28 pm
by Seagasm
Good morning Crew, I have installed Apache2 from the repository only to discover not only is it installed in the File System but also the local web sites are located in File System/Var/www/as well. I try and keep my operating system separate and would rather install working files such as www/ in the Home folder/partition. How can I overcome this? Thank you.

Re: Apache2 Installation

Posted: Thu Jun 27, 2019 7:30 pm
by Jerry3904
Install it using Package Installer might do it.

Re: Apache2 Installation

Posted: Thu Jun 27, 2019 7:39 pm
by Seagasm
Hi Jerry, no, that is what I did, twice.

Re: Apache2 Installation

Posted: Fri Jun 28, 2019 12:40 am
by Mishimainizu
Seagasm wrote: Thu Jun 27, 2019 7:28 pm ...but also the local web sites are located in File System/Var/www/as well. I try and keep my operating system separate and would rather install working files such as www/ in the Home folder/partition. How can I overcome this? Thank you.
If it's the same as the Windows version, you should be able to change the www folder location in the configuration file.

Re: Apache2 Installation

Posted: Fri Jun 28, 2019 1:28 am
by JayM
If this will be a dedicated webserver, rather than just an experiment with apache on your own desktop/laptop PC, you may be interested in my Bare Server Edition respin:
viewtopic.php?f=100&t=51060

Re: Apache2 Installation

Posted: Fri Jun 28, 2019 7:57 pm
by Seagasm
Mishimainizu wrote: Fri Jun 28, 2019 12:40 am
Seagasm wrote: Thu Jun 27, 2019 7:28 pm ...but also the local web sites are located in File System/Var/www/as well. I try and keep my operating system separate and would rather install working files such as www/ in the Home folder/partition. How can I overcome this? Thank you.
If it's the same as the Windows version, you should be able to change the www folder location in the configuration file.
Thank you for your reply Mishimainizu, I have been wondering about that, I cannot do any harm as long as I do a Backup.

Re: [SOLVED] Apache2 Installation

Posted: Sat Jun 29, 2019 12:49 am
by Seagasm
Ok, I relocated the websites into the home folder, then changed the config files in apache2 folder to redirect to the sites in the respective home folder instead of File System/var/www/. All good so thank you all. 9_9