in reply to Re: Custom module is present but not read by Apache (?)
in thread Custom module is present but not read by Apache (?)
For Centos with Apache 2.4.<VirtualHost *:80> # The ServerName directive sets the request scheme, hostname a +nd port that # the server uses to identify itself. This is used when creati +ng # redirection URLs. In the context of virtual hosts, the Serve +rName # specifies what hostname must appear in the request's Host: h +eader to # match this virtual host. For the default virtual host (this +file) this # value is not decisive as it is used as a last resort host re +gardless. # However, you must set it for any further virtual host explic +itly. #ServerName www.example.com ServerAdmin webmaster@example.com ServerName xxx.xxx.xx.xx DocumentRoot /srv/www/Direct/htdocs/ # Available loglevels: trace8, ..., trace1, debug, info, notic +e, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn #ErrorLog ${APACHE_LOG_DIR}/error.log #CustomLog ${APACHE_LOG_DIR}/access.log combined ErrorLog /srv/www/Direct/error_directwebdemo.log ScriptAlias "/cgi-bin/" "/srv/www/Direct/cgi-bin/" <Directory "/srv/www/Direct/cgi-bin"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For exa +mple the # following line enables the CGI configuration for this host o +nly # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Custom module is present but not read by Apache (?)
by Corion (Patriarch) on Dec 10, 2019 at 12:48 UTC | |
by Anonymous Monk on Dec 10, 2019 at 13:01 UTC | |
by Corion (Patriarch) on Dec 10, 2019 at 13:07 UTC | |
by Anonymous Monk on Dec 10, 2019 at 13:29 UTC | |
by Anonymous Monk on Dec 10, 2019 at 13:36 UTC | |
|