Re: [users@httpd] Next part of my HTPD.conf file.

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

 



[Try a more descriptive subject line next time.]

On 9/6/06, Leon Sargent <leonsargent@xxxxxxxxxxx> wrote:
Controls who can get stuff from this server.

Order allow,deny
     Allow from all
</Directory>

I have looked this up but still do not understand what it means.
Does it mean anyone can access my webserver?

Yes, assuming that they are not otherwise restricted.  See:
http://httpd.apache.org/docs/2.2/howto/access.html


Does this line from my >htaccess file override that.  Documents is
where my website is located.

<Directory   "lhsmarkets.com/Library/WebServer/Documents">
     Order allow,deny
     Deny from all
     Satisfy All
</Directory>

You cannot have a <Directory> section inside an .htaccess file.
(.htaccess files determine what directory they apply to by their own
location.)  In addition, the <Directory> section should contain an
absolute path (starting with a slash) relative to the root of the
file-system, not the webspace or DocumentRoot.

It looks to me that you are working off some lousy documentation
someplace.  Why not instead simply tell us what you want to do.

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



[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