yes maybe :)
yes i't works  with apache 2.x and new mod_python :)

but how to get admin interface?
if i get my.net/admin/ i t produce 404 :(

my http.conf:
NameVirtualHost *
<VirtualHost *>
        ServerAdmin [EMAIL PROTECTED]

        DocumentRoot /var/www/ap/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/ap>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # This directive allows us to have apache2's default start page
                # in /apache2-default/, but still have / go to the
right place
                RedirectMatch ^/$ /glowna/
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On


</VirtualHost>
<Location "/">
    PythonPath "['/var/www/ap'] + sys.path"
        SetHandler python-program
        SetEnv DJANGO_SETTINGS_MODULE tutgw.settings.main
        PythonHandler django.core.handlers.modpython
        PythonDebug On
</Location>
<Location "/admin/">
    PythonPath "['/var/www/ap'] + sys.path"
        SetHandler python-program
        SetEnv DJANGO_SETTINGS_MODULE tutgw.settings.admin
        PythonHandler django.core.handlers.modpython
        PythonDebug On
</Location>
<Location "/media/">
    SetHandler None
</Location>

/var/www/ap is a simlink to my files.

what can i do to get admin interface and access to CSS files

kd.

Reply via email to