Jump to content

no custom 404 in my website


Recommended Posts

hi at all..

in My website if i goto: http://www.laltroweb.it/1.php i receive an empty server page.

instead if i go to: https://community.invisionpower.com/1.php

i receive an internal ipb custom page.

My htaccess contain only invision code, rewrite work fine... Why error code do not work as expected? :|



thanks in Advance for any reply,


Link to comment
Share on other sites

this is My htaccess:


<IfModule mod_rewrite.c>
Options -MultiViews
Options -Indexes

RewriteEngine On
RewriteBase /

# fix all slash request in all domain
#RewriteCond %{THE_REQUEST} //+
#RewriteRule ^(.*) $1 [R=301,L]

#RewriteCond %{HTTP_HOST} ^laltroweb.it [NC]
#RewriteRule ^(.*)$ https://www.laltroweb.it/$1 [L,R=301,NC]

# ipb code
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) - [L,NC,R=404]

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


Link to comment
Share on other sites

i've open a,ticket with My Host For this.

we have renamed ipb Index.php to Index.bkk; male a new Index.php with sample code and after of this no more loop with this htaccess.

so, problem, For my Host, is in cms not in hosting.


eg, Here work: http://www.laltroweb.it/homepage/fake.php

Here not: http://www.laltroweb.it/fake.php

someone can help with this? :/

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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