apache2 look like apache1 in configuration and structure
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
apache2 look like apache1 in configuration and structure
Perhaps my request is strange...
can i found a debian package of apache2 which have same structure of apache1, i.e with only httpd.conf file , no mods-available and no mods-enabled?
I have seen RHE have that but official debian packages repository no
There is a httpd.conf file in the apache2 package for backwards compatibility, though the package installs with that file empty. If you have an httpd.conf file from an earlier install I think you could replace the one in the apache2 directory, but the real question is, will it work right. (??!) Probably some things (lots of things) have changed with the new apache2. I have never tried what you want to do, but there is an httpd.conf file. BTW, don't erase the config files that are there (apache2.conf) as they include the httpd.conf file that you need. Apache2 wont be able to find it if you erase all of "apache2.conf".
Ok, this is a way, perhaps a little "dangerous"
I want to do it to have a package most possible like standard apache
I 'd understand not well, but i think only debian, ubuntu and some other debian-derived distro use this structure for apache 2 ; from official documentation there is no reference to apache2.conf, it is possible i make a mistake however
Just out of curiosity, what is your reason for doing this? Are you trying to move an existing web site that uses apache over to apache2, or are you starting from scratch and you just like the idea of using apache 1... ??
uhmmm
the reason is trivial, i use in my company servers rhel and centos and on this server i have installed via yum apache2 and it has "standard" structure
On my personal laptop i use debian, and i enjoy this; often i make test or i study solutions using my notebook so i have advantage to use on debian "standard" structure..this is all
Perhaps i compile from source and have same structure
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.