Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

a2enmod(8) [linux man page]

A2ENMOD(8)						      System Manager's Manual							A2ENMOD(8)

NAME
a2enmod, a2dismod - enable or disable an apache2 module SYNOPSIS
a2enmod [module] a2dismod [module] DESCRIPTION
This manual page documents briefly the a2enmod and a2dismod commands. a2enmod is a script that enables the specified module within the apache2 configuration. It does this by creating symlinks within /etc/apache2/mods-enabled. Likewise, a2dismod disables a module by removing those symlinks. It is not an error to enable a module which is already enabled, or to disable one which is already disabled. Note that many modules have, in addition to a .load file, an associated .conf file. Enabling the module puts the configuration directives in the .conf file as directives into the main server context of apache2 EXAMPLES
a2enmod imagemap a2dismod mime_magic Enables the mod_imagemap module, and disables the mod_mime_magic module. FILES
/etc/apache2/mods-available Directory with files giving information on available modules. /etc/apache2/mods-enabled Directory with links to the files in mods-available for enabled modules. SEE ALSO
apache2ctl(8). AUTHOR
This manual page was written by Daniel Stone <daniel@sfarc.net> for the Debian GNU/Linux distribution, as it is a Debian-specific script with the package. 12 October 2006 A2ENMOD(8)

Check Out this Related Man Page

A2ENCONF(8)						      System Manager's Manual						       A2ENCONF(8)

NAME
a2enconf, a2disconf - enable or disable an apache2 configuration file SYNOPSIS
a2enconf [ [-q|--quiet] configuration] a2disconf [ [-q|--quiet] configuration] DESCRIPTION
This manual page documents briefly the a2enconf and a2disconf commands. a2enconf is a script that enables the specified configuration file within the apache2 configuration. It does this by creating symlinks within /etc/apache2/conf-enabled. Likewise, a2disconf disables a specific configuration part by removing those symlinks. It is not an error to enable a configuration which is already enabled, or to disable one which is already disabled. Note that many configuration file may have a dependency to specific modules. Unlike module dependencies, these are not resolved automati- cally. Configuration fragments stored in the conf-available directory are considered non-essential or being installed and manged by reverse dependencies (e.g. web scripts). OPTIONS
-q, --quiet Don't show informative messages. -m, --maintmode Enables the maintainer mode, that is the program invocation is effectuated automatically by a maintainer script. This switch should not be used by end users. -p, --purge When disabling a module, purge all traces of the module in the internal state data base. EXIT STATUS
a2enconf and a2disconf exit with status 0 if all configurations are processed successfully, 1 if errors occur, 2 if an invalid option was used. EXAMPLES
a2enconf security a2disconf charset Enables Apache security directives stored in the security configuration files, and disables the charset configuration. FILES
/etc/apache2/conf-available Directory with files giving information on available configuration files. /etc/apache2/conf-enabled Directory with links to the files in conf-available for enabled configuration files. SEE ALSO
apache2ctl(8), a2enmod(8), a2dismod(8). AUTHOR
This manual page was written by Arno Toell <debian@toell.net> for the Debian GNU/Linux distribution, as it is a Debian-specific script with the package. 14 February 2012 A2ENCONF(8)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Implement https on apache 2.0.55

I have been trying to implement https auto-redirect for a particular links. I have three configuration file /etc/apache2/apache2.conf, /etc/apache2/sites-available/default, and /etc/apache2/sites-available/ssl. In /etc/apache2/sites-available/default file I added following script <IfModule... (13 Replies)
Discussion started by: kumarrana
13 Replies

2. Shell Programming and Scripting

sed question

I am having a issue try to remove a file path from results. Here is a example of results /opt/coolstack/apache2/htdocs/switchmap/text/mac.map:xxxx-r01 0001.e611.6116 FastEthernet1/4 I would like the results to be mac.map:xxxx-r01 0001.e611.6116 I am only able to remove one dir... (5 Replies)
Discussion started by: mrlayance
5 Replies

3. Web Development

apache2 & two php versions, how to use specific version

Hi all, I have my Debian web server, where apache2 and php 5.2.0 are installed from debian package. It worked fine, both in CLI & Browser. Recently i installed the php 5.2.9 from the source. To verify it i executed the "php --version" and it is showing 5.2.9 . But in the browser still it is... (19 Replies)
Discussion started by: thegeek
19 Replies

4. Web Development

Login page in html on unix

I want to create a login page in HTML which is hosted on apache server. The login page first authenticate the user and then directed to a form which in turn run a script on the server. I want to make login page without php or jsp. Please advice. (13 Replies)
Discussion started by: ravi18s
13 Replies

5. Post Here to Contact Site Administrators and Moderators

Approved Posts

How long does it take for someone in the staff to approve a new thread, and how do I know if the thread has been approved/disapproved? I've made one which does include URLs. And if this one is approved, are the further ones going to be approved automatically? I've searched for it, nothing came... (8 Replies)
Discussion started by: cezar.elnazli
8 Replies

6. Web Development

Removing VBSEO for vbulletin – Reverting back to vbulletin URLs

Please note, this information was copied from vbseo.com, now showing a database error. This is posted for reference since vbSEO seems to be going out of business: If you ever need to uninstall vBSEO , you can use the following instructions. Make sure you carefully follow each step. Login... (37 Replies)
Discussion started by: Neo
37 Replies

7. Linux

Trouble setting up basic user authentication on apache2 web server

Hey guys! So I decided to set up some basic user authentication on my apache2 server, and I am running into some problems. I followed the documentation provided by apache on their website, but I cant create the password file for some reason. I did a little trouble shooting myself, and found... (40 Replies)
Discussion started by: LinuxIntern445
40 Replies

8. What is on Your Mind?

Number of Small Forum Code Changes (TODO List Items)

In the past few days have I have done a lot of code cleanup work in various categories, including faster page loading and bug fixes: Move countless inline style directives to external CSS stylesheets for key pages (faster page loading) Fixed bug in member panel going between desktop and... (6 Replies)
Discussion started by: Neo
6 Replies

9. What is on Your Mind?

Saturday May 4th the Forums Will Briefly Break Testing PHP 5.6 to PHP 7.0

On Saturday May 4th the forums will briefly break when I switch our Apache PHP 5.6 module to PHP 7.0. Previously, I had two sites set up for testing the migration, but for many reasons, the second site has additional issues unrelated to PHP 7.0 so it is hard to debug on a different site and... (3 Replies)
Discussion started by: Neo
3 Replies

10. Web Development

Apache2 does not display files inside directory

Hello, I have been running Ubuntu14.04 + apache2. 000-default.conf: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined <Directory... (5 Replies)
Discussion started by: baris35
5 Replies