You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by make stuff up <ka...@el.net> on 2006/02/03 05:51:08 UTC
[users@httpd] cgi-bin contents
hi all...
if i have a cgi-bin directory - or any directory in which is cgi
execution is permitted - can i have other files served from the same
directory or any other directory below - like php and html? do i need
suexec for that?
the php engine is not set up as cgi...
thanks....
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] cgi-bin contents
Posted by make stuff up <ka...@el.net>.
AddHandler html php ## is this going to do it?
thanks....
>
> hi all...
>
> if i have a cgi-bin directory - or any directory in which is cgi
> execution is permitted - can i have other files served from the same
> directory or any other directory below - like php and html? do i need
> suexec for that?
>
> the php engine is not set up as cgi...
>
> thanks....
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] cgi-bin contents
Posted by Joshua Slive <jo...@slive.ca>.
On 2/3/06, make stuff up <ka...@el.net> wrote:
> i was using #2 but it doesn't work. i have:
> <Directory /path/to/dir>
> Options +ExecCGI FollowSymLinks
Don't mix + and non-+ options. You probably mean
Options ExecCGI FollowSymLinks.
> AddHandler cgi-script .cgi
> </Directory>
>
> and the cgi scripts don't work. anything wrong with this?
I can't tell you anything unless you describe in detail what you mean
by "don't work".
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] cgi-bin contents
Posted by make stuff up <ka...@el.net>.
> On 2/2/06, make stuff up <ka...@el.net> wrote:
>>
>> hi all...
>>
>> if i have a cgi-bin directory - or any directory in which is cgi
>> execution is permitted - can i have other files served from the same
>> directory or any other directory below - like php and html? do i need
>> suexec for that?
>
> There are two ways to configure cgi:
>
> 1. Use ScriptAlias
> 2. Use "Options ExecCGI" and "AddHandler cgi-script .cgi".
>
> The first way will treat *all* files as CGI scripts, so no non-cgi
> script may be served from a ScriptAliased directory. The second way
> can share a directory with non-CGI files.
i was using #2 but it doesn't work. i have:
<Directory /path/to/dir>
Options +ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
</Directory>
and the cgi scripts don't work. anything wrong with this?
thanks....
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] cgi-bin contents
Posted by Joshua Slive <jo...@slive.ca>.
On 2/2/06, make stuff up <ka...@el.net> wrote:
>
> hi all...
>
> if i have a cgi-bin directory - or any directory in which is cgi
> execution is permitted - can i have other files served from the same
> directory or any other directory below - like php and html? do i need
> suexec for that?
There are two ways to configure cgi:
1. Use ScriptAlias
2. Use "Options ExecCGI" and "AddHandler cgi-script .cgi".
The first way will treat *all* files as CGI scripts, so no non-cgi
script may be served from a ScriptAliased directory. The second way
can share a directory with non-CGI files.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org