I have this is my apache virtualhost:
SetHandler None
Brandon
On Tue, 11 Nov 2008 15:09:22 -0500, "Keith Eberle" wrote:Alias
/media /home/dev//Django-1.0/django/contrib/admin/media
^
could be that extra slash. i assume you reloaded
Here's one of my sites, works fine for me:
NameVirtualHost *
ServerName xx.com
ServerAlias www.xx.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/
Options FollowSymLinks
AllowOverride None
On Nov 11, 1:15 pm, prem1er <[EMAIL PROTECTED]> wrote:
> This is the location of my css files. /home/dev//Django-1.0/django/
> contrib/...
>
> On Nov 11, 1:49 pm, prem1er <[EMAIL PROTECTED]> wrote:
>
>
>
> > Just got django to work on apache thanks to everyone on this group.
> > After I switched,
Alias /media /home/dev//Django-1.0/django/contrib/admin/media
^
could be that extra slash. i assume you reloaded apache after the change?
keith
On Tue, Nov 11, 2008 at 2:55 PM, prem1er <[EMAIL PROTECTED]> wrote:
>
> Still no good. Is this what you
No sorry that extra slash was removed and yes I did reload apache and
clear my cache on the browser.
On Nov 11, 3:09 pm, "Keith Eberle" <[EMAIL PROTECTED]> wrote:
> Alias /media /home/dev//Django-1.0/django/contrib/admin/media
> ^
> could be that extr
Still no good. Is this what you wanted me to do?
ServerName www.dev.xxx.us
ServerAlias dev.xxx.us
DocumentRoot /home/dev/djprojects/xxx
Alias /media /home/dev//Django-1.0/django/contrib/admin/media
Options Indexes FollowSymLinks MultiViews
You can add an alias in the directive that maps to where the
admin media files are. Like so:
Alias /media /home/dev//Django-1.0/django/contrib/admin/media
keith
On Tue, Nov 11, 2008 at 2:15 PM, prem1er <[EMAIL PROTECTED]> wrote:
>
> This is the location of my css files. /home/dev//Django-1.
This is the location of my css files. /home/dev//Django-1.0/django/
contrib/...
On Nov 11, 1:49 pm, prem1er <[EMAIL PROTECTED]> wrote:
> Just got django to work on apache thanks to everyone on this group.
> After I switched, I can no longer get the CSS to work with the admin
> page or the 'polls
Just got django to work on apache thanks to everyone on this group.
After I switched, I can no longer get the CSS to work with the admin
page or the 'polls' from the tutorial. Here is my apache config.
When I run the same site from my localhost on django's server
everything is fine.
ServerN
9 matches
Mail list logo