httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject Alias Directive (fwd)
Date Thu, 20 Jun 1996 23:27:01 GMT

not acked 

Message-ID: <>
Date: Thu, 20 Jun 1996 16:54:53 -0400
From: Ed Zarrella <>
Organization: Eastland Data Systems
X-Mailer: Mozilla 3.0b4Gold (Win95; I)
MIME-Version: 1.0
CC: zarrella@mail.Clark.Net
Subject: Alias Directive
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


   I am set up as a virtual host running on an Apache server. I am 
trying to redirect my .html pages through a CGI Wrapper program (PHP/FI) 
that I have installed in my cgi-bin directory. The normal syntax to run 
an HTML page through PHP is:
    /cgi-bin/php.cgi/path-to-file which translates (on my system to):

I've read the Apache Reference Manual and the Alias directive looked 
like what I wanted to do. The Alias I set up in my section of the 
httpd.conf file is:
Alias /usa /cgi-bin/php.cgi/usa

But it does not work.  The file "apparently" is not passed through PHP 
because the PHP code does not get interpreted.

Any help on why this does not work or what directive I should use would 
be appreciated.

-- Thanks,
-- Ed
----- End of forwarded message from Ed Zarrella -----

Rob Hartill (
The Internet Movie Database (IMDb)
           ...more movie info than you can poke a stick at.

View raw message