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
A2ENMOD(8) System Manager's Manual A2ENMOD(8)NAME
a2enmod, a2dismod - enable or disable an apache2 module
SYNOPSIS
a2enmod [ [-q|--quiet] module]
a2dismod [ [-q|--quiet] 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.
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
a2enmod and a2dismod exit with status 0 if all modules are processed successfully, 1 if errors occur, 2 if an invalid option was used.
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), a2enconf(8), a2disconf(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)
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)
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)
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)
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
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)
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)
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)
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)
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)