Arch: Is there any chance to use Apache all default for 2 or more virtual hosts?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I consider establishing an Arch based LAMP.



From reading this document, it seems there is must configuration to be done just for Apache itself, not to mention MySQL and PHP.



In Debian LAMP there's much less to configure and the basic usage is pretty much "all default".



Is there any chance to use Arch Apache all default for 2 or more virtual hosts without all this configuration?



I didn't find any Ansible galaxy-role to make it easier.










share|improve this question



















  • 1





    I'm not an Arch user, but I believe the philosophy of Arch is to promote a do-it-yourself approach: Why would I not want to use Arch?

    – Haxiel
    Jan 19 at 6:17















1















I consider establishing an Arch based LAMP.



From reading this document, it seems there is must configuration to be done just for Apache itself, not to mention MySQL and PHP.



In Debian LAMP there's much less to configure and the basic usage is pretty much "all default".



Is there any chance to use Arch Apache all default for 2 or more virtual hosts without all this configuration?



I didn't find any Ansible galaxy-role to make it easier.










share|improve this question



















  • 1





    I'm not an Arch user, but I believe the philosophy of Arch is to promote a do-it-yourself approach: Why would I not want to use Arch?

    – Haxiel
    Jan 19 at 6:17













1












1








1


1






I consider establishing an Arch based LAMP.



From reading this document, it seems there is must configuration to be done just for Apache itself, not to mention MySQL and PHP.



In Debian LAMP there's much less to configure and the basic usage is pretty much "all default".



Is there any chance to use Arch Apache all default for 2 or more virtual hosts without all this configuration?



I didn't find any Ansible galaxy-role to make it easier.










share|improve this question
















I consider establishing an Arch based LAMP.



From reading this document, it seems there is must configuration to be done just for Apache itself, not to mention MySQL and PHP.



In Debian LAMP there's much less to configure and the basic usage is pretty much "all default".



Is there any chance to use Arch Apache all default for 2 or more virtual hosts without all this configuration?



I didn't find any Ansible galaxy-role to make it easier.







debian arch-linux apache-httpd configuration ansible






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 19 at 8:53









Rui F Ribeiro

39.9k1479134




39.9k1479134










asked Jan 18 at 23:35









JohnDoeaJohnDoea

711133




711133







  • 1





    I'm not an Arch user, but I believe the philosophy of Arch is to promote a do-it-yourself approach: Why would I not want to use Arch?

    – Haxiel
    Jan 19 at 6:17












  • 1





    I'm not an Arch user, but I believe the philosophy of Arch is to promote a do-it-yourself approach: Why would I not want to use Arch?

    – Haxiel
    Jan 19 at 6:17







1




1





I'm not an Arch user, but I believe the philosophy of Arch is to promote a do-it-yourself approach: Why would I not want to use Arch?

– Haxiel
Jan 19 at 6:17





I'm not an Arch user, but I believe the philosophy of Arch is to promote a do-it-yourself approach: Why would I not want to use Arch?

– Haxiel
Jan 19 at 6:17










1 Answer
1






active

oldest

votes


















1














In your documentation link is an example for the virtualhost config /etc/httpd/conf/extra/httpd-vhosts.conf. You can add another <VirtualHost>-block below the first one. But ofcourse you will have to configure your virtual hosts...



In my opinion the installation guide for Apache/Mysql/PHP is pretty straight forward and also kept pretty "default". Only 5-6 commands to set up and start a service is not much. No offense, but if this is too much for you, maybe you should consider switching to a different distro.






share|improve this answer























  • Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

    – JohnDoea
    Jan 23 at 13:59










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f495371%2farch-is-there-any-chance-to-use-apache-all-default-for-2-or-more-virtual-hosts%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














In your documentation link is an example for the virtualhost config /etc/httpd/conf/extra/httpd-vhosts.conf. You can add another <VirtualHost>-block below the first one. But ofcourse you will have to configure your virtual hosts...



In my opinion the installation guide for Apache/Mysql/PHP is pretty straight forward and also kept pretty "default". Only 5-6 commands to set up and start a service is not much. No offense, but if this is too much for you, maybe you should consider switching to a different distro.






share|improve this answer























  • Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

    – JohnDoea
    Jan 23 at 13:59















1














In your documentation link is an example for the virtualhost config /etc/httpd/conf/extra/httpd-vhosts.conf. You can add another <VirtualHost>-block below the first one. But ofcourse you will have to configure your virtual hosts...



In my opinion the installation guide for Apache/Mysql/PHP is pretty straight forward and also kept pretty "default". Only 5-6 commands to set up and start a service is not much. No offense, but if this is too much for you, maybe you should consider switching to a different distro.






share|improve this answer























  • Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

    – JohnDoea
    Jan 23 at 13:59













1












1








1







In your documentation link is an example for the virtualhost config /etc/httpd/conf/extra/httpd-vhosts.conf. You can add another <VirtualHost>-block below the first one. But ofcourse you will have to configure your virtual hosts...



In my opinion the installation guide for Apache/Mysql/PHP is pretty straight forward and also kept pretty "default". Only 5-6 commands to set up and start a service is not much. No offense, but if this is too much for you, maybe you should consider switching to a different distro.






share|improve this answer













In your documentation link is an example for the virtualhost config /etc/httpd/conf/extra/httpd-vhosts.conf. You can add another <VirtualHost>-block below the first one. But ofcourse you will have to configure your virtual hosts...



In my opinion the installation guide for Apache/Mysql/PHP is pretty straight forward and also kept pretty "default". Only 5-6 commands to set up and start a service is not much. No offense, but if this is too much for you, maybe you should consider switching to a different distro.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 23 at 13:53









FreddyFreddy

2366




2366












  • Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

    – JohnDoea
    Jan 23 at 13:59

















  • Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

    – JohnDoea
    Jan 23 at 13:59
















Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

– JohnDoea
Jan 23 at 13:59





Hello. It's not too much for me, I just wondered why is it longer than in Debian where there is only one command to install everything without any further commands but anyway I've learned that in Arch the approach is more "Do it yourself".

– JohnDoea
Jan 23 at 13:59

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f495371%2farch-is-there-any-chance-to-use-apache-all-default-for-2-or-more-virtual-hosts%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?