httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] cgi-bin won't execute
Date Mon, 01 Sep 2003 13:35:32 GMT

>From the looks of the number of errors below, I'm guessed you haven't
spent much time reading the docs.  You can't learn to sue apache simply by
reading the config file.  You need to actually consult the documentation.

On Mon, 1 Sep 2003, Klavs Klavsen wrote:
> see this url f.ex.
> it just sends the content of the script instead of executing it :(
> my vhost is setup like this:
>     alias / /path/to/docroot/
>     AliasMatch /favicon.ico /path/to/docroot/favicon.ico

These don't do anything.  Why are you mapping a URL to the same location
as it already would go due to the DocumentRoot?

>     AliasMatch /*       /some/php/script.php

Your regular expression matches zero or more "/"s.  You probably want to
AliasMatch /.* /some/php/script.php

>     <Files /path/to/docroot/>

<Files> sections point to particular filenames, not to full paths.
You probably want
<Directory /path/to/docroot>
>         AllowOverride All
>         Options ExecCGI Includes FollowSymlinks

But most of those options don't work inside <Files> sections anyway.

Also, as has been pointed out, you have not actually designated any
scripts to be executed.  See, for example:


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message