How to pass the referrer using mod_alias

Discussion in 'Apache' started by JoeSaddigh, Jan 25, 2010.

  1. #1
    Hi,

    I am trying to do something simple and could do with some advice.

    Does anybody know if it is possible to pass the referrer to your cgi using ScriptAlias?

    Also how to use some sort of wild card so that everything opened by Apache would use my cgi.

    My code as it stands is:

    
    ScriptAlias /NORTH/ "C:/Projects/441/Source/cgi-bin/"
    <Directory "C:/Projects/441/Source/cgi-bin/">
        Options FollowSymLinks +ExecCGI
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    
    Code (markup):
    I was hoping to be able to use something like
    ScriptAlias /*/ "C:/Projects/441/Source/cgi-bin/"

    Any help would be appreciated,

    Thanks
     
    JoeSaddigh, Jan 25, 2010 IP