I would like to deploy my django pet-project on our student server. We have apache2 with UserDir mod and I don't have access to apache2 config files. How do I deploy? :-D
I come from PHP background and I deploy my PHP scripts by uploading them to my public_html
dir and everything shows up on http://ourserver.com/~myusername. I read django documentation and it says I should add <Location>some stuff</Location>
to our apache config file. I don't have access to it, so I tried putting it in .htaccess in my public_html
dir and that didn't work. I googled a lot and I think I read somewhere you can't put <Location>
in .htaccess, but now I can't find that quote.
So, anybody here deployed django to UserDir without harassing apache admins?
edit:
I tested mod_python as Graham Dumpleton advised here, and I can use mod_python without problems. Also, I found error log and here is what error log says when I put <Location>some stuff</Location>
in .htaccess:
"[Thu Oct 01 21:33:19 2009] [alert] [client 188.129.74.66] /path/to/my/.htaccess: <Location not allowed here"
So, it seems like I really can't put <Location>
into .htaccess. So, what are my options?