Hi, I am trying to view a html page on my CherryPy server, but it seems like it doesn't recognize the CSS file that comes with the html file. What is the problem? How can I solve it?
/Paulina
Python + CSS
In case you haven't noticed, this board is a German writing one. Now you have two possibilities:
1. Change to an English writing one
2. Learn German
To come back to your problem:
Are you sure that the error is not in your html-Code? Try pasting your code in a text-file and save it as whatever.htm an open it in your browser (be sure the path to your css-file is correct).
1. Change to an English writing one
2. Learn German
To come back to your problem:
Are you sure that the error is not in your html-Code? Try pasting your code in a text-file and save it as whatever.htm an open it in your browser (be sure the path to your css-file is correct).
Also, ich kann Deutsch sprechen und lesen, so bitte antworten Sie im Deutsch. However, I feel more comfortable writing in English.
I am not using TurboGears... I am using CherryPy and I wonder if it uses the same kind of static directories as TG. Do you know any good links where they explain this static directory thing?
Vielen Dank!
I am not using TurboGears... I am using CherryPy and I wonder if it uses the same kind of static directories as TG. Do you know any good links where they explain this static directory thing?
Vielen Dank!
-
- User
- Beiträge: 52
- Registriert: Dienstag 21. September 2004, 06:58
- Wohnort: Adelzhausen
- Kontaktdaten:
As of version 2.1 CherryPy now has its own filter for static content called staticFilter. For an indepth explanation see 1.5 Static Content Handling.
Sebastian
Sebastian
One more question: When they say:
/Paulina
Where can I find this config file?Second in the config file you must turn the filter on like this : filterName.on = True.
/Paulina