Re: Forbidden...

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

 



With this conf, it will only work for localhost requests


   Order deny,allow
   Deny from all
   Allow from 127.0.0.1
   Allow from ::1 (by the way I never saw this before)


Please correct if I am wrong

Maybe you can get more tips looking in the error_log.


[]´s

Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[]);
http://antispam.br/
"Google is my shepherd, no want shall I know"

On Thu, 12 Jul 2007, Yaakov Chaikin wrote:

Hi,

I have the following config file which came with apcupsd. I am a
newbie at configuring Apache, so please tell me why
"http://..../apcupsd/"; produces "Forbidden". It seems from the config
below that the cgi script should be executed instead.

#
# apcupsd configuration file for Apache Web server
#

# files are off the documentroot of Web server
ScriptAlias /apcupsd/ "/var/www/apcupsd/"

#
# Allow only local access at default
# Change the ".example.com" to match your domain or modify
# access rights to your needs to enable remote access also.
#
<Directory "/var/www/apcupsd">
  DirectoryIndex multimon.cgi upsstats.cgi
  AllowOverride None
  Options ExecCGI Indexes
  Order deny,allow
  Deny from all
  Allow from 127.0.0.1
  Allow from ::1
  # Allow from .example.com
</Directory>


Thanks,
Yaakov.

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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