Koozali.org: home of the SME Server

Poll

Is enabling .htaccess file dangerous?

Yes
1 (25%)
No
3 (75%)

Total Members Voted: 3

Voting closed: June 06, 2006, 10:06:14 PM

.htaccess on SME Server 7.0pre3

renee

.htaccess on SME Server 7.0pre3
« 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: .htaccess on SME Server 7.0pre3
« Reply #1 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?

duncan

.htaccess on SME Server 7.0pre3
« Reply #2 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

renee

.htaccess on SME Server 7.0pre3
« Reply #3 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???

renee

.htaccess on SME Server 7.0pre3
« Reply #4 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?