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

Re: httpd and directories

Look in /etc/apache/srm.conf

Alias /doc/ /usr/doc/
## The above line is for Debian Policy 3.0.1 (FHS), which specifies that /doc
## is /usr/share/doc.  Packages should symlink to share/doc. --apacheconfig

This is the alias that sets up /usr/share/doc to appear as /doc on your
web server.

Remove that line...then do /etc/init.d/apache reload

and /doc should disappear...if thats what you want


On Sun, Jul 30, 2000 at 02:43:10PM -0400, Patrick Dahiroc wrote:
> hi all
> i've installed apache web server and i am puzzled as to how it can see 
> my /usr/share/doc or /usr/doc directory.  i was under the impression
> that by default all directory lookup begin at /var/www.  so to go
> http://www.dahiroc.net/doc the directory /var/www/doc must
> exist.  however in my /var/www directory i don't have a 'doc'
> directory or link - just an index.html.  yet i can go to
> http://www.dahiroc.net/doc.  can someone give a reason for this and
> how do i stop apache from looking in my /usr/share/doc directory.
> -- 
> "As a general rule, if you have trouble 
>  with the binary system, then probably it 
>  is because you do not really understand 
>  the decimal system ..."
>  		R.W. Hamming
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: