Page 1 of 1

Disabling URL rewriting manually

Posted: Sun Oct 02, 2005 3:18 pm
by bumble
Hi everyone, I made a big mistake: I enabled URL rewriting, and now I can't access to my blog anymore :oops:
How can I disable it manually, since I can't go into the administration interface. Thanx for providing a detailed help, cause I'm no rocket scientist when it comes to php :lol:

Posted: Sun Oct 02, 2005 4:14 pm
by bumble
Maybe I need to change something in the configuration table of the serendipity database? Please help! :cry:

Posted: Sun Oct 02, 2005 4:34 pm
by bumble
OK, I managed to get back to the original setting, removing the htaccess file, whic let me go to the blog main page, but wouldn't let me use the link to the admin control panel. I had to enter the url of the admin control panel manually, and change the setting...and now it works again.

Posted: Sun Oct 02, 2005 4:39 pm
by basiel
edit the .htaccess file in your blogs root :

Code: Select all

# BEGIN s9y
DirectoryIndex /serendipity/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
but make sure you put the right directory in the second line "DirectoryIndex /serendipity/index.php"



[edit]missed your last reply...[/edit]