I have SSI enabled and used thought in my server. However cgi scripts do not include my menu bar.
the script is
http://python-gaming.com/cgi-bin/portingguide.py
and the header is show here
http://python-gaming.com
/etc/apache2/conf-enabled/serve-cgi-bin.conf
if i make a scirpt alias in /etc/apache2/apache2.conf i get this error when restarting apache.Code:<IfDefine ENABLE_USR_LIB_CGI_BIN> ScriptAlias /cgi-bin/ /var/www/html/cgi-bin/ <Directory "/var/www/html/cgi-bin"> AllowOverride None Options +ExecCGI +MultiViews +SymLinksIfOwnerMatch +Includes +FollowSymLinks AddHandler cgi-script .py AddOutputFilter INCLUDES .shtml Require all granted </Directory>
I wouldnt think that is the problem though due to the fact of the cgi script working in general.Code:metulburr /var/www/html $ sudo service apache2 restart * Restarting web server apache2 [Thu Oct 15 12:26:47.861675 2015] [alias:warn] [pid 23995] AH00671: The ScriptAlias directive in /etc/apache2/conf-enabled/serve-cgi-bin.conf at line 11 will probably never match because it overlaps an earlier ScriptAlias. ...done.
What can i do to make my cgi scripts allow virtual includes?



Adv Reply
Bookmarks