Bug 38125

Summary: ApacheCylical Link error/bug in Virtualserver in www/apache2
Product: Ports & Packages Reporter: Dan Protich <silveradmin>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dan Protich 2002-05-15 22:00:01 UTC
      When a virtual server is created and a alias for that server is pointed to same server but different directory ie
Virtual server dynip.shell-box.com
  / aliased to http://dynip.shell-box.com/cgi-bin/gnudip.cgi 
 will result in cylical link over and over untill gives up BUT if have aliased 
same virtual server dynip.shell-box.com
/ to http://sinister.shell-box.com/cgi-bin/gnudip.cgi
no error will occur but pointed to default server of apache not a virtual server

How-To-Repeat:       Default server works fine but virtual doesnt. i'm assuming that it's a patch involed to port apache2 to freebsd. came here first before apache's site.

print outof httpd.conf
<VirtualHost dynip.shell-box.com>
Alias /cgi-bin/ /usr/local/gnudip/cgi-bin/
Alias /html/ /usr/local/gnudip/html/
Options ExecCGI FollowSymLinks SymLinksIfOwnerMatch
ServerAdmin silveradmin@shell-box.com
ServerAlias 66.118.153.67
HostNameLookups on
<Directory "/usr/local/gnudip/cgi-bin">
</Directory>
<Directory "/usr/local/gnudip/html">
</Directory>
DirectoryIndex gnudip.cgi
DocumentRoot /usr/local/gnudip
RedirectPermanent / http://dynip.shell-box.com/cgi-bin/gnudip.cgi
</VirtualHost>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-11-02 22:08:14 UTC
State Changed
From-To: open->closed

Maintainer reports that he cannot reproduce this problem, 
and submitter is no longer using FreeBSD so the problem 
cannot be confirmed with current versions.