We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Index error 404[Solved] | Forum

Danger
Danger Dec 6 '13

Hi all,


i have the problem with "Main" page, after installation.


My test site: http://www.webeasyit.it/comunity/


When i try to go at main page, it's doesn't work and give me error 404.


I have try to modify htaccess like this:


##Options +FollowSymLinks

RewriteEngine On


AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>




RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteCond %{REQUEST_URI} !/comunity/

RewriteRule (.*) index.php


But all page make error 404..

Now the htaccess don't have that "RewriteCond %{REQUEST_URI} !/comunity/"


So, i have try to make CHMOD at index.php 644, but the server give me error 505!



Please help, how i can resolve it?

The Forum post is edited by ross Dec 9 '13
Danger
Danger Dec 8 '13
No one ? Please need to fix it... :(
ross Team
ross Dec 9 '13
Danger, I've checked your website . Seems like everything working now. Please,keep us updated. 
Danger
Danger Dec 9 '13

Thanks for reply ross,


not working main page, i can't customize it. 


If you going to http://www.webeasyit.it/comunity/index it does error 404..


I don't know why... Still try many time modify the htaccess but the problem it's the same..


Please any solutions?

Danger
Danger Dec 9 '13

Done!


This was an error:


[Mon Dec 09 16:23:00 2013] [error] [client 89.202.179.230] Negotiation: discovered file(s) matching request: /web/htdocs/www.webeasyit.it/home/comunity/index (None could be negotiated).


I study why have this error and share solution's for all people! This is the new htaccess:


#Options +FollowSymLinks

Options -MultiViews

RewriteEngine On



AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>




RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php


Just insert in our own htaccess the function "MultiViews" and problem it's done! I think can be usefull for much people.. :)


P.S: this problem it's for the Apache Hosting Configuration.

The Forum post is edited by Danger Dec 9 '13
ross Team
ross Dec 9 '13
Danger, thank you for sharing. I mark this topic as solved.