Hi!
I have the following problem. I have a CGI program
(counter) and if I called it directly it works OK,
but if I include it with "include virtual" I get
its source code. Please help!
Mike
P.S.: That's my config file:
User apache
Group apache
...
DocumentRoot /var/
<Directory />
Options -Indexes none
AllowOverride None
Order Deny,Allow
Deny from All
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
...
AddType text/html .html
AddHandler server-parsed .html
AddType text/html .shtml
AddHandler server-parsed .shtml
...
<Directory /var/ Options -Indexes IncludesNOEXEC
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<IfModule mod_perl.c>
<Directory /var/ Options -Indexes ExecCGI IncludesNOEXEC
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
</Directory>
</IfModule>
<Directory /var/ Options -Indexes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<Directory /home/*/public_html>
Options -Indexes IncludesNOEXEC
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
I have the following problem. I have a CGI program
(counter) and if I called it directly it works OK,
but if I include it with "include virtual" I get
its source code. Please help!
Mike
P.S.: That's my config file:
User apache
Group apache
...
DocumentRoot /var/
<Directory />
Options -Indexes none
AllowOverride None
Order Deny,Allow
Deny from All
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
...
AddType text/html .html
AddHandler server-parsed .html
AddType text/html .shtml
AddHandler server-parsed .shtml
...
<Directory /var/ Options -Indexes IncludesNOEXEC
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<IfModule mod_perl.c>
<Directory /var/ Options -Indexes ExecCGI IncludesNOEXEC
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
</Directory>
</IfModule>
<Directory /var/ Options -Indexes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<Directory /home/*/public_html>
Options -Indexes IncludesNOEXEC
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>