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

Re: CGI-directory question



>>     I have tested Pi3Web and found it pretty good! But I didn't find any
>> information about such thing: How can I map directory for CGI execution
from
>> within other directory? (for example I want to map user's directory to
>> "c:\user" and want to let him execute Perl's CGI form directory
>> "c:\user\cgi-bin" just by reffering to it with "cgi-bin/script.cgi") Each
>> time I try to run script from virtual directiry such as
>> "www.host.com/user/cgi-bin" server returns programm code to browser.
>^^
>You've to add a CGI mapping to c:\user\cgi-bin for this:
>
>- admin dialog, page-register "Mappings"
>- Add mapping for url "/user/cgi-bin/" to physical path "c:\user\cgi-bin"
>  type "CGI"
>- save config and restart server

I think what he means he wants it mapped to like 
/~username/cgi-bin/
where /~username/ is a MappingtoUser directory.