Page 1 of 1

design fails

Posted: Mon Nov 07, 2005 3:16 pm
by hkit
Hej,

I just installed serendipity on a webprovider's webspace, after having tested and customized it on a local system. But there is a problem with permissions - that's what I guess - on the webserver.
Because if you have a look at the web page now (http://www.deutschland.se), there is no design at all, images aren't shown, templates don't look like they should be. Does anybody know how to fix that problem, respectively which permissions I have to change or might there be some files missing, perhaps (which wasn't migrated properly)?

thanks
Stefan

Re: design fails

Posted: Mon Nov 07, 2005 4:42 pm
by garvinhicking
Hi!

It seems your new server does not support URL rewriting, or your .htaccess file is/was missing. Set URL Rewriting to "None" in the s9y configuration and you should see content!

Regards,
Garvin

Posted: Tue Nov 08, 2005 4:53 pm
by Guest
Hi,

thanks for your help Garvin, hopefully you can help me again. I did disable URL-rewriting but still images which he takes out of the /templates/default/ - folder aren't visible. I saved a ./htaccess-file with the content shown underneath. What does this file do, anyway?

I hope somebody can help me... that's the page
http://www.deutschland.se


thanks
Stefan


----.htaccess:
# BEGIN s9y
DirectoryIndex index.php
php_value session.use_trans_sid 0
php_value register_globals off

<Files *.tpl.php>
deny from all
</Files>

<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y

Posted: Tue Nov 08, 2005 4:55 pm
by garvinhicking
The .htaccess file controls URL rewriting and denies access to some unneeded files. When you don't use URL Rewriting you don't really need it, but having it should be better.

Your images do not display properly, because you didn't upload them properly to your FTP host! Maybe you enabled ASCI transfer of the binary images, and thus they are broken - if I fetch the URL http://www.deutschland.se/templates/def ... orward.png manually, I get a broken image...

Regards,
Garvin