Disabling URL rewriting manually

Having trouble installing serendipity?
Post Reply
bumble

Disabling URL rewriting manually

Post 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:
bumble

Post by bumble »

Maybe I need to change something in the configuration table of the serendipity database? Please help! :cry:
bumble

Post 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.
basiel
Regular
Posts: 12
Joined: Wed Jul 13, 2005 8:31 pm
Location: belgium

Post 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]
Post Reply