Coder Social home page Coder Social logo

Apache Module Include Config about webmin HOT 7 CLOSED

webmin avatar webmin commented on June 12, 2024
Apache Module Include Config

from webmin.

Comments (7)

swelljoe avatar swelljoe commented on June 12, 2024

This is not a "newer Apache systems" thing. It is specific to some operating systems (FreeBSD, I believe does it the way you suggest; Debian has an included directory for VirtualHost configuration, and RHEL/CentOS/Fedora use a single file; none are newer or older, it's just the way the OS developers wanted to do things)...all have been supported by Virtualmin and Webmin for some time. Visit the Apache Module Config page. The fields are labeled "File or directory to add virtual servers to" and "Filename pattern for virtual servers" (the latter is only useful for the directory style layout).

from webmin.

GRMrGecko avatar GRMrGecko commented on June 12, 2024

Oh, I'm using MacOSX which is based off of BSD in some way, so I guess that's why. I changed File or directory to add virtual servers to /server/httpd/conf/extra/httpd-vhosts.conf and it doesn't show the virtual servers in that file, I verified that's the file by cat and I tried extra/httpd-vhosts.conf. Any help?

from webmin.

swelljoe avatar swelljoe commented on June 12, 2024

It won't move existing VirtualHost sections in the httpd.conf (Webmin never makes those kinds of dramatic changes automatically). You'll need to either delete and recreate them, or move them manually, first.

from webmin.

GRMrGecko avatar GRMrGecko commented on June 12, 2024

I guess I'll just copy paste the config into the main one, but I expected for it to see that it's including config from another config file and have an area to edit that config file.

from webmin.

swelljoe avatar swelljoe commented on June 12, 2024

Well, there is ("Edit Config Files" has a dropdown list of configuration files available for editing where you can directly edit the vhosts.conf file, if you were so inclined), but that's not related to Webmin knowing to store VirtualHost sections in that file. Webmin lists all VirtualHosts that it knows about, regardless of where they appear, and it doesn't treat them differently based on what file they're stored in; and, of course, it saves them back where they originally were when editing them. This is a feature, not a bug. ;-)

from webmin.

GRMrGecko avatar GRMrGecko commented on June 12, 2024

Well thanks for the help, sorry if I caused you any trouble. I know how it is being a developer.

from webmin.

swelljoe avatar swelljoe commented on June 12, 2024

No trouble. That's what I'm here for. (And Jamie's the developer, mostly. I just stand around and look pretty most of the time.)

from webmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.