Re: Dreamhost - a note for Windows users

2006-01-20 Thread PythonistL
iGL,Thank you for your help. Meanwhile the problem was solved with help of guys from IRC . I had to use symbolick link /home/bmabma/TEMPLATES/Static/ to egsmtrade.com/Media rewrite RewriteRule ^(media/.*)$ - [L] to RewriteRule ^(Media/.*)$ - [L] and use MEDIA_URL = "/Media/"

Re: Dreamhost - a note for Windows users

2006-01-20 Thread iGL
Hi PythonistL, I gues you should either rename the directory /home/bmabma/TEMPLATES/Static/ as /home/bmabma/TEMPLATES/media/ and change in settings.py MEDIA_ROOT = "/home/bmabma/TEMPLATES/Static/" as MEDIA_ROOT = "/home/bmabma/TEMPLATES/media/" or change rewrite rull as RewriteRule ^(S

Re: Dreamhost - a note for Windows users

2006-01-20 Thread PythonistL
Hello iGL, thank you for your help. I corrected the settings.py but I still have a problem with media and admin. As to media,images are not displayed. I have in my settings.py ## MEDIA_ROOT = "/home/bmabma/TEMPLATES/Static/" MEDIA_URL = "http://www.egsmtrade.com"; but when

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
I checked what error is output on your site one more time. There's something interesting: check your settings.py, line 36: 34 # URL that handles the media served from MEDIA_ROOT. 35 # Example: "http://media.lawrence.com"; 36 i --->

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
I checked the output of our web app. The problem seems to be connected with DB settings. The output says that raise ImproperlyConfigured, "Could not load database backend: %s. Is your DATABASE_ENGINE setting (currently, %r) spelled correctly? Available options are: %s" % \ 24 (exc, DAT

Re: Dreamhost - a note for Windows users

2006-01-19 Thread PythonistL
Thank you for your reply My urls.py looks like ### from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^admin/', include('django.contrib.admin.urls.admin')), (r'^Index/$','boardproject.apps.board.views.board.Index'), ) and .htaccess like this ###

Re: Dreamhost - a note for Windows users

2006-01-19 Thread Jeroen Ruigrok van der Werven
On 1/19/06, PythonistL <[EMAIL PROTECTED]> wrote: > After a long time and with a big help of Eugene Lazutkin I figured out > that the problem > was CRLF where Linux expect LF.(I use XP and most files edit on my XP > windows and then upload to Dreamhost server.) So, from now on I know I > must use d

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
And one more thing - the paths (Index, admin, Test) when called without trailing slash return error 404. Again, one has to take a look on url config.

Re: Dreamhost - a note for Windows users

2006-01-19 Thread iGL
Hi PythonistL, When I tried your link with the trailing slash, i.e., http://www.egsmtrade.com/django.fcgi/ I got usual urconf error from django. As you have debug on, I was able to see your paths in url.py. Next I gave several adresses, i.e., Index (why is it in upper case?), Test, but each time I

Dreamhost - a note for Windows users

2006-01-19 Thread PythonistL
I also bought a webhosting with Dreamhost to install Django. I checked the instructions at http://wiki.dreamhost.com/index.php/Django and wanted to verify that FastCGI is working. But I could not make the script below work. # #!/usr/bin/python2.3 from fcgi import WSGIServer def test_app(e