Posts: 5
Threads: 2
Joined: Sep 2011
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.
Posts: 524
Threads: 48
Joined: Mar 2011
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.
Posts: 5
Threads: 2
Joined: Sep 2011
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
Posts: 2,094
Threads: 54
Joined: Jan 2011
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
Posts: 5
Threads: 2
Joined: Sep 2011
Hi,
my site is working now...
Thank you so much mvlcek.
Posts: 35
Threads: 7
Joined: Oct 2011
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**
Posts: 2,928
Threads: 195
Joined: Feb 2011
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
Posts: 35
Threads: 7
Joined: Oct 2011
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.
Posts: 2,928
Threads: 195
Joined: Feb 2011
Check the Website BASE URL of Getsimple in the generalt settings,
I bet it directs to the root and not the subdirectory
Posts: 35
Threads: 7
Joined: Oct 2011
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?
Posts: 2,928
Threads: 195
Joined: Feb 2011
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
Posts: 35
Threads: 7
Joined: Oct 2011
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.
Posts: 2,928
Threads: 195
Joined: Feb 2011
.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
Posts: 5
Threads: 2
Joined: Sep 2011
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.
Posts: 1,848
Threads: 86
Joined: Aug 2009
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!
Posts: 1
Threads: 0
Joined: Oct 2011
Thanks for help! i had same problem.. fixed
|