Re: Can't Display Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Add this to your httpd.conf:
AddHandler cgi-script cgi pl py



Victor Subervi wrote:
Hi;
Been a while since I had root access to a server and without GUI. I uploaded and tried to surf to this page:
http://209.216.9.56/global_solutions/index.py?w=1024
but the code is displayed, not executed. Is it that I need to inform Apache that *.py files are to be interpreted by python? Please advise, and if easy, tell me what to do.
TIA,
Victro

_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos

-- 
Thanks!
begin:vcard
fn:Jacob Perkins
n:Perkins;Jacob
org:HostGator.com LLC
adr;dom:;;;Houston;Texas
email;internet:jperkins@xxxxxxxxxxxxx
title:Linux GNU / Systems Administrator
tel;work:866-96 GATOR
tel;cell:713-560-8655
note;quoted-printable:=0D=0A=
	=0D=0A=
	            .-._   _ _ _ _ _ _ _ _=0D=0A=
	 .-''-.__.-'00  '-' ' ' ' ' ' ' ' '-.=0D=0A=
	'.___ '    .   .--_'-' '-' '-' _'-' '._=0D=0A=
	 V: V 'vv-'   '_   '.       .'  _..' '.'.=0D=0A=
	   '=3D.____.=3D_.--'   :_.__.__:_   '.   : :=0D=0A=
	           (((____.-'        '-.  /   : :=0D=0A=
	                             (((-'\ .' /=0D=0A=
	                           _____..'  .'=0D=0A=
	                          '-._____.-'
x-mozilla-html:TRUE
url:http://www.hostgator.com
version:2.1
end:vcard

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux