Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: phil on May 10, 2004, 12:33:35 PM

Title: Problem using .htaccess files in ibays
Post by: phil on May 10, 2004, 12:33:35 PM
I'm using SME Server 6.0 and I have a query regarding the use of .htaccess files in ibays.

Basically, I'm trying to use some ForceType directives in a .htaccess file to tell Apache that some filenames should be treated as PHP files.

e.g.

Code: [Select]
<Files articles>
ForceType application/x-httpd-php
</Files>


...so I can have 'nice' paths like www.domain.com/articles/100

...but it ain't happening - can anyone help?
Title: Problem using .htaccess files in ibays
Post by: Mark R on May 10, 2004, 03:03:23 PM
have you downloaded the htaccess rpm contrib?

http://www.ibiblio.org/pub/Linux/distributions/smeserver/contribs/nightspirit/e-smith-htaccess/e-smith-htaccess-1.1-2.noarch.rpm
(with thanks to nightspirit)
Title: Problem using .htaccess files in ibays
Post by: phil on May 11, 2004, 10:35:52 AM
Quote
have you downloaded the htaccess rpm contrib?


No, not yet. What does this do? Is there any documentation provided before I install it - just to be sure it's what I need?

Cheers,

Phil
Title: Problem using .htaccess files in ibays
Post by: phil on May 12, 2004, 04:03:48 PM
Thanks - I installed it anyway and it did the trick - though I'm not entirely sure what it changed! (documentation could be better?...)