hi
i try to run a website with opensuse 11.1, apache
under /srv/www/htdocs i have a web site (who use cakephp)
i have a .htaccess file that its content
Code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /app/
RewriteRule ^$ webroot/ [L]
RewriteRule ^(.*) webroot/$1 [L]
</IfModule>
i have in /etc/apache2/default-server.conf
Code:
<Directory “/srv/www/htdocs”>
AllowOverride All
Order allow,deny
Allow from all
</Directory>
]
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
in /etc/apache2/httpd.conf
Code:
use .htaccess files for overriding,
AccessFileName .htaccess
and never show them
<Files ~ “^.ht”>
Order allow,deny
Deny from all
</Files>
List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var indexp.php
i add rewrite to APACHE_MODULES in /etc/sysconfig/apache2
when i start the web site i get
Apache 403 Forbidden Error
any idea?
–
collinm
collinm’s Profile: http://forums.opensuse.org/member.php?userid=3366
View this thread: http://forums.opensuse.org/showthread.php?t=405198