October 17th, 2008
This installation assumes installed Apache. Here you go:
- Download mod_fastcgi dll from http://www.fastcgi.com/dist/.
- Copy the dll into c:\program files\apache software foundation\apache2.2\modules\ (if you are using default installation directory) and rename it to mod_fastcgi.dll.
- Edit httpd.conf and add the following line:
LoadModule fastcgi_module modules/mod_fastcgi.dll
- Restart Apache.
Tags: apache, mod_fastcgi, Windows
Posted in Uncategorized | No Comments »
October 17th, 2008
To install and test mod_python Apache on Windows (assuming that you’ve already had Apache and Python installed):
- Download mod_python Win32 Binaries from http://httpd.apache.org/modules/python-download.cgi
- Run the installer. When prompted for Apache installation directory, type C:\Program Files\Apache Software Foundation\Apache2.2 (Assuming default Apache installation).
- Edit httpd.conf.
- Add the following line:
LoadModule python_module modules/mod_python.so
- Configure your Apache <Directory> directives to include AddHandler, PythonHandler, and PythonDebug (examples below).
To test your mod_python installation:
- Create a file named mptest.py in say C:\sites.
- The file will contain:
from mod_python import apache
def handler(req):
req.content_type = ‘text/plain’
req.write(”Hello World”)
return apache.OK
- Edit httpd.conf.
- Under <Directory “C:/sites”> directive add:
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
- Restart Apache and point your browser to the mptest.py url.
Tags: apache, mod_python, Windows
Posted in Uncategorized | No Comments »
October 13th, 2008
To disable UAC in Windows Vista:
- Go to Start > Control Panel > User Accounts, and click Turn User Account Control on or off.
- Search “regedit” in Vista Start Menu. Execute regedit.exe.
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center
- Right click on the right column, and New > DWORD (32-bit) VALUE.
- Enter Value name: UACDisableNotify, and Value data: 1.
- Save and reboot your computer.
Tags: disable UAC, vista
Posted in Uncategorized | No Comments »