Admin template

Having trouble installing serendipity?
Post Reply
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Admin template

Post by comdespagne »

Hello everyone,

I have set a new host for my blog in order to get rid of Iframe redirection.
BUT
I lost the admin template and the url pointing at admin doesn't work. Can anyone explain that to me ?

Many thanks in advance,
Af

my blog:
http://blog.despagne.fr
my admin
http://blog.despagne.fr/admin/ (doesn't work)
http://blog.despagne.fr/serendipity_admin.php
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Admin template

Post by garvinhicking »

Hi!

Maybe you need to recreate the .htaccess file or it doesn't work on your new host?

You can go to the s9y configuration using serendipity_admin.php and there re-save the configuration (check that all paths are proper). If it still doesn't work, your new hoster might not support URL rewriting.

Best regards,
garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Re: Admin template

Post by comdespagne »

garvinhicking wrote: Maybe you need to recreate the .htaccess file or it doesn't work on your new host?

re-save the configuration (check that all paths are proper).
Thanks Garvin for your answer:

I - how do you actualy recreate .htaccessfile ? do I have to do it manualy ?

As it is today it is quite simple but maybe it is part of the problem:
# BEGIN s9y
DirectoryIndex /index.php

<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

II - resave configuration, I think I've already tried this option ?

Af
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Admin template

Post by garvinhicking »

Hi!
In your s9y configuration you must set "URL Rewriting" to "Apache Errorhandling" or "mod_rewrite". Then save configuration and .htaccess will be rewritten.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
comdespagne
Regular
Posts: 19
Joined: Mon Jul 02, 2007 4:49 pm
Location: France
Contact:

Greeeat

Post by comdespagne »

It works !!

Af
Post Reply