Posts: 6
Threads: 1
Joined: Feb 2015
Hi - default install on digitalocean. Apache2/php5. Installed getsimple into /var/www/html which is the default location. Still using root user. Chmod data and backups etc as required. Did all renaming etc for .htaccess etc files. Admin tool runs fine. Lets me create pages or change themes and content.
*but* I can see no new pages at all - all return Not Found error.
I figure this is probably a permissions thing. I note all install is done using root. But new changes done by simple cms seem to use user/group: www-data.
I dont know how to check what it thinks is wrong - any advice much appreciated.
Many thanks
S
Posts: 6,267
Threads: 182
Joined: Sep 2011
What renaming did you do for .htaccess?
renaming is typically not necessary
chmod is also not "required", but is sometimes necessary on some hosts, depending on owners etc.
are you not seeing pages on the front end, or the back end?
Posts: 6
Threads: 1
Joined: Feb 2015
(2015-02-10, 02:25:02)shawn_a Wrote: What renaming did you do for .htaccess?
renaming is typically not necessary
chmod is also not "required", but is sometimes necessary on some hosts, depending on owners etc.
are you not seeing pages on the front end, or the back end?
Hi - no new pages are presented on front end - admin side is fine. I had to rename the temp.htaccess myself since it alerted during install that it was unable to itself.
Have a look here: http://178.62.68.18/ and the sub page on the menu fails to be found.
thanks for response!
Posts: 6,267
Threads: 182
Joined: Sep 2011
your rewrites are not working
http://178.62.68.18/index.php?id=testimonials
Posts: 6
Threads: 1
Joined: Feb 2015
2015-02-10, 02:49:55
(This post was last modified: 2015-02-10, 02:51:48 by shaunybee.)
(2015-02-10, 02:47:58)shawn_a Wrote: your rewrites are not working
http://178.62.68.18/index.php?id=testimonials
Ah let me check the .htaccess then..
It says currently:
<IfModule mod_rewrite.c>
RewriteEngine on
# Usually 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]
</IfModule>
and this is the /var/www/html/.htaccess file ..
Should I change this?
Posts: 6
Threads: 1
Joined: Feb 2015
it doesnt appear to notice any changes to this htaccess file... any suggestions on what it should say in this redirect section? I have not installed in a sub-directory fyi. thanks in advance
Posts: 6,267
Threads: 182
Joined: Sep 2011
perhaps your apache is not setup to allow per directory htaccess
Posts: 6
Threads: 1
Joined: Feb 2015
OK fixed it! It was the ubuntu apache2 install - it had deny on overrides for the www location. I set it to allow ALL and it is now fine!
thanks for the help.
I had issues because I didnt know in ubuntu that the conf file is called apache2.conf and not httpd.conf like I am used to ...
Posts: 6,267
Threads: 182
Joined: Sep 2011
yeah how annoying is that, i had the same issue once, took me forever to figure out.
Posts: 6,267
Threads: 182
Joined: Sep 2011
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/1010
Posts: 6
Threads: 1
Joined: Feb 2015
tell me about it .. sorted and many thanks!
Posts: 1
Threads: 0
Joined: Feb 2015
Had the same issue. It's fix now. Thanks