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

error index | Forum

Marc
Marc Apr 25 '12
When I click on "Home" I have an error page: The requested URL / index was not foundon this server.
When I click on the logo I get well on the main page of the site.

Can you help me?
Marc
Marc Apr 26 '12
Nobody has a solution?
This occurred after the transfer site to another host.
The rest of the site works. There's just the link "home" (mydomain / index) which is not found.
Marc
Marc Apr 27 '12
No one knows help me?
Michael I.
Michael I. May 5 '12
What's your site URL?
Unus
Unus Feb 27 '16
hi I have the exact same problem, everything else works except when I click the "home" icon and the browser it loading http://__mysite.com__/index


then I get the below error; can you please advise how can I fix this? I am getting grain hair ahead of time here ... :)


my htaccess is 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)$">v ForceType text/css
</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.phpv RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
RewriteCond %{REQUEST_URI} !/captcha\.php
#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php


error I get loading http://__mysite__.com/index

Not Found

The requested URL /index was not found on this server.

Apache/2.4.7 (Ubuntu) Server at Port 80
The Forum post is edited by Unus Apr 5 '16
Unus
Unus Feb 27 '16
ok I found a work around but I have no idea why is fixing it.

I created a index.html file next to index.php in the root of oxwall and no it works.

but why is this happening? why is needing this file? 

can someone explain and maybe suggest a fix I can make?


thank you

Unus
Unus Feb 27 '16
forgot to mention I am rolling with apache2 ubuntu 14 mysql 5.6.27

thank you

Unus
Unus Feb 27 '16
ok, I solved it. 


the ssl works, all you have to do is to switch the http to https in the config.php

not redirect is needed, that was a major disturbance for me and led me to wrong paths and a lot of headache. 


but you have to make sure you have this in your site.conf file site-ssl.conf file (apache2 ubuntu 14)


DirectoryIndex index.php index.html index.shtml index.htm default.html Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php3 index.phtml home.htm home.html home.shtml index.wml


Options FollowSymLinks
AllowOverride All


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all