I have install python 26, Apache 2.2, modwsgi ap2.2 py26 On windows XP.
and apache loads modwsgi fine.
when I check localhost: apache says - It works!
but when i try to open the Django directory mysite: localhost/mysite i
get :
Forbidden
You don't have permission to access /mysite on this server.
I have re-installed and installed this ma...
hii all,
Am running apche as frontend to mongrel ,i added these line in Apache's httpd.conf file
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule xse...
The application, when subjected to load, sometimes, utilises 100%.
doing a kill -quit <pid> showed 1100+ threads in waiting state as:
Full thread dump Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode):
"http-8080-1198" daemon prio=10 tid=0x00007f17b465c800 nid=0x2061 in Object.wait() [0x00007f1762b6e000]
java.lang.Thread.Stat...
I'm running Apache/2.2.11 (Win32) PHP/5.3.0 and I did the following in my .htaccess file:
SetEnv FOO bar
If I print out the $_ENV variable in a PHP file, I get an empty array. Why doesn't my environment variable appear there? Why is it empty in the first place?
I did find my variable though, but it appears in the $_SERVER variable. A...
Hi.
I have written a program with c++ and compiled it with gcc ( like the sample in the fastcgi.com) but i dont know how to run it on localhost.
everywhere i searched , i found the php configuration for mod_fcgi which wont work
for c++.
does any body configured apache and mod_fcgi to run a c++ web application ???
...
I have a directory (ie /my_directory) with a .htaccess in it:
Options -Indexes
IndexIgnore *
However I have a child directory (ie /my_directory/DESIGNS) and I want to be able to enable auto indexing in the DESIGNS directory, however all the documentation I've read doesn't seem to cover re-enabling ignored files. I can re-enable the in...
Basically,
I get this error in my scripts:
Fatal error: Call to undefined function mysql_connect() in /var/www/login/includes/db.php on line 10
I have uncommented extension:mysql.so
I dont know why its not working, restarted everything aswell.
I am running on ubuntu 32 bit. Apache/MYSQL is installed with full permissions.
Here is m...
I have a Python CGI script from which I am trying to call a Java program to perform a task. The Java program uses JExcelAPI. When I run the Python script from the browser, it fails with error messages that it can't find the class definitions for the classes from JExcelAPI. I suppose this happens because the Python CGI script is run under...
Hi All,
My rails application is running on Apache server with phusion_passenger
gem. For testing purpose I used both attachment_fu and paperclip to
upload image in that application. There are two different methods, one
for image uploading using attachment_fu and another for paperclip.
When the application starts in development mode, ev...
We use an apache server that does not allow directory listing.
There is a specific directory I would like to allow listing of.
How can make a simple HTML file that will contain the contents of this directory?
...
Hi StackOverflow !
is there a way to tell Apache to simulate a directory in the URL ?
Here is what I'm trying to do... I currently have an URL like http://photo.mydomain.com/pics/17/120417/1.jpg and I would like to be able to reach the same content with an URL like http ://photo.mydomain.com/pics/51/17/120417/1.jpg .
Is that possible ...
Hi all,
Am running apache as frontend to mongrel ,i am passing request
to mongrel using passproxy like
ProxyPass / http://localhost:3000/
i have download routine in one of controller and now i would like
Apache to server this request...for that i put a line in httpd.conf
ProxyPass /streams/download/6626/ !
now my request fo...
Hey guys, i downloaded xampp-win32-1.7.3 and tried to install on my laptop running in microsoft windows vista. I have switched off my skype. Even i have stopped my IIS server. But the problem is whenever i click the start button for apache in xampp control panel, it shows Running with the green backgroud for few second and my apache serv...
Guys,
I have apache running on different servers, I would like to rsync log files back to a centralised server on a daily basis. I can use log rotate to create log file for a day and put it in a directory that gets rsync'd to the central server. However is there any way to set the log filename with a designation that could be read from ...
AFAIK: A http POST request is sent to apache, then piped through stdin and into a CGI program.
Does apache guarantee that the stdin stream will always have an EOF ?
...
Hi!
I'd like to make a portable version of apache/php to develop locally.
But the problem is about binding a port. That process requires admin rights, which I don't have on my workstation.
I'd like to compile an apache/php version which I'd transfer on my workstation and run it without any rights requirements.
I read about privbind, ...
I know there is 404 error handling in django.
But is it better to just put that config in nginx ?
This ST thread has the solution for putting it. -
http://stackoverflow.com/questions/1024199/nginx-customizing-404-page
Is that how everyone handles it when using nginx ?
I have created my own 404.html & 500.html in the sites theme, want ...
Can i get the source code for a WAMP stack installer somewhere? Any help appreciated
...
We have a PHP app with a dynamic URL scheme which requires characters to be percent-encoded, even "unreserved characters" like parentheses or aphostrophes which aren't actually required to be encoded. URLs which the app deems to be encoded the "wrong" way are canonicalized and then redirected to the "right" encoding.
But Google and othe...
Hey,
In my scenario I redirect
"/index/../" to "/index.php?act=..".
I was wondering how can I restrict direct access to "/index.php" but still be able to redirect from "/index/../"?
P.S. "/../" is anything... it seems you can't use * there. O.o
Thanks in advance,
The Devil
...