Re: NEED HELP ON RUNNING DJANGO ON XAMPP 1.7 UNDER WIN 8

63 views
Skip to first unread message

Nikolas Stevenson-Molnar

unread,
Jan 12, 2013, 5:51:52 PM1/12/13
to django...@googlegroups.com
Do you have an "Allow" directive for the appropriate directory?

http://httpd.apache.org/docs/2.0/mod/mod_access.html#allow

_Nik

On 1/12/2013 10:27 AM, Kanai Lomayani wrote:
I have managed to install mod_wsgi on apache and django when i try to access the django address I get this error 
[Sat Jan 12 20:29:59 2013] [error] [client 127.0.0.1] client denied by server configuration: C:/xampp/locksmith/locksmith/django.wsgi
my scriptalias : WSGIScriptAlias /locksmith/ "C:/xampp/locksmith/django.wsgi"

Please i need your help i have searched all day long with no results....

--Kanai
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/FYeePiATOxsJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Damián Pérez

unread,
Jan 13, 2013, 10:43:47 AM1/13/13
to django...@googlegroups.com
Try something like this. 

(work so good with me, i have win 7, virtualhost in wamp and wsgi.

apache - httpd:

modules:

LoadModule wsgi_module modules/mod_wsgi.so

virtual host

<VirtualHost *:1000>
ServerAdmin root@localhost
    DocumentRoot "D:/htdocs"
ServerName localhost
#    RewriteEngine on
WSGIScriptAlias / "D:/htdocs/django/django/wsgi.py"
Alias /static/ "D:/htdocs/django/django/static/"
<Directory "D:/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

best regards
Reply all
Reply to author
Forward
0 new messages