[Moin-user] missing CSS drives me crazy

Jean-Philippe Guérard jean-philippe.guerard at tigreraye.org
Mon Feb 4 16:38:35 EST 2008


Le 2008-02-04 21:38:23 +0100, Stefan X écrivait :
> Jean-Philippe Guérard schrieb:
>> Le 2008-02-04 06:34:04 +0100, Stefan X écrivait :
>>> I did not configure any path to the themes directly; it was not  
>>> mentioned in the installation description. As mentioned before I  
>>> configured the path to the static content directory (which includes 
>>> the themes) as an Apache alias. So, what to do?
>>
>> Look at the source code of your page, from your browser, to check the  
>> URL used for the CSS files.
>
> These paths look like /wiki/modern/css/common.css where "wiki" is both  
> the Apache-alias and the MoinMoin root directory.

This is the problem. You've got:

url_prefix = '/wiki'

somewhere in your farmconfig.py or wikiconfig.py

You simply need to remove it.

>> You should then try to access directly a Moin CSS file with your  
>> browser, for exemple :  
>> http://my-site.com/moin_static160/modern/css/screen.css
>
> This works! I am wondering, that I don't need "wiki" at the beginning of  
> the directory path.

Your Apache setup is OK.

HTH.


-- 
Jean-Philippe Guérard
http://tigreraye.org





More information about the Moin-user mailing list