Arch: Is there any chance to use Apache all default for 2 or more virtual hosts?
Clash Royale CLAN TAG#URR8PPP
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
add a comment |
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
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
add a comment |
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
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
debian arch-linux apache-httpd configuration ansible
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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