Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
index page not found
#1
Hi,

i just installed GS on my website and have a problem. On home page i always get error (Oops! Page not found!).

I installed GS localhost and is working perfect, but on the web it is something wrong.
http://www.istrani.si

Please help me out, I can't figure it out. Thanks.
Reply
#2
You should check on your .htaccess file in the root of your GS installation. http://www.istrani.si/index.php?id=index (no rewrite) works, so I guess your rewrite rules are borked. Feel free to post your .htaccess here so we can take a look.
Reply
#3
My .htaccess file:

AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

thanks
Reply
#4
sajs Wrote:My .htaccess file:

...

Apache's probably not set up to serve index.php as default for a directory.
Try adding:
Code:
DirectoryIndex index.php
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#5
Hi,

my site is working now...

Thank you so much mvlcek.
Reply
#6
I'm having the same issue here..
My .htaccess:
Quote:AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /GetSimple_3.0/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
mvlcek Wrote:Try adding:
Code:
DirectoryIndex index.php
Tried this still not working!
Is there a particular place in the file it should be??


edit:
Oddly enough this works for me:
Code:
DirectoryIndex index.php?id=**page name**
Reply
#7
1)
what is the server-health-check saying? Are there any problems?
(Support => First Steps => Server Health Check)

2)
as the installation requirements of GetSimple are very well documentated,

http://get-simple.info/wiki/installation:requirements,

you can take this info and ask your hoster's support. They are paid to help you and GetSimple is a simple application with no exotic requirements

So I am optimistic that they can help you to solve that problem
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#8
Thanks Connie for your reply,
I did run a health check and everything comes out ok here.

The thing is I'm running GetSimple from a sub directory ( testing purposes )
so I was concerned that was the problem.

So its ok for the DirectoryIndex in .htaccess to be index.php?id=**page name** then?

Much appreciated.
Reply
#9
Check the Website BASE URL of Getsimple in the generalt settings,

I bet it directs to the root and not the subdirectory
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#10
Connie Wrote:Check the Website BASE URL of Getsimple in the generalt settings,

I bet it directs to the root and not the subdirectory
Actually no it does point to the correct sub directory.
I had already fixed that here.

Again, theres no harm in DirectoryIndex in .htaccess to be index.php?id=**page name** right?
Reply
#11
roy_b8te Wrote:Again, theres no harm in DirectoryIndex in .htaccess to be index.php?id=**page name** right?

test it out, I never saw a .htaccess rule like that
if it works with your server, it is ok

but I would contact the your hoster's support, I will never understand why clients don't use the support
THEY know your server, we don't
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#12
Connie Wrote:
roy_b8te Wrote:Again, theres no harm in DirectoryIndex in .htaccess to be index.php?id=**page name** right?
test it out, I never saw a .htaccess rule like that
if it works with your server, it is ok
You do realize the page name between double asterisks is a wild card right?
Anyway as long as the file is ok, then I will use it this way.
Thanks for your help.
Reply
#13
.htaccess does not accept wildcards in that way, for sure

why don't you try yourself????

and as I said before, ask your hoster's support, it's their job, not our job
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#14
What might be a solution for your problem as well:

Go to Admin / General Settings and check if you enabled "custom friendly URL"..

In case you did so, disable it and try again.
Reply
#15
or at the very least, remove or rename the root .htaccess file.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#16
Thanks for help! i had same problem.. fixed Smile
Reply




Users browsing this thread: 1 Guest(s)