At 10:57 AM 1/1/2006, [EMAIL PROTECTED] wrote:
Have you sent up a directory container in your httpd.conf
file to give apache access to the said directory?
like:
thanks for the tips. I suspect that I have to do ALL of this....
<Directory path/to/your/dir>
Options None
Options Indexes
Order deny,allow
Deny from all
Allow from localhost
Allow from
</Directory>
Also, if you want to allow access to the directories in
/home/user/public_html, you will need to enable load and
enable mod_userdir, as these directories are usually outside
of the normal document root path. see Apache Module
mod_userdir for details.
Keith
On Sun, 1 Jan 2006, Robert Moskowitz wrote:
> To: users@httpd.apache.org
> From: Robert Moskowitz <[EMAIL PROTECTED]>
> Subject: [EMAIL PROTECTED] Beginning Apache 2 setup
>
> Linux Centos 4.2 build
>
> Double NATed and behind firewall (lab net), so security too much of an
> issue at this time.
>
> Goal: set up a directory of files to access by another system.
>
> So I enable user directory, do a chmod 711 /home/user and chmode 755
> /home/user/public_html
>
> And get forbidden access.
>
> What did I do wrong, or better yet where is a GOOD source? (or even a
> setup script!)
>
> So I try to put files in /var/www/html, while logged in as root.
>
> Create index.html with the sole content of:
>
> hello
>
> and that displays.
>
> So I create directory xx
>
> and localhost/xx does not exist.
>
> So I create file /var/www/html/more.html
>
> and localhost/more.html does not exist.
>
> OK. Where have I gone wrong?
>
> I have an OLD version of Apache running on NT, but that of course is a
> diffferent setup.
>
>
> Barrs Law of Recursive futility
> If you're smart enough to use one of these....
> .....you can probably manage without one!
>
>
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]