Programming :: Unable To Configure Apache2 With Python Support

May 31, 2011

I'm unable to configure the apache2 with python support. I have done the configuration in the following method, but unable to start the python cgi support: I have installed the libapache2-mod-python it has installed python.load in the mods-available directory. In the apache2/sites-available/default file, I have added the following lines.

[code]...

when I request for a python script in the py folder. I get a 404 Not found error.

View 1 Replies


ADVERTISEMENT

Programming :: Python's Thread & Fork Support Is Compared To Perl?

Mar 24, 2011

I'm wondering how python's thread & fork support is compared to perl? Which one is best option among Perl and Python

View 1 Replies View Related

Programming :: Python "support" Included In C Program?

Jul 11, 2011

I am just asking how this works in general. I know Python can wrap a C code, but here it seems Python is already integrated with this C program.Would it be correct to say one would have to understand the C code in addition to py programming in order to accomplish anything useful here?I need to control the program, and especially import its output to some algorithm that accomplishes command and control in the way of bash scripts or whatever.

View 2 Replies View Related

Debian Programming :: Python - Unable To Install Matplotlib

Jul 16, 2015

I am unable to install matplotlib. I already have installed latest libfreetype and libfreetype-dev.But it still errors out on freetype, I am running Debian testing on my machine. Python is latest 3.5.b3 compiled from source and in virtual env , running the command :

pip install matplotlib

...... freetype: no [Requires freetype2 2.3 or later. Found ...] png: yes [version 1.2.50] ..... .....

* The following required packages can not be built: * freetype ....

Full error log here: [URL]....

I do not understand why requirement is not marked for compilation even though found.

View 5 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Software :: Apache2 And Full ASP Support

May 4, 2010

I have googled it before however when I finished everything there were a bunch of errors any1 know good way to do it? Running debian lenny.

View 2 Replies View Related

Server :: Apache2 And Frontpage Support - Can't Find The Correct Files?

Jun 28, 2011

i want to ask for a guide how to install frontpage extensions on apache2 , i searched a lot but i can't collect the pieces , in the most cases i can't find the correct files..

View 5 Replies View Related

Programming :: Python And Curses : Unable To Getch() For A Curses.KEY Event

Nov 8, 2010

When I getch() a key event (UP arrow key), the getch() function return a string of characters that I cannot compare with curses.KEY_UP constant. Here is the code I use :

while True:
w = gb.scrn.getch()
c = chr(w)
otp = 'touche:'+str(w)+' '+str(c)+"

[Code]...

It seems like getch() return three distincts bytes while I would retrieve it with a single ord() instruction in python like describes in curses/python documentation.

View 1 Replies View Related

Ubuntu Installation :: Getting Opencv To Run With Python Support?

Oct 10, 2010

So I followed all the steps here.[URl].. whixh is basically the same steps as in the installation wiki.The problem is that I can't find the cv.so file in /usr/local/lib/python2.6/site-packages . the folder is empty.

View 1 Replies View Related

Ubuntu :: Adding Python Support To Eclipse?

Apr 4, 2011

I have Eclipse Java IDE installed in Ubuntu, and now I want to add Python support

View 2 Replies View Related

Software :: Qgis With Python Support On Slackaware?

Mar 3, 2010

I am trying to build qgis_1.0.2 from subversion, on slackware 12. For some reason, sip does not get detected and therefore the python support is not enabled during setup: I build and installed successfully from source Q-4.6.2, sip-4.10 and PyQt-x11-gpl-4.7 Python 2.55 is also installed (also) as a shared library: here is the output of ldconfig:

libpython2.5.so.1.0 (libc6) => /usr/lib/libpython2.5.so.1.0
libpython2.5.so (libc6) => /usr/lib/libpython2.5.so
libpython2.5.so (libc6) => /usr/lib/python/config/libpython2.5.so

[Code]...

View 1 Replies View Related

Slackware :: Pygtk With Numeric Python Support?

Feb 14, 2011

