Hello,

We're running mod_python in an Apache virtual host on a suse 11 linux
server. The host is running mixed PHP, Python and HTML which is
processed according to file extension.

Below is our current virtual host, can anyone suggest an equivalent
for mod_wsgi?, the only examples I can find are for using with a
framework, and we need to be able to run any .py and .php file within
the virtual host's space.

Thanks
Karl.

[code]
<VirtualHost *:80>
 ServerName xxxxx.xxxxxx.xxxxxxx:80

  DocumentRoot "/data/httpd/html/"
  <Directory "/data/httpd/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from All
    AddHandler mod_python .py
    SetEnv PYTHON_EGG_CACHE /var/cache/python-eggs
    PythonHandler mod_python.publisher
    PythonAutoReload On
    PythonDebug On
  </Directory>

  ErrorLog /var/log/apache2/ssl-error_log
  TransferLog /var/log/apache2/ssl-access_log

  TypesConfig /etc/apache2/mime.types
  Include /etc/apache2/conf.d/*.conf
  DirectoryIndex index.php index.htm index.html index.py
  AccessFileName .htaccess
</VirtualHost>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to