Re: [users@httpd] basic auth config

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

 



Joshua Slive wrote:
2) looking at the wrong config file;


Lets go back to what Nick asked you.  Your answer to him was
ambiguous.  When you put some random garbage in the config file (like
a directive FooBar that doesn't exist) and restarted the server, did
you or did you not receive an error message saying that there was a
syntax error.  If not, you are not editting the correct config file.


OK - I didn't get enough time to go back to square one but I stuck some garbage back into /etc/apache2/conf.d/basic_auth.conf as follows ...

<Directory /svr/www/htdocs/auth/mcfs>
    Deny from all
    AuthType Basic
    AuthName "MCFS Academics"
    AuthUserFile /svr/www/data/pwl/academics/memb
    Require valid-user
    FooBar Nonsense
</Directory>

... and then tried ...

# /usr/sbin/apache2ctl configtest
Syntax error on line 7 of /etc/apache2/conf.d/basic_auth.conf:
Invalid command 'FooBar', perhaps mis-spelled or defined by a module not included in the server configuration
#

Does apache2ctl confirm that httpd actually reads that file on startup?

Mike





Joshua.

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