Remove index.php for install in subdir

I was able to successfully install and setup ip in a subdir. Then I figured out that I can get rid of the index.php. I followed the instructions in the wiki (and read through the forum here) but I can’t get to …/rechnungen/setup. it redirects me to …/index.php

my .htaccess looks like

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /rechnungen
  #RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]

  ## Remove the hash in front of the following two lines if you want to force HTTPS
  #RewriteCond %{HTTPS} off
  #RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>

mod_rewrite is enabled on my server

Any idea what I’m missing. Thanks

You could try this instead:

RewriteEngine On
RewriteBase /rechnungen
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
1 Like

This did the trick. Thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.