Jump to content

Recommended Posts

Posted

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

Posted (edited)

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
Posted (edited)

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
Posted (edited)

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
Posted
6 minutes ago, Thomas Taschler said:

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

Try this file, and rename it

 

 

htacces.txt

Posted
2 minutes ago, Thomas Taschler said:

Yes, this is my phpinfo() output:

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

You would need to contact your hosting provider then if you're having issues with this. By all intense of purposes, you should be able to run it.

Posted

I solved the problem!
It was an Apache2 configuration error...

I am sorry for wasting your time...

Solution:

Add at the end of /etc/apache2/apache2.conf the following code:

<Directory "/path/to/your/site">
    AllowOverride All
</Directory>

Then restart Apache and it should work.

  • Recently Browsing   0 members

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