-2
votes
0answers
11 views

how to create a SIP request with specific header fields values [closed]

I'm an intern at a telecommunications operator and my task is to create an application that enables me to send sip (session initiation protocol) requests with the header fields values that i specify , ...
0
votes
1answer
33 views

Is it possible to run apache as root, to execute scripts [duplicate]

I am unable to execute commands (shell_exec) with php, and read on stackoverflow / here that the solution was to run apache as root. Is this possible / is this a totally wrong solution? When I try to ...
0
votes
0answers
10 views

wordpress not serving fine with django [duplicate]

mysite.com/admin/ [ gives django admin panel fine] Error : mysite.com/blog/index.php [ downloads index.php instead of serving it ] Error : mysite/blog gives error from django page not found ...
0
votes
1answer
100 views

How to have PHP and mod_wsgi python app on the same domain?

I am using apache with mod_wsgi (python3) on ubuntu 12.04. I have a python app (bottle) which is at www.mysite.com/ In my python app I have routes like www.mysite.com/abbb?q=blab I would like a ...
1
vote
0answers
176 views

Executing a python script from PHP to open a socket

I have a python script chatserver.py that includes:- #!/usr/bin/python from twisted.internet.protocol import Protocol, Factory from twisted.internet import reactor <SNIP> ...
0
votes
1answer
39 views

Options for Executing Scheduled Scripts on a PHP Server

I have a server that I've setup running PHP. This serves JSON files and is running fine. I also have several scripts that reads data from an outside source, connects to my MySQL Database Server, and ...
-2
votes
1answer
1k views

How to set up SUDO rights for execution of Python script from PHP [closed]

I run Raspbian Wheezy on my Raspberry Pi, and i want to call a Python script from PHP. That all works great (i call 'exec python go.py' from php) but now i want to call a script which needs root ...
0
votes
1answer
397 views

Access SSHFS Share with Apache/Python

I've got a bit of a complicated setup going on here, and, well, it's not quite working. I have a Python script that parses a directory for certain "attributes" in the directory name (how the script ...
0
votes
1answer
96 views

Python urllib2 and php port conflict

I have python script that is called by PHP via exec. It uses urllib2 and beautifulsoup. The php-fpm runs on port 8000, i have different ports for different pool and I assume they are ok when php-fpm ...
4
votes
1answer
485 views

What am I (a beginner) losing, by choosing Cherokee over Apache for serving dynamic content?

I am a complete beginner and am planning to setup a photo sharing site. This is the setup I am planning, basically for a start - - Cherokee (instead of Apache) for serving dynamic content ...
0
votes
1answer
392 views

Nginx + WebPy serving all static files except for PHP?

I'm having issues with web.py serving static files. It servers all my javascript/css/images just fine, with no issues, but it's returning a 404 for PHP files. If I visit the php file directly, it ...
0
votes
2answers
68 views

Installing mod_wsgi in addition to PHP

I would like to use some python scripts with my PHP-based application. I don't want to install Django; just mod_wsgi, so Apache can execute my python scripts as well as the rest of my PHP site. How do ...
1
vote
1answer
71 views

Will installing Django on Linux VPS server, cause any issue to live sites

I have my live sites running on Linux VPS. Now i want to install Django on that. I just want to make sure that will it be safe. Will it interfere in current php sites running with apache. Any ...
0
votes
1answer
276 views

Can i run Python PHP and Java sites on one VPS server

I have one VPS server with cpanel/whm installed. i want to host one python/django and one J2EE based website on that server. is it possible. I know that i have run thoseweb server at different ports ...
1
vote
1answer
509 views

run php with cherry.py web server?

I understand cherry.py server is multithreaded which theoretically would be a problem with php fastcgi in general. But would it be possible? has anyone tried it and can please share the ...
0
votes
2answers
452 views

Allow php and python script with apache but still have a secure server

problem "solved"? after backtracking where the permission first stops, the permission denial suddenly went away for no reason. I am building a webpage where the user must have the possibility to send ...
1
vote
2answers
170 views

How to serve pages through multiple frameworks/template engines efficiently

I would like to render a file that has both PHP tags and Web2Py tags mixed together. To do this, I would like the web server to pass the file through Web2Py, then PHP. I found a method to call PHP ...
0
votes
1answer
303 views

Send commands between two computers over the internet

I wish to control my computer (and usb devices attached to the computer) at home with any computer that is connected to the internet. The computer at home must have a program installed that receives ...
0
votes
2answers
92 views

Why does every Python app on Apache need new processes whereas PHP apps don't?

I use webfaction's shared hosting services for my python/php apps. There is one thing I don't understand. Every time, I install a new PHP app, no new processes are created. But installing a new ...
1
vote
0answers
249 views

How can I use WPHP with Python Paste

It was suggested to me in answer to my question How can I use Python’s CGIHTTPRequestHandler as a dev server for PHP that I try WPHP. I've tried: import wphp my_php_app = ...
1
vote
1answer
330 views

How can I use Python's CGIHTTPRequestHandler as a dev server for PHP

I love how to try a Rails app out, I just type script/server. I wish there were a way to do something similar from the top level directory of a PHP project. This answer to the question "Downloading ...
-1
votes
1answer
1k views

Banner Insertion on Proxy Squid

hey guys are you aware of anchorfree vpn?, i have used them before, however i am running my cybercafe on squid, and i want to advertise using squid, i would like to know how to add a banner at the top ...
3
votes
7answers
5k views

What is the simplest, open-source webmail frontend available?

I am working on a project to create a few extremely stripped down interfaces for common Web/Internet tasks in order to make computers accessible to my visually impaired grandmother. Currently she uses ...
1
vote
0answers
444 views

Python server does not excecute PHP script: permission denied

I am trying to execute a PHP file through a Python server. However, I get the following error: File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/CGIHTTPServer.py", line ...
0
votes
1answer
117 views

How can I install php and mysql on ubuntu

How can I install php with mod_python and mysql on ubuntu 9 64bit if I have ALREADY apache2 installed? Best Regards,
2
votes
1answer
792 views

How to configure Nginx to serve a variety of back-ends via multiple FCGI processes?

I've seen a lot of tutorials showing one how to set up PHP/Python/Perl/RoR on nginx via various FCGI processes. None of the tutorials that I found show one how to serve multiple FCGI services off one ...
0
votes
2answers
545 views

nginx and Server-Side Scripting/CGI

Hey all, I've read up on the wonders of nginx the last few days and recently downloaded it....they only question I have is how exactly do you run files on it? I went to localhost in my browser, and ...
1
vote
5answers
3k views

How do I create subdomain names dynamically?

I would like to be able to create and remove subdomain name dynamically using scripting languages such as PHP, Python, Perl or others. I am using Apache as a web server Example: ...
3
votes
1answer
779 views

Running fastcgi->php for a blog subfolder, while rest of site is fastcgi->django

Sort of an odd question but should be pretty easy to solve. I am developing a Django website right now and the client wants a Wordpress blog as well. Because we're under the gun and have other ...