[SML] web server oddity continued

Ray Gibson booray at gmail.com
Thu Apr 21 01:08:52 UTC 2016


These are standard methods and commands for the debian/ubuntu flavors.
CentOS / Fedora / RHEL flavors use the "httpd" branding of apache,
which stores its configuration files in /etc/httpd/conf.d/ and does
not use the familiar a2* commands.

While unfortunate that this is their methodology, it is a valid and
acceptable standard one.  Simply placing your file with a .conf
extension in this folder enables it with a restart of apache
("apachectl graceful" would be the command you're looking for that
will not interrupt existing sessions).

Ray


On Wed, Apr 20, 2016 at 12:54 PM, Bryan Manternach via Stagecraft
<stagecraft at theatrical.net> wrote:
> I'd be questioning the ISP why they are deviating from the standard methods.
> And if they have moved the a2 utlities elsewhere.  Not having access to the
> server, either they have borked up their install, or put a2ensite in another
> directory that is not in your search path.
>
> Try issuing  "find / -depth -print | grep a2ensite" to see if it is
> elsewhere on the volume.
>
> -s
>
>
>
>
>
> On 4/20/16 11:48 AM, Jerry Durand via Stagecraft wrote:
>
> Yes, I was running a bunch of sites in the past.
>
> a2ensite not found.  They've fracked the standard Apache2 setup so I'm off
> to add all the aliases and other domains to the GUI.  *grump*
>
> On 04/20/2016 11:29 AM, smashwolf via Stagecraft wrote:
>
> I forgot something.
>
> the newer apache2 also relies on the "a2ensite" and "a2dissite" to create
> those symlinks properly.  On my system they are in /usr/sbin.  So for
> instance, in my /etc/httpd/sites-available I have a file called
> "smashwolf.com" which is the config file for my domain.  when I issue the
> command "a2enable smashwolf.com" it creates the symlink called
> /etc/apache2/sites-enabled/010-smashwolf.com .  When I restart apache2, the
> site config file is seen, parsed, and the site comes up.
>
> I have several virtual web sites runnin on my apache2 instance, so I have
> several sites-avaialble configs, and several symlinks in sites-enabled.
>
> This mechanism carries over to enabling modules and disabling modules using
> a2enmod, and a2dismod, etc, etc.
>
> -Bryan
>
> --
> -
> Bryan Manternach, President, Smashwolf Productions & Studios
> 2883 Aiello Drive, Suite #3, San Jose, CA, 95111
> 408-363-8324, 408-209-3099 (mobile), smash at smashwolf.com
>
>
>
> On 4/20/16 11:20 AM, smash via Stagecraft wrote:
>
> /etc/httpd/sites-enabled is supposed to contain symbolic links to
> /etc/httpd/sites-available files.  have you looked for
> /etc/httpd/sites-available , and verified that the configs are there?  If
> they are, you merely need to create symbolic links.
>
> Also, if it is a symlink issue, the latest versions of the Apache
> configuration is sensitive to the actual format of the file/symlink names.
> They must have the full ".conf" extension on them.  previous versions did
> not care and would start up anything in the directory.  Now it actually
> matters.  I hit this problem when I upgraded from Debian Wheezy to Jesse
> (debian 8.3).
>
> -Bryan
>
> --
> -
> Bryan Manternach, President, Transwarp Enterprises LLC
> 2883 Aiello Drive, Suite #3, San Jose, CA, 95111
> 408-363-8324, 408-209-3099 (mobile), smash at transwarp.com
>
>
> On 4/20/16 11:09 AM, Jerry Durand via Stagecraft wrote:
>
> I've been going back and forth with the device vendor who also supplies
> their version of Linux.  Today I just found out they are no longer using the
> /etc/httpd/sites-enabled files.  I have a question in to them as to where
> they put the ^%$#@! configuration files so we can all fix our sites.
>
> --
> Jerry Durand, Durand Interstellar, Inc.  http://interstellar.com
> tel: +1 408 356-3886, USA toll free: 1 866 356-3886
>
>
>
> ____________________________________________________________
> For list information see <http://stagecraft.theprices.net/>
> Stagecraft mailing list
> Stagecraft at theatrical.net
> http://theatrical.net/mailman/listinfo/stagecraft_theatrical.net
>
>
> --
> -
> Bryan Manternach, President, Transwarp Enterprises LLC
> 2883 Aiello Drive, Suite #3, San Jose, CA, 95111
> 408-363-8324, 408-209-3099 (mobile), smash at transwarp.com
>
>
>
> ____________________________________________________________
> For list information see <http://stagecraft.theprices.net/>
> Stagecraft mailing list
> Stagecraft at theatrical.net
> http://theatrical.net/mailman/listinfo/stagecraft_theatrical.net
>
>
>
>
> ____________________________________________________________
> For list information see <http://stagecraft.theprices.net/>
> Stagecraft mailing list
> Stagecraft at theatrical.net
> http://theatrical.net/mailman/listinfo/stagecraft_theatrical.net
>
>
> --
> Jerry Durand, Durand Interstellar, Inc.  http://interstellar.com
> tel: +1 408 356-3886, USA toll free: 1 866 356-3886
>
>
>
> ____________________________________________________________
> For list information see <http://stagecraft.theprices.net/>
> Stagecraft mailing list
> Stagecraft at theatrical.net
> http://theatrical.net/mailman/listinfo/stagecraft_theatrical.net
>
>
>
> ____________________________________________________________
> For list information see <http://stagecraft.theprices.net/>
> Stagecraft mailing list
> Stagecraft at theatrical.net
> http://theatrical.net/mailman/listinfo/stagecraft_theatrical.net




More information about the Stagecraft mailing list