Jump to content

.htaccess file not recognized


Recommended Posts

Hi, i just installed a fresh installation of Invision Community v4.7.13 on a self hosted server.
Installation went smooth and everything.

Then I wanted to activate the Friendly URLs.
So I downloaded the auto-generated file and uploaded it to my forum root, renaming it to .htaccess

This is where my problem starts.
The forum software won't find/accept the .htaccess file

What can I do to make it work?

Could contain: Page, Text, File

Could contain: Page, Text, Chart, Plot, Number, Symbol

Link to comment
Share on other sites

Yes, this is the content of the file:

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map|webp)(\?|$) /404error.php [L,NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

This is the file the "download this file"-link in the first post provides.

The necessary mods should also be ok

Could contain: Page, Text, Computer Hardware, Electronics, Hardware

Edited by Thomas Taschler
Also checked mods
Link to comment
Share on other sites

I assume that after uploading a htaccess file, you then saved a change here.

Maybe you should start Support section in ACP and check if there is no error registered there.

Also, check in your server PHP modules management - this is for my server

Could contain: Page, Text, Chart, Plot, Number, Symbol

Edited by Adlago
Link to comment
Share on other sites

Do you mean this page?

Could contain: Page, Text, File

Seems fine.

I did not modify the content of the .htaccess file.
The code I posted earlier was obtained via Filezilla / View File.

 

Those are my installed php modules:

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
intl
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pgsql
Phar
posix
random
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

 

Edited by Thomas Taschler
Installed PHP modules
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...