hi,
Ich have a problem with the friendly urls on my domain.
currently is it:
http://stage.XXXX.de/index.php/contact-us/
but i need:
http://stage.XXXX.de/contact-us/
.htacces:
### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>
<Files web.config>
Order deny,allow
Deny from all
</Files>
ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html
<IfModule mod_alias.c>
RedirectMatch 403 /silverstripe-cache(/|$)
RedirectMatch 403 /vendor(/|$)
RedirectMatch 403 /composer\.(json|lock)
</IfModule>
<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On
AddType x-mapp-php6 .php
AddHandler x-mapp-php6 .php
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.php$
RewriteRule .* framework/*.php?url=%1 [QSA]
RewriteCond %{REQUEST_URI} ^(.*)/framework/main.php$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . %1/install.php? [R,L]
</IfModule>
### SILVERSTRIPE END ###
php.ini:
memory_limit = 100M;
upload_max_filesize = 40M;
max_execution_time = 50000;
max_input_vars = 5000;
safe_mode = Off;
magic_quotes_gpc = Off;
date.timezone = "Europe/Berlin";
mysql.default_socket = /tmp/mysql5.sock;
mysqli.default_socket = /tmp/mysql5.sock;
Can you help me?
best regards
dh_berger