Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: renee on June 06, 2006, 10:06:14 PM

Title: .htaccess on SME Server 7.0pre3
Post by: renee on June 06, 2006, 10:06:14 PM
Hi,

I want to use .htaccess files for several reasons.

Can some tell me how to enable .htaccess on SME Server 7.0pre3?
The contrib e-smith-htaccess-1.1-2.noarch.rpm does not seem to work

See bottom of page http://no.longer.valid/phpwiki/index.php/SME7Contribs
Quote
e-smith-htaccess-1.1-2.noarch.rpm (SME7 pre3) : install complained about wrong (old style) path and
problems with templates. After install, url rewritting do not work.


Thanks in advance.

Renee
Title: Re: .htaccess on SME Server 7.0pre3
Post by: CharlieBrady on June 06, 2006, 11:40:01 PM
Quote from: "renee"

I want to use .htaccess files for several reasons.


Why do you want to use .htaccess rather than a custom template fragment for httpd.conf?
Title: .htaccess on SME Server 7.0pre3
Post by: duncan on June 07, 2006, 10:01:03 AM
Code: [Select]
/sbin/e-smith/db accounts setprop ibayname AllowOverride All
/sbin/e-smith/signal-event ibay-modify ibayname
Title: .htaccess on SME Server 7.0pre3
Post by: renee on June 07, 2006, 05:24:45 PM
Thanks Duncan.

Is this change permanent?
How can I change it back?

/sbin/e-smith/db accounts setprop ibayname AllowOverride None???
Title: .htaccess on SME Server 7.0pre3
Post by: renee on June 08, 2006, 09:03:28 PM
New problem :(

When I use "RewriteEngine On" in my htaccess file I get a:

Quote
Forbidden - You don't have permission to access /filename.php on this server.

Any suggestions?