httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From htt...@karsites.net
Subject Re: [users@httpd] Beginning Apache 2 setup
Date Sun, 01 Jan 2006 15:57:36 GMT

Have you sent up a directory container in your httpd.conf 
file to give apache access to the said directory?

like:

<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 <rgm@htt-consult.com>
> Subject: [users@httpd] 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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message