[Moin-user] missing CSS drives me crazy

Stefan X stefanxe at gmx.net
Tue Feb 5 06:22:05 EST 2008


Hi Jean-Philippe"

You are right. I had "url_prefix = '/wiki'" defined in my farmconfig.py. 
Removing this line solves the problem. Thank you very much!

This problem might be worth a hint in 
http://moinmo.in/HelpOnInstalling/TroubleShooting
but I don't have the rights to edit the page...

Now I am wondering how to configure my system to serve the wiki without 
any url prefix. For instance www.example.com/ instead of 
www.example.com/wiki (In multi site usage another instance should be 
accessed by www.example2.com/) . Would it be enough to define 
"DocumentRoot /var/www/wiki/" for Apache?

Bye
Stefan


Jean-Philippe Guérard schrieb:
> 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.
> 
> 




More information about the Moin-user mailing list