What is the htaccess language?

Having trouble installing serendipity?
Post Reply
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

What is the htaccess language?

Post by Hathor »

ETA: Resolved. :)


My host removed everything from my htaccess file today. Could you please show me what that file should contain? I can't see it in the install I downloaded, and I can't just extract overtop of things because I'm installed in the main directory and it installs everything in a subdirectory.
Last edited by Hathor on Sat Aug 19, 2006 10:52 pm, edited 1 time in total.
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

It should contain something like this:

# 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
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Thanks. I tried that, but it didn't help. There's no templating, and you can't click to anything from the main page.
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I finally found a way to get at my backup copy. Ergh - it's taken care of now, thanks for checking. :)
Post Reply