www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@hackvan.com
Subject Re: general/1402: Relative Symlinks are handled improperly
Date Fri, 14 Nov 1997 08:20:00 GMT
The following reply was made to PR general/1402; it has been noted by GNATS.

From: stig@hackvan.com
To: Dean Gaudet <dgaudet@arctic.org>
Cc: apbugs@hyperreal.org, Stig@hackvan.com
Subject: Re: general/1402: Relative Symlinks are handled improperly
Date: 14 Nov 1997 08:12:43 -0000

 > I just wrote:
 >
 > I was really tired...and even more tired of trying to figure out why
 > FollowSymLinks wasn't working.
 > 
 > I have some related weirdness which I'll include in another reply.
 
 WEIRD ITEM #2:
 
 Options parsing seems to not conform to my reading of the manual apache
 book.
 
 The directive "Options FollowSymLinks Indexes" at the top-level of
 access.conf, which is not overridden by another Options directive in a
 VirtualHost or Directory context, doesn't make symlinks work.
 
 An .htaccess file with "Options FollowSymLinks" does make them work.
 Options is supposed to be valid in the config context.
 
 
   htcat http://hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors
   GET http://hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors HTTP/1.0
   
   HTTP/1.1 403 Forbidden
   Date: Fri, 14 Nov 1997 08:03:44 GMT
   Server: Apache/1.2.4
   Connection: close
   Content-Type: text/html
   
   <HTML><HEAD>
   <TITLE>403 Forbidden</TITLE>
   </HEAD><BODY>
   <H1>Forbidden</H1>
   You don't have permission to access /pub/stig/funny/rants/hermann-hates-neighbors
   on this server.<P>
   </BODY></HTML>
   -- stig@JATO.hackvan.com -- /var/log/httpd >> 
   ==> /var/log/httpd/access.hackvan <==
   jato.hackvan.com - - [14/Nov/1997:00:03:44 -0800] "GET http://hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors
HTTP/1.0" 403 191
   
   ==> /var/log/httpd/errors.hackvan <==
   [Fri Nov 14 00:03:44 1997] access to /u/web/hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors
failed for jato.hackvan.com, reason: Symbolic link not allowed
   pwd
   /var/log/httpd
   -- stig@JATO.hackvan.com -- /var/log/httpd >> cd
   -- stig@JATO.hackvan.com -- /u/stig >> cd fun/rants
   /u/stig/links/fun/rants
   -- /u/ftp/pub/stig/funny/rants --
   a-- stig@JATO.hackvan.com -- >> ls
   clumsy-morning-coffee            hermann-hates-dogs@              hermann-hates-neighbors@
        hermann-loves-a-few-things-too@
   hermann-hates-chains@            hermann-hates-getting-old@       hermann-hates-the-drug-war@
   hermann-hates-communication@     hermann-hates-mainstream-music@  hermann-hates-the-movies@
   -- /u/ftp/pub/stig/funny/rants --
   a-- stig@JATO.hackvan.com -- >> echo Options +FollowSymLinks >.htaccess
   -- /u/ftp/pub/stig/funny/rants --
   a-- stig@JATO.hackvan.com -- >> hthead http://hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors
   GET http://hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors HTTP/1.0
   
   HTTP/1.1 200 OK
   Date: Fri, 14 Nov 1997 08:04:38 GMT
   Server: Apache/1.2.4
   Last-Modified: Mon, 10 Feb 1997 23:36:39 GMT
   ETag: "9fae-1e75-32ffb107"
   Content-Length: 7797
   Accept-Ranges: bytes
   Connection: close
   Content-Type: text/plain
   
   From aol.com!HermHates Wed Aug 21 20:09:23 1996
   Status: RO
   X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
           ["6481" "Wed" "21" "August" "1996" "23:02:23" "-0400" "HermHates@aol.com" "HermHates@aol.com"
"<960821230222_507131918@emout15.mail.aol.com>" "127" "Hermann Hates #13" "^From:" nil
nil "8" "1996082203:02:23" "Hermann Hates #13" nil nil]
           ("=stig="))
   -- /u/ftp/pub/stig/funny/rants --
   -- stig@JATO.hackvan.com -- >> 
   ==> /var/log/httpd/access.hackvan <==
   jato.hackvan.com - - [14/Nov/1997:00:04:38 -0800] "GET http://hackvan.com/pub/stig/funny/rants/hermann-hates-neighbors
HTTP/1.0" 200 7797

Mime
View raw message