Sorry, I was not at work when I posted. Here are some details: I am running XAMPP, the server info line is: Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_wsgi/3.0 Python/2.6.4 PHP/5.2.9
I have been able to solve the issues with permissions, and got the mod_wsgi script to run ("Hello world!" shows in my browser). I have decided to set this up using virtual servers, and will get our provider to register one more DNS name for the same IP address. I am testing this by adding this to my hosts file, C:\WINDOWS \system32\drivers\etc\hosts: 127.0.0.1 localhost test.stupid.com enews.stupid.com But now, when I open test.stupid.com and enews.stupid.com in my web browser, both show the same. I am hoping to have enews.stupid.com as my Joomla site, and test.stupid.com as my Django site. I must be doing something wrong. Here is the virtual host configuration: ------------------------------------------------------ <VirtualHost test.stupid.com:80> ServerAdmin i...@stupid.com DocumentRoot C:/xampp/htdocs_stupid ServerName test.stupid.com ErrorLog C:/xampp/apache/logs/test.stupid.com-error_log CustomLog C:/xampp/apache/logs/test.stupid.com-access_log common <Directory C:/xampp/htdocs_stupid> Order allow,deny Allow from all </Directory> #<IfModule mod_wsgi> WSGIScriptAlias /test C:/xampp/wsgi_apps/test.py <Directory C:/xampp/wsgi_apps> Order allow,deny Allow from all </Directory> #</IfModule> </VirtualHost> <VirtualHost enews.stupid.com:80> ServerAdmin i...@stupid.com DocumentRoot "C:/xampp/htdocs" ServerName enews.stupid.com ErrorLog C:/xampp/apache/logs/enews.stupid.com-error_log CustomLog C:/xampp/apache/logs/enews.stupid.com-access_log common <IfModule alias_module> <IfModule mime_module> #ScriptAlias /php/ "C:/xampp/php/" #Action application/x-httpd-php "/php/php-cgi.exe" PHPINIDir "C:/xampp/php" LoadModule php5_module "C:/xampp/apache/bin/php5apache2_2.dll" AddType text/html .php .phps .php5 .php4 .php3 .phtml .phpt <FilesMatch "\.php$|\.php5$|\.php4$|\.php3$|\.phtml$|\.phpt$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> <Directory "C:/xampp/htdocs/xampp"> <IfModule php5_module> <Files "status.php"> php_admin_flag safe_mode off </Files> </IfModule> </Directory> Alias /security "C:/xampp/security/htdocs/" <Directory "C:/xampp/security/htdocs"> <IfModule php5_module> <Files "xamppsecurity.php"> php_admin_flag safe_mode off </Files> </IfModule> Order deny,allow Deny from all Allow from 127.0.0.1 AuthType Basic AuthUserFile C:\xampp\security\xampp.users require valid-user </Directory> Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Order allow,deny Allow from all </Directory> Alias /webalizer "C:/xampp/webalizer/" <Directory "C:/xampp/webalizer"> <IfModule php5_module> <Files "webalizer.php"> php_admin_flag safe_mode off </Files> </IfModule> AllowOverride AuthConfig Order allow,deny Allow from all AuthType Basic AuthUserFile C:\xampp\security\xampp.users require valid-user </Directory> Alias /contrib "C:/xampp/contrib/" <Directory "C:/xampp/contrib"> <IfModule php5_module> <Files "webalizer.php"> php_admin_flag safe_mode off </Files> </IfModule> Order deny,allow Deny from all Allow from 127.0.0.1 AuthType Basic AuthUserFile C:\xampp\security\xampp.users require valid-user </Directory> </IfModule> </IfModule> # Access restriction via Remote <IfModule auth_remote_module> <Directory "C:/xampp/htdocs/fonts"> AllowOverride All AuthType Basic AuthName "AUTH REMOTE TEST" AuthRemoteServer localhost AuthRemotePort 80 AuthRemoteURL /forbidden/ Require valid-user #User: user / Password: pass </Directory> </IfModule> # Access restriction via MySQL <IfModule mysql_auth_module> <Location /restricted> AuthMySQLEnable On AuthName "MySQL Secured Place" AuthType Basic require valid-user AuthMySQLHost localhost AuthMySQLUser root # AuthMySQLPassword AuthMySQLDB webauth AuthMySQLUserTable user_pwd AuthMySQLNameField name AuthMySQLPasswordField pass AuthMySQLPwEncryption none </Location> </IfModule> </VirtualHost> ------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.