I have tried rebuilding pygtk after installing Numpy and ended up making a mess of python. I have it back to functional now, but I would like to know how to properly add numeric python support. I suspect there is a proper order to building all of the python dependencies that yields success. Ultimately I am trying to run mypaint.

View 3 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

Ubuntu Servers :: Configure A Few VirtualHost In Apache2?

Aug 10, 2010

I applogies if this doesn't fit or if this is right in from of my face but, I'm a bit confused.I'm trying to configure a few VirtualHost in apache2. I currently a default virtualhost and 2 other sites. No matter which domain I visit I still get the default page.. My Confusion is, I've been reading and some places seem to say that my virtual hosts should be in /etc/apache2/sites-enabled/*Config File* and other seem to say it should be in /etc/apache2/httpd.conf what the awsner... I've tried both ways with no success .... If I put NameVirtualHost in httpd.conf I get an error saying their are no virtual hosts.

View 2 Replies View Related

Ubuntu Servers :: Configure Apache2 To Proxy That Folder To Jetty Using Mod_proxy?

Mar 20, 2010

I have a php app set up in the default virtualhost, and want to add a Grails app. The grails app runs on [URL] and I want to configure apache2 to proxy that folder to Jetty using mod_proxy.

Module is enabled

Code:

$ sudo a2enmod proxy
Module proxy already enabled

[code]....

Quote:

[Sun Mar 21 00:14:56 2010] [warn] proxy: No protocol handler was valid for the URL /mailscan. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. My apache2.conf contains no LoadModule lines, and a2enmod says it's already enabled. Does Ubuntu Desktop (Karmic) use the DSO versions of modules, or did I miss something else? I'm aware I should also use mod_proxy_html to make sure only the "portless" version of the address is outputted, but I can fix that later!

View 1 Replies View Related

CentOS 5 :: Can't Find A C Compiler To Configure Gcc & Python 3.1.3

Dec 27, 2010

i have installed on my home PC CentOS 5.5, and downloaded Python 3.1.3 source, when I have tried to run the configuration file I have got

checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking machine type as reported by uname -m... x86_64

[Code]....

I have tried downloading gcc and installing it, but got the same message. So, I can't find any C compiler, and I can't install one.

View 4 Replies View Related

General :: Configure Ubuntu To Run A Python - Backup - Script ?

Mar 25, 2011

New to Ubuntu (and Linux in general) and have whipped up a quick python script to backup my files and do some other housekeeping. I don't see any service scheduling tools and was wondering what the best way to do this is.

View 2 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Programming :: Totem Python Plugin Programming: Any Signal For Video Mouse Click?

Feb 9, 2011

I want that I click with the mouse on the video, it paused.I notice that there is "BaconVideoWidget" which I guess is the video rendering widget but it don't have signal named "clicked":

Code:
vd = totem_object.get_video_widget()
vd.connect("clicked", vd.hide)

[code]....

View 3 Replies View Related

OpenSUSE Install :: Unable To Use Apache2 On 11.2?

May 18, 2010

Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.2 (LAMP) | HowtoForge - Linux Howtos and Tutorials Unfortunately when I wanted to start Apache2, i get an error message:

Code:

linux:~ # /etc/init.d/apache2 start
Starting httpd2 (worker) httpd2-worker: Syntax error on line 116 of /etc/apache2/httpd.conf:
Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf:
Cannot load /usr/lib/apache2-worker/mod_ssl.so into server: /usr/lib/apache2-worker/mod_ssl.so:
undefined symbol: SSL_get_servername

The command line was:

/usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf

I don't change neither servername nor IP, I left the settings by default.

View 9 Replies View Related

Ubuntu :: Unable To Install Apache2 (using Vmware) / Do That?

Jan 26, 2011

I am using ubuntu 10.10 on vmware. my system os is mac os x 10.6. i am not able to install apache2. i get a message functional dependency can not be resolved. this error could be caused by required additional software packages which are missing or not installable. i run command on terminal sudo apt-get install apache2. it gives a big paragraph and at the end says E: broken packages.

View 1 Replies View Related

Programming :: Apache2 Log Output?

May 10, 2010

With the command "tail -300 /var/log/apache2/access.log | less" i can look in the log for the 300 latest visitors. and i wanted to ask if it's possiblle to get that command to run from a php file and if yes how ?

View 4 Replies View Related

Debian Configuration :: Configure USB Support In Live

Feb 4, 2011

I've created Live Debian USB image and it works well, but if I put an additional USB stick, then it's just read only. Howto configure Live Debian before rebuild an image to get fully USB support, i mean to write into other USB drives?

View 4 Replies View Related

Ubuntu Servers :: Execute "./configure - Prefix=/usr/local/apache2 - Enable-so"

Jun 12, 2010

I am bit lost with configuring my apache2 web server. From the book I am using it says for me to configure apache2 to support PHP I need to execute "./configure --prefix=/usr/local/apache2 --enable-so". From what I can determine Apache2 is located in "/etc/init.d/apache2" folder. I used a Ubuntu 9.04 distro (I386 Server Ed.) to install the server. I added "Kubuntu-desktop" for viewing. Then performed web upgrade to Karmic 9.10. All went well !! Question is; Where do I execute a command to enable PHP support? Once again, the command is to look something like "./configure --prefix=/usr/local/apache2 --enable-so"

View 2 Replies View Related

Programming :: Hosting Cp - How To Control Apache2 Via Php

Apr 23, 2011

**Forenote** i HAVE posted the other threads with the same intro of "hosting cp - " for the subject. I am attempting to create a web based hosting control panel and i figured that it would be easier & less confusing to post each different issue in a different thread so that answers to several differant problems weren't getting mixed up together. Ok, so as i said i'm building a hosting control panel and i need to figure out how to make my software control the functions of apache2. like setting up virtual hosts, sub domains, domains, etc.

if anyone can direct me to some good articles on interfacing with apache, or some open source projects that i could try to reverse engineer, that would be great. ive tried searching google, but i couldnt really find anything that really explained what i am trying to do. probably because most people usually dont try to use php to control apache as a weekend project, or a task to pass the time.

View 3 Replies View Related

Fedora :: Install And Configure PEA Support So All Memory Is Recognized?

Aug 20, 2010

First of all I'm not a very experienced linux user, I have installed fedora 13 on my HP Laptop and it has 8Gb installed, (confirmed in Bios) grep MemTotal /proc/meminfo

MemTotal: 3088492 kB It's less then 8Gb

googling about it it seems that I ineed PEA support for my kernel. It seems that fedora 13 should install this if needed, correct me if I'm wrong. uname -a Linux mjohanss-pc.kentor.se 2.6.33.6-147.2.4.fc13.i686 #1 SMP Fri Jul 23 17:27:40 UTC 2010 i686 i686 i386 GNU/Linux If PEA support was installed I think PEA should be seen after .fc13.i686 in the output. How can I install and configure PEA support so all my memory is recognized?

View 2 Replies View Related

Programming :: Apache2 VirtualHost Non-recurring Directory?

Sep 16, 2010

I didn't know exactly where to put this, but here it goes:For the record, I have Apache2 on Ubuntu.OK so I have a "svn" subdomain for SVN repositories. The repositories are actual separate repositories, not a big one for all. So I'm using SVNPath not SVNParentPath (please don't suggest this as a possible fix).

The problem is I want to be able to list the repositories (or even put a blank page for that matter) at svn.mydomain.com. All repositories have a svn.mydomain.com/myrepository path with a VirtualHost for each. So when I create another VirtualHost just for the / path, it overrides all the SVN VirtualHosts, as it covers / and all sub-directories.

I would like a way to set that VirtualHost to affect just the root directory, without the sub-directories. Or to make the SVN VirtualHosts override it. Either way, is this possible? What approach should I take? Thanks!

View 1 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

General :: Configure Linux Suse Ubuntu With MP3 & MPEG Support?

Dec 3, 2009

I want to configure my SUSE and Ubuntu distros for MP3, Flash, and MPEG support. What plugin should i download and install.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved