[users@httpd] Apache2 configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use apache2 for the first time. I have some experience with earlier versions.

I'm having trouble with basic configuration. I've tried placing configuration directives in the httpd.conf file and in a separate file in the conf.d directory. Comments in apache2.conf indicate
this should work. But apache doesn't seem to recognize the directives.

I've tried adding the following directives in both places mentioned above and then restarting apache. But the directives seem to make no difference. The error.log indicates that apache is looking only in /usr/share and /var/www for html and cgi files before and after adding these
directives. How do I get apache2 to detect my customizations?

ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios/
<Directory "/usr/lib/cgi-bin/nagios/">
  AllowOverride AuthConfig
  Options ExecCGI
  Order allow,deny
  Allow from all
</Directory>

Alias /nagios /usr/share/nagios/htdocs"
<Directory "/usr/share/nagios/htdocs">
  Options None
  AllowOverride AuthConfig
  Order allow,deny
  Allow from all
</Directory>



___________________________________________________
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux