Re: Theme trouble

[email protected] (Todd Ross) Wed, 12 Jan 2005 15:39:00 -0600
Newsgroups perl.kwiki
Message-ID <[email protected]>
Marius Kjeldahl wrote:
> I've written my own theme which I use on a kwiki. Not sure whether this 
> stuff happened with 0.36 or earlier, but every time I update the kwiki 
> with "kwiki -update", it seems the kwiki adds a "Deny from all" 
> .htaccess file in the ./theme directory. The result of this is that my 
> theme css file (located in ./theme/themename/css/kwiki.css) is 
> unreadable. I've tried removing it, but everytime the kwiki is updated, 
> it gets put back in. As far as I can see my theme css file does not get 
> copied anywhere else either, so I guess this looks like a bug.
> 
> Am I the only one have theme problems?

I just distribute a .htaccess file with my css that overrides the parent 
Deny from all.  I do the same thing for images.

For example:

./theme/draft:
total 20
drwxr-xr-x    5 todd     todd         4096 Oct 28 14:57 .
drwxr-xr-x    3 todd     todd         4096 Oct 28 18:13 ..
drwxr-xr-x    2 todd     todd         4096 Oct 28 14:58 css
drwxr-xr-x    2 todd     todd         4096 Oct 28 22:16 images
drwxr-xr-x    3 todd     todd         4096 Oct 28 14:57 template

./theme/draft/css:
total 16
drwxr-xr-x    2 todd     todd         4096 Oct 28 14:58 .
drwxr-xr-x    5 todd     todd         4096 Oct 28 14:57 ..
-rw-r--r--    1 todd     todd           15 Oct 28 14:57 .htaccess
-rw-r--r--    1 todd     todd         1843 Oct 29 14:43 kwiki.css

./theme/draft/images:
total 16
drwxr-xr-x    2 todd     todd         4096 Oct 28 22:16 .
drwxr-xr-x    5 todd     todd         4096 Oct 28 14:57 ..
-rw-r--r--    1 todd     todd           15 Oct 28 14:58 .htaccess
-rw-r--r--    1 todd     todd         3937 Apr 30  2003 tn_drafting400.gif

[todd@somewhere:~/KwikiThemeDraft]> cat theme/draft/css/.htaccess
Allow from all

Todd