>Number:         5321
>Category:       config
>Synopsis:       VirtualHosts and ScriptAlias
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 16 12:20:00 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        latest
>Environment:
Slackware 7.0.0
>Description:
 Hi!

 When I had a scriptalias defined for a directory everything worked OK 
delivering 
2 types of pages (HTML and WML) w/o problems.
 Unfortunately since the local NIC gave us a domain, I can't reproduce the 
problem: that is,
I can't have a scriptalias for the root of the new domain. The only kludge I
found was using .cgi outside the cgi-bin directory and define index.cgi as the 
default homepage.
 Not very secure :-|

 best regards,

Miguel Vitorino
Telecorreio, lda.
Portugal, Lisbon
>How-To-Repeat:
Create a VirtualHost and try to make a scriptalias for the homepage
>Fix:
Yes:
1) enhance the ScriptAlias processing so the domain is analyZed (that is, 
instead of /cgi-bin/, permit also virtualdomain.com/cgi-bin
2) define a new virtualhost directive to define the homepage as a .cg
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]



Reply via email to