1 |
This machine was my local lan httpd server, but then I switched that |
2 |
functionality to an opensolaris machine... due to problems with a |
3 |
recent osol build I switched back temporarily. Meantime I must have |
4 |
allowed a new config to get setup ... maybe thru careless allowing of |
5 |
new conf files. |
6 |
|
7 |
Whatever the reason... before switching away... cgi scripts could fire |
8 |
in any directory... now when I hit a cgi it just reads the actual |
9 |
content of the cgi. |
10 |
|
11 |
Yes the cgi file are set executable and when run from command line |
12 |
they do fire. |
13 |
|
14 |
It appears that the /etc/apache2/* files of Nov.2 use |
15 |
/etc/apache2/vhost.d/default_vhost_include to allow simple configs |
16 |
like allowing cgi in any directory. |
17 |
|
18 |
So in the file I find the `Options' line that looks like: |
19 |
|
20 |
Options Indexes FollowSymLinks |
21 |
|
22 |
So I changed that to: |
23 |
|
24 |
Options All Indexes FollowSymLinks Includes ExecCGI |
25 |
|
26 |
(That line is take from an older configuration but it was in a |
27 |
different location (/etc/apache2/vhosts.d/00_default_vhost.conf)) |
28 |
|
29 |
The newer files appear to call the above mentioned `include' from |
30 |
/etc/apache2/vhosts.d/00_default_vhost.conf instead. |
31 |
|
32 |
But anyway... after inserting: |
33 |
Options All Indexes FollowSymLinks Includes ExecCGI |
34 |
|
35 |
Restarting apache... there is no change... cgi scripts still just get |
36 |
read like a text file. |
37 |
|
38 |
Also tried switching in the old 00_default_vhost.conf and eliminating |
39 |
the new default_vhost_include |
40 |
|
41 |
Retart... but I see no change at all. |
42 |
|
43 |
No errors are thrown in /var/log/apache2/error_log either. The cgi |
44 |
files are simply read like text. |
45 |
|
46 |
Double checked that they are executable and confirmed they are. |
47 |
|
48 |
Where to from here? |